Hi All,

Interesting problem with an OOBTree, in this case the _index attribute of a FieldIndex in a Zope 2.7.3 instance.

doing self._index.get('tÚst') (you can get the Ú by doing Alt Gr - e ;-) resulted in a UnicodeDecodeError.

The bizarre thing is that:
t = OOBTree()
t.get('tÚst')
returns None as opposed to raising the exception, which is what I'd expect.

Looking at the keys of the defective btree showed keys that were a mixture of strings and unicodes.

Any idea as to what could be causing this?

cheers,

Chris


-- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk _______________________________________________ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev

Reply via email to