On 7/5/10 6:55 PM, in article [email protected],
"Aaron Paxson" <[email protected]> wrote:
>
> Used buildout to upgrade from 3.2.2 to 3.3.5. After receiving complaints
> about python-setuptools being out-dated, I updated, and it continued
> flawlessly.
>
> Upon rebooting, Plone shows the filesystem to be 3.3.5. But, when running
> the dry-run, I get the following error message. See below for full output.
> Any ideas?
Just a wild guess, but maybe upgrading to 3.3 first would help.
Otherwise, you may need an import pdb ; pdb.set_trace() around line 910 of:
/usr/local/Plone/buildout-cache/eggs/Products.GenericSetup-1.4.5-py2.4.egg/P
roducts/GenericSetup/tool.py
to figure out what is going on.
>
> Error type: exceptions.KeyError
> Error value: 'profile-Products.CMFPlone.migrations:3.2.2-3.2.3'
>
> ------------------------------------------------
>
> Dry run selected.
> Starting the migration from version: 3.2.2
> Attempting to upgrade from: 3.2.2
> Upgrade aborted
> Error type: exceptions.KeyError
> Error value: 'profile-Products.CMFPlone.migrations:3.2.2-3.2.3'
> File
> "/usr/local/Plone/buildout-cache/eggs/Plone-3.3.5-py2.4.egg/Products/CMFPlone/
> MigrationTool.py",
> line 210, in upgrade newv, msgs = self._upgrade(newv)
> File
> "/usr/local/Plone/buildout-cache/eggs/Plone-3.3.5-py2.4.egg/Products/CMFPlone/
> MigrationTool.py",
> line 321, in _upgrade res = function(self.aq_parent)
> File
> "/usr/local/Plone/buildout-cache/eggs/Plone-3.3.5-py2.4.egg/Products/CMFPlone/
> migrations/v3_2/__init__.py",
> line 27, in three22_three23
> 'profile-Products.CMFPlone.migrations:3.2.2-3.2.3')
> File
> "/usr/local/Plone/buildout-cache/eggs/Plone-3.3.5-py2.4.egg/Products/CMFPlone/
> migrations/migration_util.py",
> line 107, in loadMigrationProfile tool.runAllImportStepsFromProfile(profile,
> purge_old=False)
> File
> "/usr/local/Plone/buildout-cache/eggs/Products.GenericSetup-1.4.5-py2.4.egg/Pr
> oducts/GenericSetup/tool.py",
> line 390, in runAllImportStepsFromProfile
> ignore_dependencies=ignore_dependencies)
> File
> "/usr/local/Plone/buildout-cache/eggs/Products.GenericSetup-1.4.5-py2.4.egg/Pr
> oducts/GenericSetup/tool.py",
> line 1152, in _runImportStepsFromContext chain =
> self.getProfileDependencyChain( profile_id )
> File
> "/usr/local/Plone/buildout-cache/eggs/Products.GenericSetup-1.4.5-py2.4.egg/Pr
> oducts/GenericSetup/tool.py",
> line 1132, in getProfileDependencyChain dependencies =
> self.getDependenciesForProfile( profile_id )
> File
> "/usr/local/Plone/buildout-cache/eggs/Products.GenericSetup-1.4.5-py2.4.egg/Pr
> oducts/GenericSetup/tool.py",
> line 910, in getDependenciesForProfile raise KeyError, profile_id
> End of upgrade path, migration has finished
> The upgrade path did NOT reach current version
> Migration has failed
> Dry run selected, transaction aborted
--
Alex Clark · http://aclark.net
Author Plone 3.3 Site Administration · http://aclark.net/admin
_______________________________________________
Setup mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/setup