avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Hammerbacher (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AVRO-565) Investigate Python encoding error
Date Sun, 06 Jun 2010 03:03:57 GMT

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

Jeff Hammerbacher commented on AVRO-565:

Copying the error here in case the pastebin expires:

  File "/usr/local/lib/python2.6/site-packages/avro/ipc.py", line 134, in request
    self.write_call_request(message_name, request_datum, buffer_encoder)
  File "/usr/local/lib/python2.6/site-packages/avro/ipc.py", line 181, in write_call_request
    self.write_request(message.request, request_datum, encoder)
  File "/usr/local/lib/python2.6/site-packages/avro/ipc.py", line 185, in write_request
    datum_writer.write(request_datum, encoder)
  File "/usr/local/lib/python2.6/site-packages/avro/io.py", line 720, in write
    self.write_data(self.writers_schema, datum, encoder)
  File "/usr/local/lib/python2.6/site-packages/avro/io.py", line 755, in write_data
    self.write_record(writers_schema, datum, encoder)
  File "/usr/local/lib/python2.6/site-packages/avro/io.py", line 843, in write_record
    self.write_data(field.type, datum.get(field.name), encoder)
  File "/usr/local/lib/python2.6/site-packages/avro/io.py", line 753, in write_data
    self.write_union(writers_schema, datum, encoder)
  File "/usr/local/lib/python2.6/site-packages/avro/io.py", line 833, in write_union
    self.write_data(writers_schema.schemas[index_of_schema], datum, encoder)
  File "/usr/local/lib/python2.6/site-packages/avro/io.py", line 733, in write_data
  File "/usr/local/lib/python2.6/site-packages/avro/io.py", line 328, in write_utf8
    datum = datum.encode("utf-8")
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 6: ordinal not in range(128)

> Investigate Python encoding error
> ---------------------------------
>                 Key: AVRO-565
>                 URL: https://issues.apache.org/jira/browse/AVRO-565
>             Project: Avro
>          Issue Type: Bug
>          Components: python
>            Reporter: Jeff Hammerbacher
> Tyler B is seeing the following encoding error: http://avro.pastebin.com/b4HSYjCz.

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

View raw message