[Zope] Storing unicode in ZODB objects

Andreas Jung lists at zopyx.com
Sun Dec 14 02:19:51 EST 2008


On 14.12.2008 1:13 Uhr, Thibaud Morel l'Horset wrote:
> Hello,
>
> I'm trying to store strings with certain unicode characters that don't
> convert to ascii in the ZODB. Specifically, as a file object and as
> properties of that file object. I get the following errors (from a script):
>
> *Error Type: AttributeError*
> *Error Value: 'unicode' object has no attribute 'seek'*
>
>

First we need a full traceback. Second, it does not make sense to 
persistent file objects within the ZODB. Objects must be pickleable.

-aj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lists.vcf
Type: text/x-vcard
Size: 316 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20081214/3eaccb3d/attachment.vcf 


More information about the Zope mailing list