Hi all,
I have read this: Upgrade Guide
I do this:
> py2/bin/zodbverify -f py2/var/lexikon/filestorage/Data.fs -D
i get this traceback:
INFO:zodbverify:Scanning ZODB...
WARNING:Init:Class Products.CMFFormController.ControllerPythonScript.ControllerPythonScript has a security declaration for nonexistent method 'ZPythonScriptHTML_changePrefs'
WARNING:Init:Class Products.CMFFormController.ControllerValidator.ControllerValidator has a security declaration for nonexistent method 'ZPythonScriptHTML_changePrefs'
INFO:zodbverify:
Could not process <type 'BTrees.OIBTree.OISet'> record '\x00\x00\x00\x00\x00\x12X\n':
INFO:zodbverify:BTrees.OIBTree.OISet
INFO:zodbverify:'\x80\x02cBTrees.OIBTree\nOISet\nq\x01.\x80\x02(czope.location.interfaces\nILocation\nq\x02cplone.app.lockingbehavior.behaviors\nILocking\nq\x03cOFS.interfaces\nIManageable\nq\x04cProducts.CMFCore.interfaces._content\nIMinimalDublinCore\nq\x05cProducts.CMFCore.interfaces._content\nIMutableDublinCore\nq\x06cProducts.CMFCore.interfaces._content\nIMutableMinimalDublinCore\nq\x07cplone.app.content.interfaces\nINameFromTitle\nq\x08cProducts.CMFCore.interfaces._content\nIOpaqueItemManager\nq\tcAccessControl.interfaces\nIOwned\nq\ncAccessControl.interfaces\nIPermissionMappingSupport\nq\x0bcpersistent.interfaces\nIPersistent\nq\x0ccApp.interfaces\nIPersistentExtra\nq\rcOFS.interfaces\nIPropertyManager\nq\x0ecplone.app.relationfield.behavior\nIRelatedItems\nq\x0fcplone.app.contenttypes.behaviors.richtext\nIRichText\nq\x10cAccessControl.interfaces\nIRoleManager\nq\x11cplone.contentrules.engine.interfaces\nIRuleAssignable\nq\x12cProducts.CMFDynamicViewFTI.interfaces\nISelectableBrowserDefault\nq\x13cOFS.interfaces\nISimpleItem\nq\x14cProducts.CMFPlone.interfaces.syndication\nISyndicatable\nq\x15cplone.app.contenttypes.behaviors.collection\nISyndicatableCollection\nq\x16cplone.locking.interfaces\nITTWLockable\nq\x17cOFS.interfaces\nITraversable\nq\x18cplone.uuid.interfaces\nIUUIDAware\nq\x19cApp.interfaces\nIUndoSupport\nq\x1acProducts.CMFCore.interfaces._content\nIWorkflowAware\nq\x1bcwebdav.interfaces\nIWriteLock\nq\x1ccOFS.interfaces\nIZopeObject\nq\x1dczope.interface\nInterface\nq\x1ecplone.supermodel.model\nSchema\nq\x1fcplone.dexterity.schema.generated\nlexikon_4_lexikon_0_Collection\nq t\x85q!.'
INFO:zodbverify:Traceback (most recent call last):
File "/Development/Plone/coredev52multipy/src/zodbverify/src/zodbverify/verify.py", line 61, in verify_record
unpickler.load()
File "/Development/Plone/coredev52multipy/src/plone.alterego/plone/alterego/dynamic.py", line 26, in __getattr__
self.__name__,
AttributeError: Cannot find dynamic object factory for module plone.dexterity.schema.generated
0: \x80 PROTO 2
2: ( MARK
3: c GLOBAL 'zope.location.interfaces ILocation'
39: q BINPUT 2
41: c GLOBAL 'plone.app.lockingbehavior.behaviors ILocking'
87: q BINPUT 3
89: c GLOBAL 'OFS.interfaces IManageable'
117: q BINPUT 4
119: c GLOBAL 'Products.CMFCore.interfaces._content IMinimalDublinCore'
176: q BINPUT 5
178: c GLOBAL 'Products.CMFCore.interfaces._content IMutableDublinCore'
235: q BINPUT 6
237: c GLOBAL 'Products.CMFCore.interfaces._content IMutableMinimalDublinCore'
301: q BINPUT 7
303: c GLOBAL 'plone.app.content.interfaces INameFromTitle'
348: q BINPUT 8
350: c GLOBAL 'Products.CMFCore.interfaces._content IOpaqueItemManager'
407: q BINPUT 9
409: c GLOBAL 'AccessControl.interfaces IOwned'
442: q BINPUT 10
444: c GLOBAL 'AccessControl.interfaces IPermissionMappingSupport'
496: q BINPUT 11
498: c GLOBAL 'persistent.interfaces IPersistent'
533: q BINPUT 12
535: c GLOBAL 'App.interfaces IPersistentExtra'
568: q BINPUT 13
570: c GLOBAL 'OFS.interfaces IPropertyManager'
603: q BINPUT 14
605: c GLOBAL 'plone.app.relationfield.behavior IRelatedItems'
653: q BINPUT 15
655: c GLOBAL 'plone.app.contenttypes.behaviors.richtext IRichText'
708: q BINPUT 16
710: c GLOBAL 'AccessControl.interfaces IRoleManager'
749: q BINPUT 17
751: c GLOBAL 'plone.contentrules.engine.interfaces IRuleAssignable'
805: q BINPUT 18
807: c GLOBAL 'Products.CMFDynamicViewFTI.interfaces ISelectableBrowserDefault'
872: q BINPUT 19
874: c GLOBAL 'OFS.interfaces ISimpleItem'
902: q BINPUT 20
904: c GLOBAL 'Products.CMFPlone.interfaces.syndication ISyndicatable'
960: q BINPUT 21
962: c GLOBAL 'plone.app.contenttypes.behaviors.collection ISyndicatableCollection'
1031: q BINPUT 22
1033: c GLOBAL 'plone.locking.interfaces ITTWLockable'
1072: q BINPUT 23
1074: c GLOBAL 'OFS.interfaces ITraversable'
1103: q BINPUT 24
1105: c GLOBAL 'plone.uuid.interfaces IUUIDAware'
1139: q BINPUT 25
1141: c GLOBAL 'App.interfaces IUndoSupport'
1170: q BINPUT 26
1172: c GLOBAL 'Products.CMFCore.interfaces._content IWorkflowAware'
1225: q BINPUT 27
1227: c GLOBAL 'webdav.interfaces IWriteLock'
1257: q BINPUT 28
1259: c GLOBAL 'OFS.interfaces IZopeObject'
1287: q BINPUT 29
1289: c GLOBAL 'zope.interface Interface'
1315: q BINPUT 30
1317: c GLOBAL 'plone.supermodel.model Schema'
1348: q BINPUT 31
1350: c GLOBAL 'plone.dexterity.schema.generated lexikon_4_lexikon_0_Collection'
1415: q BINPUT 32
1417: t TUPLE (MARK at 2)
1418: \x85 TUPLE1
1419: q BINPUT 33
1421: . STOP
highest protocol among opcodes = 2
[3] > /Development/Plone/coredev52multipy/src/zodbverify/src/zodbverify/verify.py(82)verify_record()
-> msg = "{}: {}".format(e.__class__.__name__, str(e))
(Pdb++) c
INFO:zodbverify:
Could not process <type 'BTrees.OIBTree.OISet'> record '\x00\x00\x00\x00\x00\x12X\x0c':
INFO:zodbverify:BTrees.OIBTree.OISet
INFO:zodbverify:'\x80\x02cBTrees.OIBTree\nOISet\nq\x01.\x80\x02(czope.location.interfaces\nILocation\nq\x02cplone.app.lockingbehavior.behaviors\nILocking\nq\x03cOFS.interfaces\nIManageable\nq\x04cProducts.CMFCore.interfaces._content\nIMinimalDublinCore\nq\x05cProducts.CMFCore.interfaces._content\nIMutableDublinCore\nq\x06cProducts.CMFCore.interfaces._content\nIMutableMinimalDublinCore\nq\x07cplone.app.content.interfaces\nINameFromTitle\nq\x08cProducts.CMFCore.interfaces._content\nIOpaqueItemManager\nq\tcAccessControl.interfaces\nIOwned\nq\ncAccessControl.interfaces\nIPermissionMappingSupport\nq\x0bcpersistent.interfaces\nIPersistent\nq\x0ccApp.interfaces\nIPersistentExtra\nq\rcOFS.interfaces\nIPropertyManager\nq\x0ecplone.app.relationfield.behavior\nIRelatedItems\nq\x0fcplone.app.contenttypes.behaviors.richtext\nIRichText\nq\x10cAccessControl.interfaces\nIRoleManager\nq\x11cplone.contentrules.engine.interfaces\nIRuleAssignable\nq\x12cProducts.CMFDynamicViewFTI.interfaces\nISelectableBrowserDefault\nq\x13cOFS.interfaces\nISimpleItem\nq\x14cplone.locking.interfaces\nITTWLockable\nq\x15cplone.app.contenttypes.behaviors.tableofcontents\nITableOfContents\nq\x16cOFS.interfaces\nITraversable\nq\x17cplone.uuid.interfaces\nIUUIDAware\nq\x18cApp.interfaces\nIUndoSupport\nq\x19cProducts.CMFEditions.interfaces\nIVersioned\nq\x1acplone.app.versioningbehavior.behaviors\nIVersioningSupport\nq\x1bcProducts.CMFCore.interfaces._content\nIWorkflowAware\nq\x1ccwebdav.interfaces\nIWriteLock\nq\x1dcOFS.interfaces\nIZopeObject\nq\x1eczope.interface\nInterface\nq\x1fcplone.supermodel.model\nSchema\nq cplone.dexterity.schema.generated\nlexikon_4_lexikon_0_Document\nq!t\x85q".'
INFO:zodbverify:Traceback (most recent call last):
File "/Development/Plone/coredev52multipy/src/zodbverify/src/zodbverify/verify.py", line 61, in verify_record
unpickler.load()
File "/Development/Plone/coredev52multipy/src/plone.alterego/plone/alterego/dynamic.py", line 26, in __getattr__
self.__name__,
AttributeError: Cannot find dynamic object factory for module plone.dexterity.schema.generated
0: \x80 PROTO 2
2: ( MARK
3: c GLOBAL 'zope.location.interfaces ILocation'
39: q BINPUT 2
41: c GLOBAL 'plone.app.lockingbehavior.behaviors ILocking'
87: q BINPUT 3
89: c GLOBAL 'OFS.interfaces IManageable'
117: q BINPUT 4
119: c GLOBAL 'Products.CMFCore.interfaces._content IMinimalDublinCore'
176: q BINPUT 5
178: c GLOBAL 'Products.CMFCore.interfaces._content IMutableDublinCore'
235: q BINPUT 6
237: c GLOBAL 'Products.CMFCore.interfaces._content IMutableMinimalDublinCore'
301: q BINPUT 7
303: c GLOBAL 'plone.app.content.interfaces INameFromTitle'
348: q BINPUT 8
350: c GLOBAL 'Products.CMFCore.interfaces._content IOpaqueItemManager'
407: q BINPUT 9
409: c GLOBAL 'AccessControl.interfaces IOwned'
442: q BINPUT 10
444: c GLOBAL 'AccessControl.interfaces IPermissionMappingSupport'
496: q BINPUT 11
498: c GLOBAL 'persistent.interfaces IPersistent'
533: q BINPUT 12
535: c GLOBAL 'App.interfaces IPersistentExtra'
568: q BINPUT 13
570: c GLOBAL 'OFS.interfaces IPropertyManager'
603: q BINPUT 14
605: c GLOBAL 'plone.app.relationfield.behavior IRelatedItems'
653: q BINPUT 15
655: c GLOBAL 'plone.app.contenttypes.behaviors.richtext IRichText'
708: q BINPUT 16
710: c GLOBAL 'AccessControl.interfaces IRoleManager'
749: q BINPUT 17
751: c GLOBAL 'plone.contentrules.engine.interfaces IRuleAssignable'
805: q BINPUT 18
807: c GLOBAL 'Products.CMFDynamicViewFTI.interfaces ISelectableBrowserDefault'
872: q BINPUT 19
874: c GLOBAL 'OFS.interfaces ISimpleItem'
902: q BINPUT 20
904: c GLOBAL 'plone.locking.interfaces ITTWLockable'
943: q BINPUT 21
945: c GLOBAL 'plone.app.contenttypes.behaviors.tableofcontents ITableOfContents'
1012: q BINPUT 22
1014: c GLOBAL 'OFS.interfaces ITraversable'
1043: q BINPUT 23
1045: c GLOBAL 'plone.uuid.interfaces IUUIDAware'
1079: q BINPUT 24
1081: c GLOBAL 'App.interfaces IUndoSupport'
1110: q BINPUT 25
1112: c GLOBAL 'Products.CMFEditions.interfaces IVersioned'
1156: q BINPUT 26
1158: c GLOBAL 'plone.app.versioningbehavior.behaviors IVersioningSupport'
1217: q BINPUT 27
1219: c GLOBAL 'Products.CMFCore.interfaces._content IWorkflowAware'
1272: q BINPUT 28
1274: c GLOBAL 'webdav.interfaces IWriteLock'
1304: q BINPUT 29
1306: c GLOBAL 'OFS.interfaces IZopeObject'
1334: q BINPUT 30
1336: c GLOBAL 'zope.interface Interface'
1362: q BINPUT 31
1364: c GLOBAL 'plone.supermodel.model Schema'
1395: q BINPUT 32
1397: c GLOBAL 'plone.dexterity.schema.generated lexikon_4_lexikon_0_Document'
1460: q BINPUT 33
1462: t TUPLE (MARK at 2)
1463: \x85 TUPLE1
1464: q BINPUT 34
1466: . STOP
highest protocol among opcodes = 2
[3] > /Development/Plone/coredev52multipy/src/zodbverify/src/zodbverify/verify.py(82)verify_record()
-> msg = "{}: {}".format(e.__class__.__name__, str(e))
(Pdb++) c
INFO:zodbverify:Done! Scanned 251029 records.
Found 2 records that could not be loaded.
Exceptions and how often they happened:
AttributeError: Cannot find dynamic object factory for module plone.dexterity.schema.generated: 2
My Question: What is the next Step? How can i find the Object wich produce this Error. I' not so familiar with low-level Zope. Have anyone a hint? This my first Attempt of an Inline Migration to Py3 and i have a lot of Sites for which I have to do that.