[Setup] 2.0.4->2.1.3 PloneCollector Breaks Dry Run

Alex Mandel tech_dev at wildintellect.com
Thu Aug 17 20:22:18 UTC 2006


I think PloneCollectorNG is what's causing the error based on the 
traceback below. Here's the deal though, I've got ver 1.2.7 installed 
since that's the last version that works with 2.0.x (confirmed by trial 
and error) but I think 2.1.x requires 1.2.8+, So a little classic 
chicken and egg problem.
If this is the problem hopefully Andreas will have a solution.


Thanks, Alex

Can someone confirm my that it is PloneCollector based on this log:
Plone Migration Tool Plone Migration Tool at  /www/portal_migration


Result of the attempt...

     * Dry run selected.
     * Starting the migration from version: 2.0.4
     * Attempting to upgrade from: 2.0.4
     * Upgrade to: 2.0.5-rc1, completed
     * Attempting to upgrade from: 2.0.5-rc1
     * Upgrade to: 2.0.5-rc2, completed
     * Attempting to upgrade from: 2.0.5-rc2
     * Renamed Folder 'properties' tab to 'edit'.
     * Added 'folderlisting' action to Topics.
     * Interchanged 'edit' and 'sharing' tabs.
     * Upgrade to: 2.0.5, completed
     * Attempting to upgrade from: 2.0.5
     * Upgrade aborted
     * Error type: Products.ATContentTypes.migration.walker.MigrationError
     * Error value: MigrationError for obj at /www/applications (CMF 
Folder -> Folder): Traceback (most recent call last): File 
"/home/amandel/zopesite/213/Products/ATContentTypes/migration/walker.py", 
line 174, in migrate migrator.migrate() File 
"/home/amandel/zopesite/213/Products/ATContentTypes/migration/migrator.py", 
line 196, in migrate method() File 
"/home/amandel/zopesite/213/Products/ATContentTypes/migration/migrator.py", 
line 517, in migrate_children self.new._setObject(id, obj, set_owner=0) 
File "/home/amandel/zope/lib/python/OFS/ObjectManager.py", line 276, in 
_setObject object.manage_afterAdd(object, self) File 
"/home/amandel/zopesite/213/Products/PloneCollectorNG/Collector.py", 
line 109, in manage_afterAdd BaseBTreeFolder.manage_afterAdd(self, item, 
container) File 
"/home/amandel/zopesite/213/Products/Archetypes/BaseBTreeFolder.py", 
line 37, in manage_afterAdd BaseFolder.manage_afterAdd(self, item, 
container) File 
"/home/amandel/zopesite/213/Products/Archetypes/BaseFolder.py", line 
107, in manage_afterAdd CatalogMultiplex.manage_afterAdd(self, item, 
container) File 
"/home/amandel/zopesite/213/Products/CMFCore/CMFCatalogAware.py", line 
199, in manage_afterAdd self.__recurse('manage_afterAdd', item, 
container) File 
"/home/amandel/zopesite/213/Products/CMFCore/CMFCatalogAware.py", line 
235, in __recurse getattr(ob, name)(*args) File 
"/home/amandel/zopesite/213/Products/PloneCollectorNG/Collector.py", 
line 952, in manage_afterAdd self._initIndexes() File 
"/home/amandel/zopesite/213/Products/CMFCore/CatalogTool.py", line 188, 
in _initIndexes for index_name, index_type, extra in 
self.enumerateIndexes(): ValueError: unpack list of wrong size
     * File 
"/home/amandel/zopesite/213/Products/CMFPlone/MigrationTool.py", line 
274, in upgrade newv, msgs = self._upgrade(newv)
     * File 
"/home/amandel/zopesite/213/Products/CMFPlone/MigrationTool.py", line 
371, in _upgrade res = function(self.aq_parent)
     * File 
"/home/amandel/zopesite/213/Products/CMFPlone/migrations/v2_1/alphas.py", 
line 69, in two05_alpha1 migrateToATCT10(portal, out)
     * File 
"/home/amandel/zopesite/213/Products/CMFPlone/migrations/v2_1/alphas.py", 
line 298, in migrateToATCT10 tool.migrateToATCT()
     * File 
"/home/amandel/zopesite/213/Products/ATContentTypes/tool/migration.py", 
line 240, in migrateToATCT out, elapse, c_elapse = 
self.migrateContentTypesToATCT(portal_types=None)
     * File 
"/home/amandel/zopesite/213/Products/ATContentTypes/tool/migration.py", 
line 260, in migrateContentTypesToATCT out = migrateAll(portal)
     * File 
"/home/amandel/zopesite/213/Products/ATContentTypes/migration/atctmigrator.py", 
line 239, in migrateAll migrator=migrator, **kwargs)
     * File 
"/home/amandel/zopesite/213/Products/ATContentTypes/migration/common.py", 
line 224, in migratePortalType walk.go()
     * File 
"/home/amandel/zopesite/213/Products/ATContentTypes/migration/walker.py", 
line 126, in go self.migrate(self.walk(), **kwargs)
     * File 
"/home/amandel/zopesite/213/Products/ATContentTypes/migration/walker.py", 
line 205, in migrate raise MigrationError(objpath, migrator, tb)
     * End of upgrade path, migration has finished
     * The upgrade path did NOT reach current version
     * Migration has failed
     * Dry run selected, transaction aborted

Return





More information about the Setup mailing list