[Setup] Problem upgrading from 4.0.5 to 4.1.3
nikolaj
nikolaj.groenlund at yahoo.com
Thu Jan 12 20:51:57 UTC 2012
Please, need help. Ive upgraded using buildout from 4.0.5 to 4.1.3, but when
I try to upgrade (dry run) there are about 5 messages with:
"There are unresolved or circular dependencies. Graphviz diagram: ..."
and finally the dry run says:
Step collective.blogging.reset-layers has an invalid import handler
Class Products.PloneboardSubscription.NotificationTool.NotificationTool not
found for tool portal_pbnotification
Upgrade aborted. Error:
Traceback (most recent call last):
File
"/usr/local/Plone/buildout-cache/eggs/Products.CMFPlone-4.1.3-py2.6.egg/Products/CMFPlone/MigrationTool.py",
line 175, in upgrade
step['step'].doStep(setup)
File
"/usr/local/Plone/buildout-cache/eggs/Products.GenericSetup-1.6.4-py2.6.egg/Products/GenericSetup/upgrade.py",
line 140, in doStep
self.handler(tool)
File
"/usr/local/Plone/buildout-cache/eggs/plone.app.upgrade-1.1.4-py2.6.egg/plone/app/upgrade/v41/betas.py",
line 112, in to41beta2
loadMigrationProfile(context, 'profile-plone.app.upgrade.v41:to41beta2')
File
"/usr/local/Plone/buildout-cache/eggs/plone.app.upgrade-1.1.4-py2.6.egg/plone/app/upgrade/utils.py",
line 112, in loadMigrationProfile
context.runAllImportStepsFromProfile(profile, purge_old=False)
File
"/usr/local/Plone/buildout-cache/eggs/Products.GenericSetup-1.6.4-py2.6.egg/Products/GenericSetup/tool.py",
line 323, in runAllImportStepsFromProfile
ignore_dependencies=ignore_dependencies)
File
"/usr/local/Plone/buildout-cache/eggs/Products.GenericSetup-1.6.4-py2.6.egg/Products/GenericSetup/tool.py",
line 1084, in _runImportStepsFromContext
message = self._doRunImportStep(step, context)
File
"/usr/local/Plone/buildout-cache/eggs/Products.GenericSetup-1.6.4-py2.6.egg/Products/GenericSetup/tool.py",
line 998, in _doRunImportStep
return handler(context)
File
"/usr/local/Plone/buildout-cache/eggs/Products.GenericSetup-1.6.4-py2.6.egg/Products/GenericSetup/tool.py",
line 123, in importToolset
new_tool = tool_class(tool_id)
TypeError: 'NoneType' object is not callable
End of upgrade path, migration has finished
The upgrade path did NOT reach current version
Ive added
if state.permission_roles is None:
continue
to
/plone.app.upgrade-1.1.4-py2.6.egg/plone/app/upgrade/v41/alphas.py
, because of the
add_siteadmin_role
for permission_id, roles in state.permission_roles.items():
AttributeError: 'NoneType' object has no attribute 'items'
, problem.
Thanks.
Nikolaj
--
View this message in context: http://plone.293351.n2.nabble.com/Problem-upgrading-from-4-0-5-to-4-1-3-tp7181686p7181686.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.
More information about the Setup
mailing list