[Zope3-Users] Re: KeyError: Surrogate

Florent Guillaume fg at nuxeo.com
Sat Apr 29 11:56:27 EDT 2006


David Pratt wrote:
> Hi Bernd. Personally, I think zope and twisted is a good combination. 
> Are you still running twisted in your installation or are you using 
> zserver for your instances? Had you posted on twisted list to see if 
> this triggered any discussion?
> 
> I am wondering what it means by surrogate? As in codec surrogate? If 
> this were the case, I wonder why it would not be a decoding error you 
> would receive instead. One kind of surrogate issue is when you have an 
> incomplete byte sequence for a character in a codec. I found this 
> explanation of a problem that appeared in an earlier version of python...

Except that this has nothing to do with unicode. The traceback is pretty 
clear that this has to do with the Surrogates that are part of the 
implementation of zope.interfaces.

Florent

-- 
Florent Guillaume, Nuxeo (Paris, France)   Director of R&D
+33 1 40 33 71 59   http://nuxeo.com   fg at nuxeo.com


More information about the Zope3-users mailing list