List Info

Thread: Re: Migration from Plone 2.1.2. to Plone 2.5.3




Re: Migration from Plone 2.1.2. to Plone 2.5.3
country flaguser name
United States
2007-05-28 14:45:24
In a message dated 5/28/2007 7:09:49 AM Pacific Standard Time, Michele.Zanottiapss.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:ProgrammiPlone 2DataProductsCMFPloneMigrationTool.py",
line 308, in upgrade newv, msgs = self._upgrade(newv)
File "C:ProgrammiPlone 2DataProductsCMFPloneMigrationTool.py",
line 414, in _upgrade res = function(self.aq_parent)
File "C:ProgrammiPlone
2DataProductsCMFPlonemigrationsv2_5alphas.py", line 24, in
alpha1_alpha2 installPlonePAS(portal, out)
File "C:ProgrammiPlone
2DataProductsCMFPlonemigrationsv2_5alphas.py", line 43, in
installPlonePAS installOrReinstallProduct(portal, 'PlonePAS', out)
File "C:ProgrammiPlone
2DataProductsCMFPlonemigrationsmigration_util.py", line 82, in
installOrReinstallProduct qi.installProduct(product_name)
File "C:ProgrammiPlone
2DataProductsCMFQuickInstallerToolQuickInstallerTool.py", line 333,
in installProduct res=install(portal)
File "C:ProgrammiPlone
2ZopelibpythonProductsExternalMethodExternalMethod.py", line 225,
in __call__ try: return f(*args, **kw)
File "C:ProgrammiPlone
2DataProductsPlonePASExtensionsInstall.py", line 848, in install
migrate_root_uf(self, out)
File "C:ProgrammiPlone
2DataProductsPlonePASExtensionsInstall.py", line 703, in
migrate_root_uf replace_acl_users(parent, out)
File "C:ProgrammiPlone
2DataProductsPluggableAuthServiceExtensionsupgrade.py", line 196,
in replace_acl_users _upgradeLocalRoleAssignments(self, RESPONSE)
File "C:ProgrammiPlone
2DataProductsPluggableAuthServiceExtensionsupgrade.py", line 188,
in _upgradeLocalRoleAssignments descend(self.acl_users, self)
File "C:ProgrammiPlone
2DataProductsPluggableAuthServiceExtensionsupgrade.py", line 180,
in descend descend(user_folder, o)
File "C:ProgrammiPlone
2DataProductsPluggableAuthServiceExtensionsupgrade.py", line 180,
in descend descend(user_folder, o)
File "C:ProgrammiPlone
2DataProductsPluggableAuthServiceExtensionsupgrade.py", line 180,
in descend descend(user_folder, o)
File "C:ProgrammiPlone
2DataProductsPluggableAuthServiceExtensionsupgrade.py", line 180,
in descend descend(user_folder, o)
File "C:ProgrammiPlone
2DataProductsPluggableAuthServiceExtensionsupgrade.py", line 180,
in descend descend(user_folder, o)
File "C:ProgrammiPlone
2DataProductsPluggableAuthServiceExtensionsupgrade.py", line 180,
in descend descend(user_folder, o)
File "C:ProgrammiPlone
2DataProductsPluggableAuthServiceExtensionsupgrade.py", line 174,
in descend transaction.savepoint(True)
File "C:ProgrammiPlone 2Zopelibpythontransaction_manager.py",
line 90, in savepoint return self.get().savepoint(optimistic)
File "C:ProgrammiPlone 2Zopelibpythontransaction_transaction.py",
line 297, in savepoint self._saveCommitishError() # reraises!
File "C:ProgrammiPlone 2Zopelibpythontransaction_transaction.py",
line 294, in savepoint savepoint = Savepoint(self, optimistic,
*self._resources)
File "C:ProgrammiPlone 2Zopelibpythontransaction_transaction.py",
line 657, in __init__ savepoint = savepoint()
File "C:ProgrammiPlone 2ZopelibpythonZODBConnection.py", line
1032, in savepoint self._commit(None)
File "C:ProgrammiPlone 2ZopelibpythonZODBConnection.py", line
503, in _commit self._store_objects(ObjectWriter(obj), transaction)
File "C:ProgrammiPlone 2ZopelibpythonZODBConnection.py", line
525, in _store_objects p = writer.serialize(obj) # This calls
__getstate__ of obj
File "C:ProgrammiPlone 2ZopelibpythonZODBserialize.py", line 330,
in serialize return self._dump(meta, obj.__getstate__())
File "C:ProgrammiPlone 2ZopelibpythonZODBserialize.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
Setuplists.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.&nbsp; When you have both screens up on your computer, copy and paste. That worked for me.
Alisa
 ;




See what's free at AOL.com.
RE: Migration from Plone 2.1.2. to Plone 2.5.3
country flaguser name
Italy
2007-05-29 11:06:58
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: FlairA7429aol.com [mailto:FlairA7429aol.com]

