You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Jeff Hodges (JIRA)" <ji...@apache.org> on 2010/04/02 06:52:27 UTC

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

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.


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

Posted by "Jeff Hammerbacher (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "Jeff Hammerbacher (JIRA)" <ji...@apache.org>.
    [ 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.


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

Posted by "Jeff Hammerbacher (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "Jeff Hammerbacher (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "Jeff Hammerbacher (JIRA)" <ji...@apache.org>.
     [ 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.