On Wed, Oct 27, 2010 at 6:45 PM, Jim Fulton <j...@zope.com> wrote:
> If not, I wonder if the existing indexes have some bad values in
> them that are triggering this somehow.  The relevant check is being done
> when loading state.  I bet you have some bad keys (e.g. None) in your
> data structures. Could you check that?  If this is what's happening, then
> I think the warning is useful.  For 3.11 though (aka trunk) I'll
> rearrange things
> so the check isn't performed when loading state.

Aha. I haven't looked into all the cases, but I did find a None value
in the two examples I checked.

So in an OOTree with string keys, None is considered invalid and would
need to be an empty string?

For more information about ZODB, see the ZODB Wiki:

ZODB-Dev mailing list  -  ZODB-Dev@zope.org

Reply via email to