[Setup] Old add-ons halt upgrade from Plone 3.3.5 to 4.1.2
John Reese
jwreese0 at comcast.net
Tue Oct 18 10:56:18 UTC 2011
Thanks! This looks like the right tool. I'll let you know how it goes.
John
On Mon, 2011-10-17 at 00:56 -0200, Alberto Lopes wrote:
> Dear John,
>
>
> I had problems with Plone4Artists Calendar, and the upgrade had a
> similar problem (PicklingError) at a similar point (migrating
> folders).
>
>
> > In http://plone.293351.n2.nabble.com/PicklingError-caused-by-p4a-calendar-interfaces-ICalendarSupport-when-migrating-from-3-3-5-to-4-0-7-tp6840461p6860779.html I posted a report on my strategy to upgrade Plone to 4.0.7, and removing Plone4Artists.Calendar.
> >
> >
> > wildcard.fixpersistentutilities is your friend here.
> Hope it helps.
>
> On Sun, Oct 16, 2011 at 7:35 PM, John Reese <jwreese0 at comcast.net>
> wrote:
> Does anybody know how to get rid of references to old add-ons
> in Plone
> 3.3.x? I successfully removed a half-dozen add-ons a year ago
> and
> cleaned up as much as I could, but as I attempt to migrate
> from 3.3.5 to
> 4.1.2, the migration tool still is finding references to many
> of them
> and cannot complete the migration.
>
> The chief culprit appears to be PloneArticle. There are
> references to
> other add-ons as well, but PloneArticle appears to be the
> proximate
> cause of failure.
>
> Here's the trace-back from a dry run of the migration tool.
> Does anybody
> know how to clean these out of Data.fs?
>
> ************
>
>
>
> Dry run selected.
> Starting the migration from version: 3.3.3
> Ran upgrade step: Uninstall a broken CacheFu
> Ran upgrade step: Unregister old export and import steps.
> Ran upgrade step: Cleanup the persistent tool registry.
> Step plonearticle-modifier has an invalid import handler
> Role / permission map imported.
> Toolset imported.
> Archetype tool imported.
> Cannot find registry
> Step plonearticle-kupu has an invalid import handler
> Step quills-final has an invalid import handler
> Step plonearticle-fti has an invalid import handler
> Step plonearticle-tool has an invalid import handler
> Step collective.prettyphoto.reset-layers has an invalid import
> handler
> Ran upgrade step: Update the toolset registry.
> Ran upgrade step: Cleanup the skins tool.
> Ran upgrade step: Cleanup Zope's products registry.
> Ran upgrade step: Empty upgrade step
> Ran upgrade step: Empty upgrade step
> Ran upgrade step: Empty upgrade step
> Ran upgrade step: Remember active theme.
> Step plonearticle-modifier has an invalid import handler
> Role / permission map imported.
> Skins tool imported.
> Archetype tool imported.
> Cannot find registry
> Step plonearticle-kupu has an invalid import handler
> Step quills-final has an invalid import handler
> Step plonearticle-fti has an invalid import handler
> Step plonearticle-tool has an invalid import handler
> Step collective.prettyphoto.reset-layers has an invalid import
> handler
> Step plonearticle-modifier has an invalid import handler
> Role / permission map imported.
> Skins tool imported.
> Actions tool imported.
> Archetype tool imported.
> Stylesheet registry imported.
> Cannot find registry
> Step plonearticle-kupu has an invalid import handler
> Step quills-final has an invalid import handler
> Step plonearticle-fti has an invalid import handler
> Step plonearticle-tool has an invalid import handler
> Step collective.prettyphoto.reset-layers has an invalid import
> handler
> Step plonearticle-modifier has an invalid import handler
> Role / permission map imported.
> Skins tool imported.
> Archetype tool imported.
> Stylesheet registry imported.
> Imported.
> Cannot find registry
> Javascript registry imported.
> Step plonearticle-kupu has an invalid import handler
> Step quills-final has an invalid import handler
> Step plonearticle-fti has an invalid import handler
> Step plonearticle-tool has an invalid import handler
> Step collective.prettyphoto.reset-layers has an invalid import
> handler
> Step plonearticle-modifier has an invalid import handler
> Role / permission map imported.
> Archetype tool imported.
> Cannot find registry
> Step plonearticle-kupu has an invalid import handler
> Step quills-final has an invalid import handler
> Step plonearticle-fti has an invalid import handler
> Step plonearticle-tool has an invalid import handler
> Step collective.prettyphoto.reset-layers has an invalid import
> handler
> Step plonearticle-modifier has an invalid import handler
> Role / permission map imported.
> Control panel imported.
> Archetype tool imported.
> Properties tool imported.
> Cannot find registry
> Action icons tool settings imported.
> Step plonearticle-kupu has an invalid import handler
> Step quills-final has an invalid import handler
> Step plonearticle-fti has an invalid import handler
> Step plonearticle-tool has an invalid import handler
> Step collective.prettyphoto.reset-layers has an invalid import
> handler
> Step plonearticle-modifier has an invalid import handler
> Role / permission map imported.
> Toolset imported.
> Adapters registered.
> Utilities registered.
> Skins tool imported.
> Control panel imported.
> TinyMCE Settings imported.
> Archetype tool imported.
> KSS registry imported.
> Stylesheet registry imported.
> Cannot find registry
> Action icons tool settings imported.
> Javascript registry imported.
> Step plonearticle-kupu has an invalid import handler
> Step quills-final has an invalid import handler
> Step plonearticle-fti has an invalid import handler
> Step plonearticle-tool has an invalid import handler
> Step collective.prettyphoto.reset-layers has an invalid import
> handler
> Step plonearticle-modifier has an invalid import handler
> Role / permission map imported.
> Archetype tool imported.
> Stylesheet registry imported.
> Cannot find registry
> Javascript registry imported.
> Step plonearticle-kupu has an invalid import handler
> Step quills-final has an invalid import handler
> Step plonearticle-fti has an invalid import handler
> Step plonearticle-tool has an invalid import handler
> Step collective.prettyphoto.reset-layers has an invalid import
> handler
> Step plonearticle-modifier has an invalid import handler
> Role / permission map imported.
> ATCTTool settings imported.
> Archetype tool imported.
> Properties tool imported.
> Cannot find registry
> Javascript registry imported.
> 'ATBooleanCriterion' type info imported.
> 'ATCurrentAuthorCriterion' type info imported.
> 'ATDateCriteria' type info imported.
> 'ATDateRangeCriterion' type info imported.
> 'ATListCriterion' type info imported.
> 'ATPathCriterion' type info imported.
> 'ATRelativePathCriterion' type info imported.
> 'ATPortalTypeCriterion' type info imported.
> 'ATReferenceCriterion' type info imported.
> 'ATSelectionCriterion' type info imported.
> 'ATSimpleIntCriterion' type info imported.
> 'ATSimpleStringCriterion' type info imported.
> 'ATSortCriterion' type info imported.
> 'Discussion Item' type info imported.
> 'Document' type info imported.
> 'Event' type info imported.
> 'File' type info imported.
> 'Folder' type info imported.
> 'Image' type info imported.
> 'Link' type info imported.
> 'News Item' type info imported.
> 'Plone Site' type info imported.
> 'TempFolder' type info imported.
> 'Topic' type info imported.
> Step plonearticle-kupu has an invalid import handler
> Step quills-final has an invalid import handler
> Step plonearticle-fti has an invalid import handler
> Step plonearticle-tool has an invalid import handler
> Step collective.prettyphoto.reset-layers has an invalid import
> handler
> Control panel imported.
> Javascript registry imported.
> Ran upgrade step: General upgrade steps.
> Skins tool imported.
> Imported.
> Ran upgrade step: Restore theme after Sunburst has been
> installed.
> Ran upgrade step: Upgrade action icons away from the action
> icons tool.
> Ran upgrade step: Migrate type icons from content_icon to
> icon_expr
> Installed local RAM cache utility.
> Ran upgrade step: Update the local RAMCache utility import
> location.
> Updated workflow actor variable expression.
> Ran upgrade step: Update the actor variable expression in
> several
> workflows.
> Updated expression for authenticated-only resources.
> Ran upgrade step: Update expression for authenticated-only
> resources.
> Ran upgrade step: Configure new reference browser.
> Updated Plone site FTI.
> Updated TempFolder FTI.
> Ran upgrade step: Remove outdated actions and properties from
> the Portal
> FTI.
> Added new CMFEditions modifiers.
> Ran upgrade step: Add new CMFEditions default modifiers.
> Ran upgrade step: Upgrade MailHost.
> Upgrade aborted. Error:
> Traceback (most recent call last):
> File
> "/usr/local/Plone/buildout-cache/eggs/Products.CMFPlone-4.1.2-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.3-py2.6.egg/Products/GenericSetup/upgrade.py", line 142, in doStep
> self.handler(tool)
> File
> "/usr/local/Plone/buildout-cache/eggs/plone.app.upgrade-1.1.3-py2.6.egg/plone/app/upgrade/v40/alphas.py", line 442, in migrateFolders
> transaction.savepoint(optimistic=True)
> File
> "/usr/local/Plone/buildout-cache/eggs/transaction-1.1.1-py2.6.egg/transaction/_manager.py", line 101, in savepoint
> return self.get().savepoint(optimistic)
> File
> "/usr/local/Plone/buildout-cache/eggs/transaction-1.1.1-py2.6.egg/transaction/_transaction.py", line 260, in savepoint
> self._saveAndRaiseCommitishError() # reraises!
> File
> "/usr/local/Plone/buildout-cache/eggs/transaction-1.1.1-py2.6.egg/transaction/_transaction.py", line 257, in savepoint
> savepoint = Savepoint(self, optimistic, *self._resources)
> File
> "/usr/local/Plone/buildout-cache/eggs/transaction-1.1.1-py2.6.egg/transaction/_transaction.py", line 690, in __init__
> savepoint = savepoint()
> File
> "/usr/local/Plone/buildout-cache/eggs/ZODB3-3.10.3-py2.6-linux-i686.egg/ZODB/Connection.py", line 1123, in savepoint
> self._commit(None)
> File
> "/usr/local/Plone/buildout-cache/eggs/ZODB3-3.10.3-py2.6-linux-i686.egg/ZODB/Connection.py", line 623, in _commit
> self._store_objects(ObjectWriter(obj), transaction)
> File
> "/usr/local/Plone/buildout-cache/eggs/ZODB3-3.10.3-py2.6-linux-i686.egg/ZODB/Connection.py", line 658, in _store_objects
> p = writer.serialize(obj) # This calls __getstate__ of obj
> File
> "/usr/local/Plone/buildout-cache/eggs/ZODB3-3.10.3-py2.6-linux-i686.egg/ZODB/serialize.py", line 422, in serialize
> return self._dump(meta, obj.__getstate__())
> File
> "/usr/local/Plone/buildout-cache/eggs/ZODB3-3.10.3-py2.6-linux-i686.egg/ZODB/serialize.py", line 431, in _dump
> self._p.dump(state)
> PicklingError: Can't pickle <class
> 'Products.PloneArticle.interfaces.article.IPloneArticleTool'>:
> import of
> module Products.PloneArticle.interfaces.article failed
> End of upgrade path, migration has finished
> The upgrade path did NOT reach current version
> Migration has failed
> Dry run selected, transaction aborted
>
> Version Overview
>
> * Plone 4.1.2
> * Zope 2.13.10
> * Python 2.6.7 (r267:88850, Oct 15 2011, 17:23:56) [GCC
> 4.4.4
> 20100726 (Red Hat 4.4.4-13)]
>
>
>
> _______________________________________________
> Setup mailing list
> Setup at lists.plone.org
> https://lists.plone.org/mailman/listinfo/plone-setup
>
>
More information about the Setup
mailing list