You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Matt Massie (JIRA)" <ji...@apache.org> on 2009/07/03 22:30:47 UTC
[jira] Created: (AVRO-73) Python Tests fail on MacOS X
Python Tests fail on MacOS X
----------------------------
Key: AVRO-73
URL: https://issues.apache.org/jira/browse/AVRO-73
Project: Avro
Issue Type: Sub-task
Reporter: Matt Massie
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
Re: [jira] Commented: (AVRO-73) Python Tests fail on MacOS X
Posted by George Porter <Ge...@Sun.COM>.
I use python 2.5.1 on Mac OS X 10.5.7, and do not get this error.
I do get a different error when I run the unit tests related to the
socket "not being connected", which I filed as AVRO-64
-George
On Jul 4, 2009, at 9:42 AM, Doug Cutting (JIRA) wrote:
>
> [ https://issues.apache.org/jira/browse/AVRO-73?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12727256
> #action_12727256 ]
>
> Doug Cutting commented on AVRO-73:
> ----------------------------------
>
> Should this be a 1.0.0 blocker? Do we think this is related to OS X
> or Python 2.5.1? I use Linux and Python 2.6.2 and do not see this,
> and our README.txt says things should work with Python 2.5 or greater.
>
>> Python Tests fail on MacOS X
>> ----------------------------
>>
>> Key: AVRO-73
>> URL: https://issues.apache.org/jira/browse/AVRO-73
>> Project: Avro
>> Issue Type: Sub-task
>> Reporter: Matt Massie
>>
>
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
[George.Porter@Sun.com][+1.858.320.9932]
[Principal Investigator][Project BigData][Sun Labs]
[twitter.com/SunLabsBigData][blogs.sun.com/george]
[jira] Commented: (AVRO-73) Python Tests fail on MacOS X
Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AVRO-73?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12727256#action_12727256 ]
Doug Cutting commented on AVRO-73:
----------------------------------
Should this be a 1.0.0 blocker? Do we think this is related to OS X or Python 2.5.1? I use Linux and Python 2.6.2 and do not see this, and our README.txt says things should work with Python 2.5 or greater.
> Python Tests fail on MacOS X
> ----------------------------
>
> Key: AVRO-73
> URL: https://issues.apache.org/jira/browse/AVRO-73
> Project: Avro
> Issue Type: Sub-task
> Reporter: Matt Massie
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (AVRO-73) Python Tests fail on MacOS X
Posted by "Sharad Agarwal (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AVRO-73?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12727478#action_12727478 ]
Sharad Agarwal commented on AVRO-73:
------------------------------------
In my last comment, I used python 2.5.1 on Mac.
Matei, Tom - Which version of mac OS you are seeing this problem on?
> Python Tests fail on MacOS X
> ----------------------------
>
> Key: AVRO-73
> URL: https://issues.apache.org/jira/browse/AVRO-73
> Project: Avro
> Issue Type: Sub-task
> Reporter: Matt Massie
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (AVRO-73) Python Tests fail on MacOS X
Posted by "Sharad Agarwal (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AVRO-73?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sharad Agarwal updated AVRO-73:
-------------------------------
Attachment: 73_v1.patch
The problem appears to be with simplejson parser on some platforms. http://code.google.com/p/simplejson/issues/detail?id=40
Tom/Matei, can you try applying this patch, if it fixes the problem? I can't reproduce so can't test.
> Python Tests fail on MacOS X
> ----------------------------
>
> Key: AVRO-73
> URL: https://issues.apache.org/jira/browse/AVRO-73
> Project: Avro
> Issue Type: Sub-task
> Reporter: Matt Massie
> Attachments: 73_v1.patch
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (AVRO-73) Python Tests fail on MacOS X
Posted by "Sharad Agarwal (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AVRO-73?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12727475#action_12727475 ]
Sharad Agarwal commented on AVRO-73:
------------------------------------
I run linux and tests run on fine it. I got hold of Mac OS X 10.5.7 to test this. I could not reproduce this. However I got same error as reported in Avro-64.
> Python Tests fail on MacOS X
> ----------------------------
>
> Key: AVRO-73
> URL: https://issues.apache.org/jira/browse/AVRO-73
> Project: Avro
> Issue Type: Sub-task
> Reporter: Matt Massie
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (AVRO-73) Python Tests fail on MacOS X
Posted by "Sharad Agarwal (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AVRO-73?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sharad Agarwal resolved AVRO-73.
--------------------------------
Resolution: Fixed
Fix Version/s: 1.0.0
Assignee: Sharad Agarwal
I committed this. Thanks Tom and Matei for testing.
> Python Tests fail on MacOS X
> ----------------------------
>
> Key: AVRO-73
> URL: https://issues.apache.org/jira/browse/AVRO-73
> Project: Avro
> Issue Type: Sub-task
> Reporter: Matt Massie
> Assignee: Sharad Agarwal
> Fix For: 1.0.0
>
> Attachments: 73_v1.patch
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (AVRO-73) Python Tests fail on MacOS X
Posted by "Tom White (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AVRO-73?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12727487#action_12727487 ]
Tom White commented on AVRO-73:
-------------------------------
This patch fixes the problem for me (Mac OS X 10.5.6, Python 2.5.1). Just hitting AVRO-64 now.
Thanks Sharad.
> Python Tests fail on MacOS X
> ----------------------------
>
> Key: AVRO-73
> URL: https://issues.apache.org/jira/browse/AVRO-73
> Project: Avro
> Issue Type: Sub-task
> Reporter: Matt Massie
> Attachments: 73_v1.patch
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (AVRO-73) Python Tests fail on MacOS X
Posted by "Matt Massie (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AVRO-73?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12727123#action_12727123 ]
Matt Massie commented on AVRO-73:
---------------------------------
Reported by Matei Zaharia and Tom White...
For me, the Python tests are failing using Python 2.5.1 on Mac OS X. The
error is as follows:
testipcreflect.py
Modules: 'testio','testio','testioreflect','testipc','testipcreflect'
Non-null modules arg. creating script
pythonpath:
/Users/matei/workspace/avro-1.0.0-rc1/src/py:/Users/matei/workspace/avro-1.0.0-rc1/src/test/py:/Users/matei/workspace/avro-1.0.0-rc1/lib/py
[py-test] Traceback (most recent call last):
[py-test] File "<stdin>", line 2, in <module>
[py-test] File
"/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/unittest.py",
line 767, in __init__
[py-test] self.parseArgs(argv)
[py-test] File
"/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/unittest.py",
line 794, in parseArgs
[py-test] self.createTests()
[py-test] File
"/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/unittest.py",
line 800, in createTests
[py-test] self.module)
[py-test] File
"/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/unittest.py",
line 565, in loadTestsFromNames
[py-test] suites = [self.loadTestsFromName(name, module) for name in
names]
[py-test] File
"/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/unittest.py",
line 533, in loadTestsFromName
[py-test] module = __import__('.'.join(parts_copy))
[py-test] File
"/Users/matei/workspace/avro-1.0.0-rc1/src/test/py/testipc.py", line 19, in
<module>
[py-test] import avro.ipc as ipc
[py-test] File
"/Users/matei/workspace/avro-1.0.0-rc1/src/py/avro/ipc.py", line 63, in
<module>
[py-test] "HandshakeRequest.avsc").read())
[py-test] File
"/Users/matei/workspace/avro-1.0.0-rc1/src/py/avro/schema.py", line 521, in
parse
[py-test] return _parse(dict, _Names())
[py-test] File
"/Users/matei/workspace/avro-1.0.0-rc1/src/py/avro/schema.py", line 483, in
_parse
[py-test] fields[fieldname] = Field(fieldname, _parse(fieldtype,
names),
[py-test] File
"/Users/matei/workspace/avro-1.0.0-rc1/src/py/avro/schema.py", line 509, in
_parse
[py-test] elemtypes.append(_parse(elemtype, names))
[py-test] File
"/Users/matei/workspace/avro-1.0.0-rc1/src/py/avro/schema.py", line 512, in
_parse
[py-test] raise SchemaParseException("Schema not yet supported:" +
obj.__str__())
[py-test] avro.schema.SchemaParseException: Schema not yet supported:null
> Python Tests fail on MacOS X
> ----------------------------
>
> Key: AVRO-73
> URL: https://issues.apache.org/jira/browse/AVRO-73
> Project: Avro
> Issue Type: Sub-task
> Reporter: Matt Massie
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.