[Plone-IT] Migrare da Plone 2.5 a Plone 3.0

aprati pratiandrea a gmail.com
Mar 2 Dic 2008 08:16:27 UTC



Fabrizio Reale wrote:
> 
> Troppo generico.
> Descrivi esattamente cosa hai fatto e dove (cioč quale codice) ti ha dato
> errore.
> 

Ciao Fabrizio,
e grazie dell'aiuto.
Ecco il traceback completo:
-------------
Result of the attempt...

    * Dry run selected.
    * Starting the migration from version: 2.5.5
    * Attempting to upgrade from: 2.5.5
    * Registered tools as utilities.
    * Migrated old actions to new actions stored in portal_actions.
    * Added navtree.css to the registry
    * Added invisibles.css to the registry
    * Added forms.css to the registry
    * Added 'default_contenttype' property to site_properties.
    * Added 'forbidden_contenttypes' property to site_properties.
    * Added Markup Settings to the control panel
    * Added markup configlet icon to actionicons tool.
    * Updated actions i18n domain attribute.
    * Updated type informations i18n domain attribute.
    * Upgraded the ATContentTypes tool.
    * Installed CMFDiffTool.
    * Installed CMFEditions.
    * Converted legacy portlets at the portal root
    * NOTE: You may need to convert other portlets manually.
    * - to do so, click "manage portlets" in the relevant folder.
    * Added 'calendar' icon to actionicons tool.
    * Added calendar settings to the control panel
    * Removed the Plone Tableless skin
    * Upgrade to: 3.0-alpha1, completed
    * Attempting to upgrade from: 3.0-alpha1
    * Registered tools as utilities.
    * Removed generated.css from the registry
    * Added form_tabbing.js to portal_javascipt
    * Registered kss mimetype
    * Registered kss resources
    * Added missing skins to Plone Default
    * Succesfully migrated portal to KSS
    * Registered redirector utility
    * Added content rules action to object category
    * Added reader and editor roles
    * Ensured references to folder_localrole_form point to @@sharing now
    * Updated RTL.css expression.
    * Upgrade to: 3.0-alpha2, completed
    * Attempting to upgrade from: 3.0-alpha2
    * Registered tools as utilities.
    * Added 'Maintenance' to the control panel
    * Added 'maintenance' icon to actionicons tool.
    * Added 'number_of_days_to_keep' property to site properties
    * Added 's5_presentation' action to actions tool.
    * Added 's5_presentation' icon to actionicons tool.
    * Added in css and js for table of contents
    * Added input-label.js to portal_javascipt
    * Updated member management security
    * Added Plone Session Plugin.
    * Added 'filter' icon to actionicons tool.
    * Added 'security' icon to actionicons tool.
    * Registered content rules storage utility
    * Added 'Content Rules Settings' to the control panel
    * Added 'Content Rules Settings' icon to actionicons tool.
    * Added html filter settings to the control panel
    * Added security settings to the control panel
    * Added 'enable_sitemap' property to site properties
    * Use ++resource++kukit-src.js instead of ++resource++kukit.js
    * Set 'full' compression on ++resource++kukit-src.js
    * Created RAMCache ResourceRegistryCache for ResourceRegistry output
    * Associated portal_css with ResourceRegistryCache
    * Associated portal_javascripts with ResourceRegistryCache
    * Set 'full-encode' compression on cssQuery.js
    * Removed folder_contents_hideAddItems.js from portal_javascripts.
    * Added webstats.js to portal_javascipts
    * Added 'webstats_js' property to site properties
    * Added object_provides index to portal_catalog
    * Removed the mystuff user action
    * Added 'external_links_open_new_window' property to site properties
    * Added Types Settings to the control panel
    * Added types configlet icon to actionicons tool.
    * Added workflow intranet_workflow
    * Added workflow intranet_folder_workflow
    * Added workflow one_state_workflow
    * Added workflow simple_publication_workflow
    * Added 'many_groups' property to site properties
    * Replaced obsolete PlonePAS version of plone tool with the normal one.
    * Registered plone.app.i18n utilities.
    * Installed PloneLanguageTool.
    * Added 'email_charset' property to the portal.
    * Upgrade to: 3.0-beta1, completed
    * Attempting to upgrade from: 3.0-beta1
    * Registered tools as utilities.
    * Changed the order of action providers.
    * Added unlockOnFormUnload.js to portal_javascripts
    * Removed object_tabs action category.
    * Removed global action category.
    * Added automatic group PAS plugin
    * Removed 's5_presentation' action from actions tool.
    * Removed 's5_presentation' icon from actionicons tool.
    * Associated portal_kss with ResourceRegistryCache
    * Updated kss javascript resource ++resource++kukit-src.js, to disable
