Thaks for the reply.  All that makes sense.  My main point is that the
1.4.0-RC3 artifacts are broken.

I can look at creating a patch tomorrow.

Gary.

On Wed, Sep 1, 2010 at 12:09, Philip Zeyliger <[email protected]> wrote:
> This is https://issues.apache.org/jira/browse/AVRO-623.  Basically, the
> build system substitutes in a schema from a file for the @...@ string, which
> makes it impossible to run that python code from the source directory, which
> is poor form for python.  I don't know the best way to approach it: a simple
> approach would be to inline the schema and write a test case to check for
> equivalence to the repository file.
> If you have a chance to produce a patch, I'll be happy to shepherd it
> through.
> -- Philip
>
> On Wed, Sep 1, 2010 at 10:01 AM, Gary Dusbabek <[email protected]> wrote:
>>
>> (I posted this earlier before joining the list, thinking it would get
>> moderated in.)
>>
>> I might have found a bug in the artifacts at
>> http://people.apache.org/~cutting/avro-1.4.0-rc3/py.
>>
>> setup install ran cleanly.  Then when I went to run our (cassandra)
>> avro tests, I got this error:
>> <some snipped>
>> File "build/bdist.macosx-10.6-universal/egg/avro/ipc.py", line 35, in
>> <module>
>>  File "build/bdist.macosx-10.6-universal/egg/avro/schema.py", line
>> 702, in parse
>>   raise SchemaParseException('Error parsing JSON: %s' % json_string)
>> SchemaParseException: Error parsing JSON:
>> @HANDSHAKE_REQUEST_SCHEMA@
>>
>> I was able to work around this (thanks Eric!) by downloading the full
>> source, running ant from lang/py, and then run the python installer
>> from lang/py/build.  Basically, the artifacts don't include
>> lib/simplejson, and it looks like they should.
>>
>> Gary Dusbabek
>
>

Reply via email to