[ZCM] [ZC] 1899/ 1 Request "catalogs in .zexp from 2.7 dont import
in 2.8"
Collector: Zope Bugs, Features,
and Patches ...
zope-coders-admin at zope.org
Wed Sep 14 02:18:22 EDT 2005
Issue #1899 Update (Request) "catalogs in .zexp from 2.7 dont import in 2.8"
Status Pending, Zope/bug medium
To followup, visit:
http://www.zope.org/Collectors/Zope/1899
==============================================================
= Request - Entry #1 by runyaga on Sep 14, 2005 2:18 am
Uploaded: "UnIndex.py.diff"
- http://www.zope.org/Collectors/Zope/1899/UnIndex.py.diff/view
In Zope 2.8 you are recommeneded to run covertIndexes on all
catalogs. But if you export a catalog from 2.7 and import it
into 2.8 - there is no way to run covertIndexes. What seems
to bomb is in PluginInxes/common/UnIndex.py where the internal
state of the indexes are referring to _length for BTrees.Length.Length
but the older indexes attribute is __len__. So we have to try/except AttrError
around this and migrate in-place.
NOTE: after I imported I still had to run catalog/manage_convertIndexes
==============================================================
More information about the Zope-Collector-Monitor
mailing list