Sent: Monday, May 28, 2007 9:45 PM
To: Zanotti Michele; setuplists.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.Zanottiapss.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:ProgrammiPlone
2DataProductsCMFPloneMigrationTool.py",
line 308, in upgrade newv, msgs = self._upgrade(newv) 
File "C:ProgrammiPlone
2DataProductsCMFPloneMigrationTool.py",
line 414, in _upgrade res = function(self.aq_parent) 
File "C:ProgrammiPlone
2DataProductsCMFPlonemigrationsv2_5alphas.py",
line 24, in
alpha1_alpha2 installPlonePAS(portal, out) 
File "C:ProgrammiPlone
2DataProductsCMFPlonemigrationsv2_5alphas.py",
line 43, in
installPlonePAS installOrReinstallProduct(portal,
'PlonePAS', out) 
File "C:ProgrammiPlone
2DataProductsCMFPlonemigrationsmigration_util.py",
line 82, in
installOrReinstallProduct qi.installProduct(product_name) 
File "C:ProgrammiPlone
2DataProductsCMFQuickInstallerToolQuickInstallerTool.py&
quot;, line 333,
in installProduct res=install(portal) 
File "C:ProgrammiPlone
2ZopelibpythonProductsExternalMethodExternalMethod.py&
quot;, line 225,
in __call__ try: return f(*args, **kw) 
File "C:ProgrammiPlone
2DataProductsPlonePASExtensionsInstall.py", line
848, in install
migrate_root_uf(self, out) 
File "C:ProgrammiPlone
2DataProductsPlonePASExtensionsInstall.py", line
703, in
migrate_root_uf replace_acl_users(parent, out) 
File "C:ProgrammiPlone
2DataProductsPluggableAuthServiceExtensionsupgrade.py&q
uot;, line 196,
in replace_acl_users _upgradeLocalRoleAssignments(self,
RESPONSE) 
File "C:ProgrammiPlone
2DataProductsPluggableAuthServiceExtensionsupgrade.py&q
uot;, line 188,
in _upgradeLocalRoleAssignments descend(self.acl_users,
self) 
File "C:ProgrammiPlone
2DataProductsPluggableAuthServiceExtensionsupgrade.py&q
uot;, line 180,
in descend descend(user_folder, o) 
File "C:ProgrammiPlone
2DataProductsPluggableAuthServiceExtensionsupgrade.py&q
uot;, line 180,
in descend descend(user_folder, o) 
File "C:ProgrammiPlone
2DataProductsPluggableAuthServiceExtensionsupgrade.py&q
uot;, line 180,
in descend descend(user_folder, o) 
File "C:ProgrammiPlone
2DataProductsPluggableAuthServiceExtensionsupgrade.py&q
uot;, line 180,
in descend descend(user_folder, o) 
File "C:ProgrammiPlone
2DataProductsPluggableAuthServiceExtensionsupgrade.py&q
uot;, line 180,
in descend descend(user_folder, o) 
File "C:ProgrammiPlone
2DataProductsPluggableAuthServiceExtensionsupgrade.py&q
uot;, line 180,
in descend descend(user_folder, o) 
File "C:ProgrammiPlone
2DataProductsPluggableAuthServiceExtensionsupgrade.py&q
uot;, line 174,
in descend transaction.savepoint(True) 
File "C:ProgrammiPlone
2Zopelibpythontransaction_manager.py",
line 90, in savepoint return
self.get().savepoint(optimistic) 
File "C:ProgrammiPlone
2Zopelibpythontransaction_transaction.py",
line 297, in savepoint self._saveCommitishError() #
reraises! 
File "C:ProgrammiPlone
2Zopelibpythontransaction_transaction.py",
line 294, in savepoint savepoint = Savepoint(self,
optimistic,
*self._resources) 
File "C:ProgrammiPlone
2Zopelibpythontransaction_transaction.py",
line 657, in __init__ savepoint = savepoint() 
File "C:ProgrammiPlone
2ZopelibpythonZODBConnection.py", line
1032, in savepoint self._commit(None) 
File "C:ProgrammiPlone
2ZopelibpythonZODBConnection.py", line
503, in _commit self._store_objects(ObjectWriter(obj),
transaction) 
File "C:ProgrammiPlone
2ZopelibpythonZODBConnection.py", line
525, in _store_objects p = writer.serialize(obj) # This
calls
__getstate__ of obj 
File "C:ProgrammiPlone
2ZopelibpythonZODBserialize.py", line 330,
in serialize return self._dump(meta, obj.__getstate__()) 
File "C:ProgrammiPlone
2ZopelibpythonZODBserialize.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
Setuplists.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. 

_______________________________________________
Setup mailing list
Setuplists.plone.org
http://
lists.plone.org/mailman/listinfo/setup

Re: Migration from Plone 2.1.2. to Plone 2.5.3
country flaguser name
Netherlands
2007-05-29 16:18:29
Zanotti Michele, on 2007-05-29:
> 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!).

I must say I did not understand that remark either. 

But your main error is this:

Error type: cPickle.PicklingError
Error value: Can't pickle <class 'App.Product.atoi'>:
attribute lookup
App.Product.atoi failed


`Pickling` means storing something in the zope database. 
And storing
a class in the database, which seems what is being tried
here, indeed
does not make much sense.

So it looks like you have a product in your Products folder
that is
behaving badly.  If you can, try searching for code in your
Products
folder that contains a line with this text.

If that does not work, give us a list of the products that
are in your
Products folder.

> 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:

You may want to try Zope 2.9.7, which is the recommended
version.  The
release notes for Plone 2.5.3 say that it should work with
zope 2.8.9
too though, if you have Five version 1.2.

Hm, which version of Five do you have?  Look in:
ProductsFiveversion.txt

-- 
Maurits van Rees | http://maurits.vanrees.or
g/ [NL]
            Work | http://zestsoftware.nl/
"Do not worry about your difficulties in computers,
 I can assure you mine are still greater."


_______________________________________________
Setup mailing list
Setuplists.plone.org
http://
lists.plone.org/mailman/listinfo/setup

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )