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

Russell Jurney commented on AVRO-565:
-------------------------------------

Miki, the problem is reproduced here: https://gist.github.com/2381748 and in an 
attached file.

In my use case, some emails don't contain charsets... so I can't convert them 
into unicode objects via decode() to make them play well with Avro. So Avro 
dies. I'd rather it throw an exception I can catch, and then continue to write 
the record, than stop mid-record.  Either that, or I would like the ability to 
remove the last Avro record written, in the Python Avro client.
                
> 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
>         Attachments: reproduce_avro_565.py
>
>
> Tyler B is seeing the following encoding error: 
> http://avro.pastebin.com/b4HSYjCz.

--
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