Ken Ara wrote at 2007-5-4 14:18 -0700:
> ...
>Could the solution be to redefine this product into
>something really simple and then kill it off? 

There are receipes around how to get rid of objects that are
not deletable by normal ways. Usually, they help to delete objects
that cause "POSKeyError"s but they can also be used for otherwise
"broken" objects.

Of course, you would lose the content of these old "BTree" objects.

> ...
>    * Module Products.BTreeFolder2.BTreeFolder2, line
>368, in objectValues
>    * Module Products.BTreeFolder2.BTreeFolder2, line
>347, in objectIds
>AttributeError: 'NoneType' object has no attribute

This exception does not look as if caused by an old "BTree".

Check for what object "keys" is called and ensure that it is
not "None".

I expect that the object is "_tree" and that it is "None" because
you did not call the "BTreeFolder2.__init__".
Call "BTreeFolder2.__init__" on the "BTreeFolder2" instance
and this problem should go away.

Zope maillist  -
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to