[Setup] Migration from Plone 2.1.2. to Plone 2.5.3

Zanotti Michele Michele.Zanotti at apss.tn.it
Tue May 29 16:06:58 UTC 2007


Thank you Alisa,
excuse me but you mean I must install the old and the new versions of
Zope/Plone on the same computer? The sentence "When you have both
screens up on your computer, copy and paste" isn't very clear for me (my
english is very bad, excuse me again!).

So far, the only workaround I have found is:
1) a "dry run" upgrade from Plone 2.1.2 to 2.5.2, it gives me the error,
but upgrades Plone to 2.5-alpha1(also if it is a "dry run").
2) a migration from 2.5-alpha1 to 2.5.2
3) a migration from 2.5.2 to 2.5.3.

Thanks for every suggestion.
Michele



  -----Original Message-----
From: FlairA7429 at aol.com [mailto:FlairA7429 at aol.com] 
Sent: Monday, May 28, 2007 9:45 PM
To: Zanotti Michele; setup at lists.plone.org
Subject: Re: [Setup] Migration from Plone 2.1.2. to Plone 2.5.3


In a message dated 5/28/2007 7:09:49 AM Pacific Standard Time,
Michele.Zanotti at apss.tn.it writes:
Hi all,
Trying plone update from 2.1.2 to 2.5.3 (and from Zope 2.8.5 to Zope
2.8.9 on windows) i obtain this error:

Result of the attempt...

Dry run selected. 
Starting the migration from version: 2.1.2 
Attempting to upgrade from: 2.1.2 
Removed vcXMLRPC.js 
Added icons for copy, cut, paste and delete 
Upgrade to: 2.1.3-rc1, completed 
Attempting to upgrade from: 2.1.3-rc1 
Upgrade to: 2.1.3, completed 
Attempting to upgrade from: 2.1.3 
Upgrade to: 2.1.4-rc1, completed 
Attempting to upgrade from: 2.1.4-rc1 
Upgrade to: 2.1.4, completed 
Attempting to upgrade from: 2.1.4 
Installed CMFPlacefulWorkflow. 
Upgrade to: 2.5-alpha1, completed 
Attempting to upgrade from: 2.5-alpha1 
Upgrade aborted 
Error type: cPickle.PicklingError 
Error value: Can't pickle <class 'App.Product.atoi'>: attribute lookup
App.Product.atoi failed 
File "C:\Programmi\Plone 2\Data\Products\CMFPlone\MigrationTool.py",
line 308, in upgrade newv, msgs = self._upgrade(newv) 
File "C:\Programmi\Plone 2\Data\Products\CMFPlone\MigrationTool.py",
line 414, in _upgrade res = function(self.aq_parent) 
File "C:\Programmi\Plone
2\Data\Products\CMFPlone\migrations\v2_5\alphas.py", line 24, in
alpha1_alpha2 installPlonePAS(portal, out) 
File "C:\Programmi\Plone
2\Data\Products\CMFPlone\migrations\v2_5\alphas.py", line 43, in
installPlonePAS installOrReinstallProduct(portal, 'PlonePAS', out) 
File "C:\Programmi\Plone
2\Data\Products\CMFPlone\migrations\migration_util.py", line 82, in
installOrReinstallProduct qi.installProduct(product_name) 
File "C:\Programmi\Plone
2\Data\Products\CMFQuickInstallerTool\QuickInstallerTool.py", line 333,
in installProduct res=install(portal) 
File "C:\Programmi\Plone
2\Zope\lib\python\Products\ExternalMethod\ExternalMethod.py", line 225,
in __call__ try: return f(*args, **kw) 
File "C:\Programmi\Plone
2\Data\Products\PlonePAS\Extensions\Install.py", line 848, in install
migrate_root_uf(self, out) 
File "C:\Programmi\Plone
2\Data\Products\PlonePAS\Extensions\Install.py", line 703, in
migrate_root_uf replace_acl_users(parent, out) 
File "C:\Programmi\Plone
2\Data\Products\PluggableAuthService\Extensions\upgrade.py", line 196,
in replace_acl_users _upgradeLocalRoleAssignments(self, RESPONSE) 
File "C:\Programmi\Plone
2\Data\Products\PluggableAuthService\Extensions\upgrade.py", line 188,
in _upgradeLocalRoleAssignments descend(self.acl_users, self) 
File "C:\Programmi\Plone
2\Data\Products\PluggableAuthService\Extensions\upgrade.py", line 180,
in descend descend(user_folder, o) 
File "C:\Programmi\Plone
2\Data\Products\PluggableAuthService\Extensions\upgrade.py", line 180,
in descend descend(user_folder, o) 
File "C:\Programmi\Plone
2\Data\Products\PluggableAuthService\Extensions\upgrade.py", line 180,
in descend descend(user_folder, o) 
File "C:\Programmi\Plone
2\Data\Products\PluggableAuthService\Extensions\upgrade.py", line 180,
in descend descend(user_folder, o) 
File "C:\Programmi\Plone
2\Data\Products\PluggableAuthService\Extensions\upgrade.py", line 180,
in descend descend(user_folder, o) 
File "C:\Programmi\Plone
2\Data\Products\PluggableAuthService\Extensions\upgrade.py", line 180,
in descend descend(user_folder, o) 
File "C:\Programmi\Plone
2\Data\Products\PluggableAuthService\Extensions\upgrade.py", line 174,
in descend transaction.savepoint(True) 
File "C:\Programmi\Plone 2\Zope\lib\python\transaction\_manager.py",
line 90, in savepoint return self.get().savepoint(optimistic) 
File "C:\Programmi\Plone 2\Zope\lib\python\transaction\_transaction.py",
line 297, in savepoint self._saveCommitishError() # reraises! 
File "C:\Programmi\Plone 2\Zope\lib\python\transaction\_transaction.py",
line 294, in savepoint savepoint = Savepoint(self, optimistic,
*self._resources) 
File "C:\Programmi\Plone 2\Zope\lib\python\transaction\_transaction.py",
line 657, in __init__ savepoint = savepoint() 
File "C:\Programmi\Plone 2\Zope\lib\python\ZODB\Connection.py", line
1032, in savepoint self._commit(None) 
File "C:\Programmi\Plone 2\Zope\lib\python\ZODB\Connection.py", line
503, in _commit self._store_objects(ObjectWriter(obj), transaction) 
File "C:\Programmi\Plone 2\Zope\lib\python\ZODB\Connection.py", line
525, in _store_objects p = writer.serialize(obj) # This calls
__getstate__ of obj 
File "C:\Programmi\Plone 2\Zope\lib\python\ZODB\serialize.py", line 330,
in serialize return self._dump(meta, obj.__getstate__()) 
File "C:\Programmi\Plone 2\Zope\lib\python\ZODB\serialize.py", line 339,
in _dump self._p.dump(state) 
End of upgrade path, migration has finished 
The upgrade path did NOT reach current version 
Migration has failed 
Dry run selected, transaction aborted

Not help from Google. Has anyone suggestions?
Thank you
Michele 

_______________________________________________
Setup mailing list
Setup at lists.plone.org
http://lists.plone.org/mailman/listinfo/setup
I had the same problems.
Download the latest version of Plone to install on you computer and pull
up your old 2.1.2 version of Plone.  When you have both screens up on
your computer, copy and paste. That worked for me.
Alisa







See what's free at AOL.com. 



More information about the Setup mailing list