I am getting this error while migrating python2.7 , plone 5.2.12 version database on to 6.0.11 version. Here is the command, I used to verify the migration is possible.
> bin/zodbupdate -f var/filestorage/Data.fs --convert-py3 --encoding utf-8
It is showing the below errors.
Updating magic marker for var/filestorage/Data.fs
Loaded 1 rename rules from OFS:renames
Loaded 13 decode rules from OFS:decodes
Loaded 2 decode rules from AccessControl:decodes
Loaded 3 decode rules from Products.PythonScripts:decodes
Loaded 1 decode rules from Products.ZopeVersionControl:decodes
Warning: Missing factory for Products.ZODBMountPoint.MountedObject MountedObject
Warning: Missing factory for Products.CMFPlone.QuickInstallerTool QuickInstallerTool
Warning: Missing factory for Products.CMFFormController.FormController FormController
Warning: Missing factory for Products.CMFQuickInstallerTool.InstalledProduct InstalledProduct
Warning: Missing factory for Products.CMFFormController.FormAction FormActionContainer
Warning: Missing factory for Products.CMFFormController.FormValidator FormValidatorContainer
New implicit rule detected Products.CMFPlone.interfaces.siteroot IPloneSiteRoot to plone.base.interfaces.siteroot IPloneSiteRoot
New implicit rule detected Products.CMFPlone.interfaces.migration IMigrationTool to plone.base.interfaces.migration IMigrationTool
An error occured
Traceback (most recent call last):
File "/home/webadmin/classicui/eggs/zodbupdate-2.0-py3.8.egg/zodbupdate/main.py", line 220, in main
updater()
File "/home/webadmin/classicui/eggs/zodbupdate-2.0-py3.8.egg/zodbupdate/update.py", line 87, in __call__
new = self.processor.rename(current)
File "/home/webadmin/classicui/eggs/zodbupdate-2.0-py3.8.egg/zodbupdate/serialize.py", line 335, in rename
data = unpickler.load()
File "/home/webadmin/classicui/eggs/ZODB-5.8.1-py3.8.egg/ZODB/broken.py", line 261, in rebuild
return class_.__new__(class_, *args)
TypeError: function.__new__(X): X is not a type object (function)
Stopped processing, due to: function.__new__(X): X is not a type object (function)
Traceback (most recent call last):
File "/home/webadmin/classicui/eggs/zodbupdate-2.0-py3.8.egg/zodbupdate/main.py", line 220, in main
updater()
File "/home/webadmin/classicui/eggs/zodbupdate-2.0-py3.8.egg/zodbupdate/update.py", line 87, in __call__
new = self.processor.rename(current)
File "/home/webadmin/classicui/eggs/zodbupdate-2.0-py3.8.egg/zodbupdate/serialize.py", line 335, in rename
data = unpickler.load()
File "/home/webadmin/classicui/eggs/ZODB-5.8.1-py3.8.egg/ZODB/broken.py", line 261, in rebuild
return class_.__new__(class_, *args)
TypeError: function.__new__(X): X is not a type object (function)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "bin/zodbupdate", line 250, in <module>
sys.exit(zodbupdate.main.main())
File "/home/webadmin/classicui/eggs/zodbupdate-2.0-py3.8.egg/zodbupdate/main.py", line 224, in main
raise AssertionError()
AssertionError
So how to rectify this error. Please help. I installed plone 6.0.11 using this buildout.cfg
[buildout]
extends =
https://dist.plone.org/release/6.0.11/versions.cfg
parts +=
instance
zodbupdate
[instance]
recipe = plone.recipe.zope2instance
user = admin:admin
http-address = 9001
eggs =
Plone
plone.volto
Products.CMFPlone
plone.app.caching
plone.app.upgrade
collective.easyform
[zodbupdate]
recipe = zc.recipe.egg
eggs =
zodbupdate
Zope
Products.Sessions
Products.SiteErrorLog
Products.CMFPlone
plone.keyring
plone.cachepurging
plone.app.caching
collective.easyform
So need some help regarding where I got wrong