[Zope3-Users] Re: zope.schema Question

Tim Cook timothywayne.cook at gmail.com
Mon Jul 7 10:24:07 EDT 2008


Answering my own questions:

On Mon, 2008-07-07 at 10:20 -0300, Tim Cook wrote:

> All of my source files have the unicode declaration:
> # -*- coding: utf-8 -*-  as the first line. 
> 
> Do those strings inside the list have to be marked as unicode? for
> example:
> [([u'include', ([([u'archetype_id/value', ([u'/disposition\\.v1draft/'],
> {})], {})], {})], {})]
> 

After flattening the nested construct and unicode converting the
strings:
[u'include', u'archetype_id/value', u'/disposition\\.v1draft/']

Same problem.


> If so; if I remove the unicode declaration will that prevent this error?
Nope!

Now I don't know where to search for the problem.

Any ideas?


-- 
Timothy Cook, MSc
Health Informatics Research & Development Services
LinkedIn Profile:http://www.linkedin.com/in/timothywaynecook 
Skype ID == timothy.cook 
**************************************************************
*You may get my Public GPG key from  popular keyservers or   *
*from this link http://timothywayne.cook.googlepages.com/home*
**************************************************************
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://mail.zope.org/pipermail/zope3-users/attachments/20080707/24e761f8/attachment.bin


More information about the Zope3-users mailing list