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

Doug Cutting commented on AVRO-1028:
------------------------------------

The failure is:


TEST: share/test/interop/rpc/add/onePlusOne
Traceback (most recent call last):
  File "lang/py/build/src/avro/tool.py", line 28, in <module>
    from avro import ipc
  File "/home/cutting/src/avro/trunk/lang/py/build/src/avro/ipc.py", line 20, 
in <module>
    from urllib3.connectionpool import HTTPConnectionPool
  File "/usr/local/lib/python2.7/dist-packages/urllib3/__init__.py", line 16, 
in <module>
    from .connectionpool import (
  File "/usr/local/lib/python2.7/dist-packages/urllib3/connectionpool.py", line 
42, in <module>
    from .request import RequestMethods
  File "/usr/local/lib/python2.7/dist-packages/urllib3/request.py", line 12, in 
<module>
    from .filepost import encode_multipart_formdata
  File "/usr/local/lib/python2.7/dist-packages/urllib3/filepost.py", line 15, 
in <module>
    from io import BytesIO
ImportError: cannot import name BytesIO

                
> IPC transceiver doesn't gracefully handle server connection resets.
> -------------------------------------------------------------------
>
>                 Key: AVRO-1028
>                 URL: https://issues.apache.org/jira/browse/AVRO-1028
>             Project: Avro
>          Issue Type: Improvement
>          Components: python
>    Affects Versions: 1.6.2
>            Reporter: Bo Shi
>            Assignee: Bo Shi
>             Fix For: 1.7.0
>
>         Attachments: AVRO-1028.patch
>
>
> The current Python HTTPTransceiver class forces users to handle connection 
> resets.
> I've refactored the class using urllib3 and incorporated some features we get 
> for free from said library into the transceiver.  Added a test case for 
> test_ipc.py that uses the twisted server implementation.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to