avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom White (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AVRO-64) testipc.py failure: "error: (57, 'Socket is not connected')"
Date Tue, 07 Jul 2009 10:15:14 GMT

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

Tom White commented on AVRO-64:
-------------------------------

With the patch I get a different failure (on Mac OS X 10.5.6):

{noformat}
test-py:
testio.py
testioreflect.py
testipc.py
testipcreflect.py
Modules: 'testio','testio','testioreflect','testipc','testipcreflect'
Non-null modules arg. creating script
pythonpath: /Users/tom/workspace/avro-trunk/src/py:/Users/tom/workspace/avro-trunk/src/test/py:/Users/tom/workspace/avro-trunk/lib/py
  [py-test] ................................EE
  [py-test] ======================================================================
  [py-test] ERROR: testipc (testipc.TestProtocol)
  [py-test] ----------------------------------------------------------------------
  [py-test] Traceback (most recent call last):
  [py-test]   File "/Users/tom/workspace/avro-trunk/src/test/py/testipc.py", line 57, in testipc
  [py-test]     self.checkhello()
  [py-test]   File "/Users/tom/workspace/avro-trunk/src/test/py/testipc.py", line 75, in checkhello
  [py-test]     resp = self.requestor.request('hello', params)
  [py-test]   File "/Users/tom/workspace/avro-trunk/src/py/avro/ipc.py", line 120, in request
  [py-test]     encoder.writeutf8(m.getname())
  [py-test]   File "/Users/tom/workspace/avro-trunk/src/py/avro/io.py", line 193, in writeutf8
  [py-test]     "avro STRING should be python unicode")
  [py-test] AvroTypeException: avro STRING should be python unicode
  [py-test] 
  [py-test] ======================================================================
  [py-test] ERROR: testipc (testipcreflect.TestProtocol)
  [py-test] ----------------------------------------------------------------------
  [py-test] Traceback (most recent call last):
  [py-test]   File "/Users/tom/workspace/avro-trunk/src/test/py/testipc.py", line 57, in testipc
  [py-test]     self.checkhello()
  [py-test]   File "/Users/tom/workspace/avro-trunk/src/test/py/testipcreflect.py", line 57,
in checkhello
  [py-test]     resp = self.proxy.hello(unicode("bob"))
  [py-test]   File "/Users/tom/workspace/avro-trunk/src/py/avro/reflectipc.py", line 37, in
__call__
  [py-test]     return self.requestor.request(self.methodname, args)
  [py-test]   File "/Users/tom/workspace/avro-trunk/src/py/avro/ipc.py", line 120, in request
  [py-test]     encoder.writeutf8(m.getname())
  [py-test]   File "/Users/tom/workspace/avro-trunk/src/py/avro/io.py", line 193, in writeutf8
  [py-test]     "avro STRING should be python unicode")
  [py-test] AvroTypeException: avro STRING should be python unicode
  [py-test] 
  [py-test] ----------------------------------------------------------------------
  [py-test] Socket server starting on  ('127.0.0.1', 55486)
  [py-test] Ran 34 tests in 0.315s
  [py-test] 
  [py-test] FAILED (errors=2)
  [py-test] Connected by ('127.0.0.1', 55487)
  [py-test] Exception while closing socket (57, 'Socket is not connected')
  [py-test] Socket server starting on  ('127.0.0.1', 55488)
  [py-test] Connected by ('127.0.0.1', 55489)
  [py-test] Exception while closing socket (57, 'Socket is not connected')
{noformat}

> testipc.py failure: "error: (57, 'Socket is not connected')"
> ------------------------------------------------------------
>
>                 Key: AVRO-64
>                 URL: https://issues.apache.org/jira/browse/AVRO-64
>             Project: Avro
>          Issue Type: Bug
>          Components: python
>         Environment: Mac OS X 10.5.7, Java SE 1.6.0_13, Avro svn revision 788481
>            Reporter: George Porter
>         Attachments: 64_v1.patch
>
>
> The Avro trunk fails when running "ant test" on Mac OS X 10.5.7 (running Java SE 1.6.0_13)
inside of testipc.TestProtocol and testipcreflect.TestProtocol.  The error message is "error:
(57, 'Socket is not connected')".

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


Mime
View raw message