Pessoal,

Alguém pode me dar uma luz sobre este erro no processo de migração? No
começo tive problemas com o ExUserFolder, mas deletei e o problema
sumiu (vou recuperar os usuarios depois, não sei ainda como).

Basicamente instalei um zope/plone 3 novo, em outro servidor, removi
todos os produtos extras do antigo e levei o Data.fs para o novo site.
Ao executar o portal_migration no modo "dry run" eu tenho este erro
atualmente. Como o google não ajudou, vim até aqui ;-)   Como vocês
poder ver, o problema está lá na versão  2.5-alpha1.

Obrigado,
 - Roberto


Result of the attempt...

    * Dry run selected.
    * Starting the migration from version: 2.1.3
    * 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
    * Registered tools as utilities.
    * Added setup_tool.
    * Installed CMFPlacefulWorkflow.
    * Upgrade to: 2.5-alpha1, completed
    * Attempting to upgrade from: 2.5-alpha1
    * Upgrade aborted
    * Error type: exceptions.TypeError
    * Error value: unsubscriptable object
    * File 
"/opt/Plone-3.0.6/zeocluster/client1/Products/CMFPlone/MigrationTool.py",
line 210, in upgrade newv, msgs = self._upgrade(newv)
    * File 
"/opt/Plone-3.0.6/zeocluster/client1/Products/CMFPlone/MigrationTool.py",
line 321, in _upgrade res = function(self.aq_parent)
    * File 
"/opt/Plone-3.0.6/zeocluster/client1/Products/CMFPlone/migrations/v2_5/alphas.py",
line 46, in alpha1_alpha2 installPlonePAS(portal, out)
    * File 
"/opt/Plone-3.0.6/zeocluster/client1/Products/CMFPlone/migrations/v2_5/alphas.py",
line 66, in installPlonePAS installOrReinstallProduct(portal,
'PlonePAS', out)
    * File 
"/opt/Plone-3.0.6/zeocluster/client1/Products/CMFPlone/migrations/migration_util.py",
line 85, in installOrReinstallProduct qi.installProduct(product_name,
hidden=hidden)
    * File 
"/opt/Plone-3.0.6/zeocluster/client1/Products/CMFQuickInstallerTool/QuickInstallerTool.py",
line 367, in installProduct res=install(portal)
    * File 
"/opt/Plone-3.0.6/lib/python/Products/ExternalMethod/ExternalMethod.py",
line 231, in __call__ try: return f(*args, **kw)
    * File 
"/opt/Plone-3.0.6/zeocluster/client1/Products/PlonePAS/Extensions/Install.py",
line 906, in install restoreUserData(portal, out, userdata)
    * File 
"/opt/Plone-3.0.6/zeocluster/client1/Products/PlonePAS/Extensions/Install.py",
line 355, in restoreUserData mtool.addMember(*u[:5])
    * File 
"/opt/Plone-3.0.6/zeocluster/client1/Products/PlonePAS/tools/membership.py",
line 66, in addMember acl_users._doAddUser(id, password, roles,
domains)
    * File "/opt/Plone-3.0.6/zeocluster/client1/Products/PlonePAS/pas.py",
line 49, in _doAddUser retval = _old_doAddUser(self, login, password,
roles, domains)
    * File 
"/opt/Plone-3.0.6/zeocluster/client1/Products/PluggableAuthService/PluggableAuthService.py",
line 941, in _doAddUser if useradder.doAddUser( login, password ):
    * File 
"/opt/Plone-3.0.6/zeocluster/client1/Products/PluggableAuthService/plugins/ZODBUserManager.py",
line 221, in doAddUser self.addUser( login, login, password )
    * File 
"/opt/Plone-3.0.6/zeocluster/client1/Products/PlonePAS/plugins/user.py",
line 68, in addUser if not AuthEncoding.is_encrypted(password):
    * File "/opt/Plone-3.0.6/lib/python/AccessControl/AuthEncoding.py",
line 161, in is_encrypted if pw[:lp] == prefix:
    * End of upgrade path, migration has finished
    * The upgrade path did NOT reach current version
    * Migration has failed
    * Dry run selected, transaction aborted


-- 

 - Roberto

Responder a