kss for anonymous.
    * Added kss resource at_experimental.kss, disabled by default.
    * Added kss resource plone_experimental.kss, disabled by default.
    * Removed properties action from type CMF Image
    * Removed properties action from type CMF Document
    * Removed properties action from type CMF Favorite
    * Removed properties action from type CMF Link
    * Removed properties action from type CMF News Item
    * Removed properties action from type CMF File
    * Removed properties action from type ATPathCriterion
    * Removed properties action from type ATBooleanCriterion
    * Removed properties action from type Image
    * Removed properties action from type Topic
    * Removed properties action from type ATSelectionCriterion
    * Removed properties action from type Large Plone Folder
    * Removed properties action from type Document
    * Removed properties action from type ATSimpleStringCriterion
    * Removed properties action from type ATCurrentAuthorCriterion
    * Removed properties action from type ATDateCriteria
    * Removed properties action from type Favorite
    * Removed properties action from type Event
    * Removed properties action from type ATReferenceCriterion
    * Removed properties action from type ATSimpleIntCriterion
    * Removed properties action from type ATListCriterion
    * Removed properties action from type Folder
    * Removed properties action from type Link
    * Removed properties action from type News Item
    * Removed properties action from type File
    * Removed properties action from type ATDateRangeCriterion
    * Removed properties action from type ATSortCriterion
    * Removed properties action from type ATPortalTypeCriterion
    * Upgrade to: 3.0-beta2, completed
    * Attempting to upgrade from: 3.0-beta2
    * Registered tools as utilities.
    * Removed explicit references to sharing action
    * Upgrade to: 3.0-beta3, completed
    * Attempting to upgrade from: 3.0-beta3
    * Registered tools as utilities.
    * Updated kss javascript resources, to enable the use of production and
development versions.
    * Upgrade to: 3.0-rc1, completed
    * Attempting to upgrade from: 3.0-rc1
    * Added text_web_intelligent mime type to registry
    * Added intelligenttext to html transform to registry
    * Added html to intelligenttext transform to registry
    * Upgrade to: 3.0-rc2, completed
    * Attempting to upgrade from: 3.0-rc2
    * Upgrade to: 3.0, completed
    * Attempting to upgrade from: 3.0
    * Upgrade to: 3.0.1, completed
    * Attempting to upgrade from: 3.0.1
    * Upgrade to: 3.0.2, completed
    * Attempting to upgrade from: 3.0.2
    * Upgrade to: 3.0.3, completed
    * Attempting to upgrade from: 3.0.3
    * Added new CMFEditions modifiers
    * Upgrade to: 3.0.4, completed
    * Attempting to upgrade from: 3.0.4
    * Registered tools as utilities.
    * Upgrade to: 3.0.5, completed
    * Attempting to upgrade from: 3.0.5
    * Upgrade to: 3.0.6, completed
    * Attempting to upgrade from: 3.0.6
    * Upgrade aborted
    * Error type: exceptions.ValueError
    * Error value: list.index(x): x not in list
    * File "C:\Plone\Data\Products\CMFPlone\MigrationTool.py", line 210, in
upgrade newv, msgs = self._upgrade(newv)
    * File "C:\Plone\Data\Products\CMFPlone\MigrationTool.py", line 321, in
_upgrade res = function(self.aq_parent)
    * File "C:\Plone\Data\Products\CMFPlone\migrations\v3_1\betas.py", line
18, in three0_beta1 loadMigrationProfile(portal,
'profile-Products.CMFPlone.migrations:3.0.6-3.1beta1')
    * File "C:\Plone\Data\Products\CMFPlone\migrations\migration_util.py",
line 107, in loadMigrationProfile tool.runAllImportStepsFromProfile(profile,
purge_old=False)
    * File "C:\Plone\Data\Products\GenericSetup\tool.py", line 390, in
runAllImportStepsFromProfile ignore_dependencies=ignore_dependencies)
    * File "C:\Plone\Data\Products\GenericSetup\tool.py", line 1182, in
_runImportStepsFromContext message = self._doRunImportStep(step, context)
    * File "C:\Plone\Data\Products\GenericSetup\tool.py", line 1093, in
_doRunImportStep return handler(context)
    * File
"C:\Plone\Data\Products\ResourceRegistries\exportimport\jsregistry.py", line
14, in importJSRegistry return importResRegistry(context, _REG_ID,
_REG_TITLE, _FILENAME)
    * File
"C:\Plone\Data\Products\ResourceRegistries\exportimport\resourceregistry.py",
line 29, in importResRegistry importer.body = body
    * File "C:\Plone\Data\Products\GenericSetup\utils.py", line 544, in
_importBody self._importNode(dom.documentElement)
    * File
"C:\Plone\Data\Products\ResourceRegistries\exportimport\resourceregistry.py",
line 82, in _importNode self._initResources(node)
    * File
"C:\Plone\Data\Products\ResourceRegistries\exportimport\resourceregistry.py",
line 168, in _initResources moveMethod(res_id, *position[1:])
    * File
"C:\Plone\Data\Products\ResourceRegistries\tools\BaseRegistry.py", line 635,
in moveResourceBefore dest_index = self.getResourcePosition(dest_id)
    * File
"C:\Plone\Data\Products\ResourceRegistries\tools\BaseRegistry.py", line 748,
in getResourcePosition return resource_ids.index(id)
    * End of upgrade path, migration has finished
    * The upgrade path did NOT reach current version
    * Migration has failed
    * Dry run selected, transaction aborted
----------------


_______________________________________________
Plone-IT mailing list
Plone-IT a lists.plone.org
http://lists.plone.org/mailman/listinfo/plone-it
http://www.nabble.com/Plone---Italy-f21728.html


-- 
View this message in context: http://n2.nabble.com/Migrare-da-Plone-2.5-a-Plone-3.0-tp1600933p1602845.html
Sent from the Plone - Italy mailing list archive at Nabble.com.





Maggiori informazioni sulla lista Plone-IT