Hi Nokolaj,

Op 12-01-12 21:51, nikolaj schreef:
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: ..."

Some import steps in Plone had circular dependencies for a while. I has meanwhile been fixed, but I think you may still see this when upgrading. Usually you can ignore this. It is a warning, not an error.

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):
(snip)
"/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

GenericSetup is a bit too strict here. It keeps a list of required tools that have been registered by Plone or by add-ons. One of those required tools it missing, probably because the add-on that requires it is no longer in use.

What happens is that GenericSetup first prints out the info about this missing class in the Products.PloneboardSubscription package and then a few lines further it tries to use that class anyway and fails. I have fixed that in GenericSetup but there is no release yet with the new code.

Best option is to make that class available. Add Products.PloneboardSubscription to your buildout and try again. If you are no longer using this product, then you may need to uninstall it while still on Plone 4.0.5 (it needs to be available in the buildout then too).

If that does not work out, you can try the latest code from here:
http://svn.zope.org/Products.GenericSetup/branches/1.6/

The relevant change is here:
http://svn.zope.org/Products.GenericSetup/branches/1.6/Products/GenericSetup/tool.py?rev=123871&r1=123456&r2=123871

You could edit your
/usr/local/Plone/buildout-cache/eggs/Products.GenericSetup-1.6.4-py2.6.egg/Products/GenericSetup/tool.py file directly and make the same change. I do not officially recommend that, but it gets the job done. :-)

I hope this helps,

--
Maurits van Rees   http://maurits.vanrees.org/
Web App Programmer at Zest Software: http://zestsoftware.nl
"Logical thinking shows conclusively that logical thinking
is inconclusive." - My summary of Gödel, Escher, Bach

_______________________________________________
Setup mailing list
[email protected]
https://lists.plone.org/mailman/listinfo/plone-setup

Reply via email to