[jira] Created: (AVRO-496) python sample_http_client.py is broken

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (AVRO-496) python sample_http_client.py is broken

Dave Cole (Jira)
python sample_http_client.py is broken
--------------------------------------

                 Key: AVRO-496
                 URL: https://issues.apache.org/jira/browse/AVRO-496
             Project: Avro
          Issue Type: Bug
          Components: python
            Reporter: Jeff Hodges


sample_http_client.py is currently borked.

{quote}
→  PYTHONPATH=src python test/sample_http_client.py jane jeff hello 1
Traceback (most recent call last):
  File "test/sample_http_client.py", line 89, in <module>
    requestor = make_requestor(SERVER_HOST, SERVER_PORT, MAIL_PROTOCOL)
  File "test/sample_http_client.py", line 64, in make_requestor
    client = ipc.HTTPTransceiver(conn)
TypeError: __init__() takes exactly 3 arguments (2 given)
{quote}

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (AVRO-496) python sample_http_client.py is broken

Dave Cole (Jira)

    [ https://issues.apache.org/jira/browse/AVRO-496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12853202#action_12853202 ]

Jeff Hammerbacher commented on AVRO-496:
----------------------------------------

Yeah Eric changed the API for the request object in a previous checkin; I changed tool.py but not this code. Will check in a change shortly.

> python sample_http_client.py is broken
> --------------------------------------
>
>                 Key: AVRO-496
>                 URL: https://issues.apache.org/jira/browse/AVRO-496
>             Project: Avro
>          Issue Type: Bug
>          Components: python
>            Reporter: Jeff Hodges
>            Assignee: Jeff Hammerbacher
>
> sample_http_client.py is currently borked.
> {quote}
> →  PYTHONPATH=src python test/sample_http_client.py jane jeff hello 1
> Traceback (most recent call last):
>   File "test/sample_http_client.py", line 89, in <module>
>     requestor = make_requestor(SERVER_HOST, SERVER_PORT, MAIL_PROTOCOL)
>   File "test/sample_http_client.py", line 64, in make_requestor
>     client = ipc.HTTPTransceiver(conn)
> TypeError: __init__() takes exactly 3 arguments (2 given)
> {quote}

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Assigned: (AVRO-496) python sample_http_client.py is broken

Dave Cole (Jira)
In reply to this post by Dave Cole (Jira)

     [ https://issues.apache.org/jira/browse/AVRO-496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeff Hammerbacher reassigned AVRO-496:
--------------------------------------

    Assignee: Jeff Hammerbacher

> python sample_http_client.py is broken
> --------------------------------------
>
>                 Key: AVRO-496
>                 URL: https://issues.apache.org/jira/browse/AVRO-496
>             Project: Avro
>          Issue Type: Bug
>          Components: python
>            Reporter: Jeff Hodges
>            Assignee: Jeff Hammerbacher
>
> sample_http_client.py is currently borked.
> {quote}
> →  PYTHONPATH=src python test/sample_http_client.py jane jeff hello 1
> Traceback (most recent call last):
>   File "test/sample_http_client.py", line 89, in <module>
>     requestor = make_requestor(SERVER_HOST, SERVER_PORT, MAIL_PROTOCOL)
>   File "test/sample_http_client.py", line 64, in make_requestor
>     client = ipc.HTTPTransceiver(conn)
> TypeError: __init__() takes exactly 3 arguments (2 given)
> {quote}

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (AVRO-496) python sample_http_client.py is broken

Dave Cole (Jira)
In reply to this post by Dave Cole (Jira)

     [ https://issues.apache.org/jira/browse/AVRO-496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeff Hammerbacher updated AVRO-496:
-----------------------------------

    Fix Version/s: 1.4.0
           Status: Patch Available  (was: Open)

> python sample_http_client.py is broken
> --------------------------------------
>
>                 Key: AVRO-496
>                 URL: https://issues.apache.org/jira/browse/AVRO-496
>             Project: Avro
>          Issue Type: Bug
>          Components: python
>            Reporter: Jeff Hodges
>            Assignee: Jeff Hammerbacher
>             Fix For: 1.4.0
>
>         Attachments: AVRO-496.patch
>
>
> sample_http_client.py is currently borked.
> {quote}
> →  PYTHONPATH=src python test/sample_http_client.py jane jeff hello 1
> Traceback (most recent call last):
>   File "test/sample_http_client.py", line 89, in <module>
>     requestor = make_requestor(SERVER_HOST, SERVER_PORT, MAIL_PROTOCOL)
>   File "test/sample_http_client.py", line 64, in make_requestor
>     client = ipc.HTTPTransceiver(conn)
> TypeError: __init__() takes exactly 3 arguments (2 given)
> {quote}

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (AVRO-496) python sample_http_client.py is broken

Dave Cole (Jira)
In reply to this post by Dave Cole (Jira)

     [ https://issues.apache.org/jira/browse/AVRO-496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeff Hammerbacher updated AVRO-496:
-----------------------------------

    Attachment: AVRO-496.patch

Simple fix.

> python sample_http_client.py is broken
> --------------------------------------
>
>                 Key: AVRO-496
>                 URL: https://issues.apache.org/jira/browse/AVRO-496
>             Project: Avro
>          Issue Type: Bug
>          Components: python
>            Reporter: Jeff Hodges
>            Assignee: Jeff Hammerbacher
>             Fix For: 1.4.0
>
>         Attachments: AVRO-496.patch
>
>
> sample_http_client.py is currently borked.
> {quote}
> →  PYTHONPATH=src python test/sample_http_client.py jane jeff hello 1
> Traceback (most recent call last):
>   File "test/sample_http_client.py", line 89, in <module>
>     requestor = make_requestor(SERVER_HOST, SERVER_PORT, MAIL_PROTOCOL)
>   File "test/sample_http_client.py", line 64, in make_requestor
>     client = ipc.HTTPTransceiver(conn)
> TypeError: __init__() takes exactly 3 arguments (2 given)
> {quote}

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (AVRO-496) python sample_http_client.py is broken

Dave Cole (Jira)
In reply to this post by Dave Cole (Jira)

     [ https://issues.apache.org/jira/browse/AVRO-496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeff Hammerbacher updated AVRO-496:
-----------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Committed revision 930774.

Thanks for finding, Jeff!

> python sample_http_client.py is broken
> --------------------------------------
>
>                 Key: AVRO-496
>                 URL: https://issues.apache.org/jira/browse/AVRO-496
>             Project: Avro
>          Issue Type: Bug
>          Components: python
>            Reporter: Jeff Hodges
>            Assignee: Jeff Hammerbacher
>             Fix For: 1.4.0
>
>         Attachments: AVRO-496.patch
>
>
> sample_http_client.py is currently borked.
> {quote}
> →  PYTHONPATH=src python test/sample_http_client.py jane jeff hello 1
> Traceback (most recent call last):
>   File "test/sample_http_client.py", line 89, in <module>
>     requestor = make_requestor(SERVER_HOST, SERVER_PORT, MAIL_PROTOCOL)
>   File "test/sample_http_client.py", line 64, in make_requestor
>     client = ipc.HTTPTransceiver(conn)
> TypeError: __init__() takes exactly 3 arguments (2 given)
> {quote}

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.