Hi All,
I am in the process of attempting to migrate a Plone 2.0.4 site to 2.1.1
(Enfold version), on Windows Server 2003. At the moment, I have no
reason to believe that the Enfold modifications to Plone are relevant at
all. This is a new error on me, and Googling has not thrown up any other
cases which seem relevant to this one.
I can neither import the site from a .zexp file, nor migrate the site by
mounting the data.fs from the live installation - in both cases I get
very similar errors. The full output from a migration attempt is
reproduced below, but for readability I'll ask my question here: -
The relevant part of the error I am getting seems to be triggered when
the migration reaches a specific folder in the site: -
MigrationError for obj at /intranet/Community (CMF Folder -> Folder)
"intranet" in the Plone instance, "Community" is a bog-standard Plone
folder within it.
The error thrown is: -
File "D:\Program Files\Enfold
Server\Products\Archetypes\ExtensibleMetadata.py", line 406, in created
created = self.getField('creation_date').get(self) AttributeError:
'NoneType' object has no attribute 'get'
...and this is the error that I also see in a .zexp import attempt.
As far as I can see, there is no obvious factor at play here that is
related to either an Plone customisation or a 3rd party product. Almost
all the development in this site is at the level of ZPTs, ZSQL Methods
and Python Scripts - IOW, at the Zope level. The application is
primarily an RDBMS application in a Plone site.
Can anyone point me in the right direction as to how to troubleshoot
this, please?
The full output of a migration dry run is reproduced below.
* 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 /intranet/Community (CMF
Folder -> Folder): Traceback (most recent call last): File "D:\Program
Files\Enfold Server\Products\ATContentTypes\migration\walker.py", line
174, in migrate migrator.migrate() File "D:\Program Files\Enfold
Server\Products\ATContentTypes\migration\migrator.py", line 196, in
migrate method() File "D:\Program Files\Enfold
Server\Products\ATContentTypes\migration\migrator.py", line 517, in
migrate_children self.new._setObject(id, obj, set_owner=0) File
"D:\Program Files\Enfold Server\Zope\lib\python\OFS\ObjectManager.py",
line 276, in _setObject object.manage_afterAdd(object, self) File
"D:\Program Files\Enfold Server\Products\CMFCore\CMFCatalogAware.py",
line 186, in manage_afterAdd self.__recurse('manage_afterAdd', item,
container) File "D:\Program Files\Enfold
Server\Products\CMFCore\CMFCatalogAware.py", line 222, in __recurse
getattr(ob, name)(*args) File "D:\Program Files\Enfold
Server\Client\Products\PloneCollectorNG\Collector.py", line 110, in
manage_afterAdd BaseBTreeFolder.manage_afterAdd(self, item, container)
File "D:\Program Files\Enfold
Server\Products\Archetypes\BaseBTreeFolder.py", line 36, in
manage_afterAdd BaseFolder.manage_afterAdd(self, item, container) File
"D:\Program Files\Enfold Server\Products\Archetypes\BaseFolder.py", line
104, in manage_afterAdd CatalogMultiplex.manage_afterAdd(self, item,
container) File "D:\Program Files\Enfold
Server\Products\CMFCore\CMFCatalogAware.py", line 186, in
manage_afterAdd self.__recurse('manage_afterAdd', item, container) File
"D:\Program Files\Enfold Server\Products\CMFCore\CMFCatalogAware.py",
line 222, in __recurse getattr(ob, name)(*args) File "D:\Program
Files\Enfold Server\Client\Products\PloneCollectorNG\Issue.py", line
141, in manage_afterAdd BaseBTreeFolder.manage_afterAdd(self, item,
container) File "D:\Program Files\Enfold
Server\Products\Archetypes\BaseBTreeFolder.py", line 36, in
manage_afterAdd BaseFolder.manage_afterAdd(self, item, container) File
"D:\Program Files\Enfold Server\Products\Archetypes\BaseFolder.py", line
104, in manage_afterAdd CatalogMultiplex.manage_afterAdd(self, item,
container) File "D:\Program Files\Enfold
Server\Products\CMFCore\CMFCatalogAware.py", line 185, in
manage_afterAdd self.indexObject() File "D:\Program Files\Enfold
Server\Client\Products\PloneCollectorNG\Issue.py", line 539, in
reindexObject self._get_catalog().indexObject(self) # reindex with
collector catalog File "D:\Program Files\Enfold
Server\Products\CMFCore\CatalogTool.py", line 325, in indexObject
self.catalog_object(object, url) File "D:\Program Files\Enfold
Server\Products\CMFCore\CatalogTool.py", line 318, in catalog_object
ZCatalog.catalog_object(self, w, uid, idxs, update_metadata) File
"D:\Program Files\Enfold
Server\Zope\lib\python\Products\ZCatalog\ZCatalog.py", line 528, in
catalog_object update_metadata=update_metadata) File "D:\Program
Files\Enfold Server\Zope\lib\python\Products\ZCatalog\Catalog.py", line
369, in catalogObject self.updateMetadata(object, uid) File "D:\Program
Files\Enfold Server\Zope\lib\python\Products\ZCatalog\Catalog.py", line
298, in updateMetadata newDataRecord = self.recordify(object) File
"D:\Program Files\Enfold
Server\Zope\lib\python\Products\ZCatalog\Catalog.py", line 437, in
recordify if(attr is not MV and safe_callable(attr)): attr=attr() File
"D:\Program Files\Enfold
Server\Products\Archetypes\ExtensibleMetadata.py", line 406, in created
created = self.getField('creation_date').get(self) AttributeError:
'NoneType' object has no attribute 'get'
* File "D:\Program Files\Enfold
Server\Products\CMFPlone\MigrationTool.py", line 265, in upgrade newv,
msgs = self._upgrade(newv)
* File "D:\Program Files\Enfold
Server\Products\CMFPlone\MigrationTool.py", line 362, in _upgrade res =
function(self.aq_parent)
* File "D:\Program Files\Enfold
Server\Products\CMFPlone\migrations\v2_1\alphas.py", line 67, in
two05_alpha1 migrateToATCT10(portal, out)
* File "D:\Program Files\Enfold
Server\Products\CMFPlone\migrations\v2_1\alphas.py", line 296, in
migrateToATCT10 tool.migrateToATCT()
* File "D:\Program Files\Enfold
Server\Products\ATContentTypes\tool\migration.py", line 252, in
migrateToATCT out, elapse, c_elapse =
self.migrateContentTypesToATCT(portal_types=None)
* File "D:\Program Files\Enfold
Server\Products\ATContentTypes\tool\migration.py", line 272, in
migrateContentTypesToATCT out = migrateAll(portal)
* File "D:\Program Files\Enfold
Server\Products\ATContentTypes\migration\atctmigrator.py", line 239, in
migrateAll migrator=migrator, **kwargs)
* File "D:\Program Files\Enfold
Server\Products\ATContentTypes\migration\common.py", line 224, in
migratePortalType walk.go()
* File "D:\Program Files\Enfold
Server\Products\ATContentTypes\migration\walker.py", line 126, in go
self.migrate(self.walk(), **kwargs)
* File "D:\Program Files\Enfold
Server\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
--
Regards,
PhilK
Email: [EMAIL PROTECTED]
PGP Public key: http://www.xfr.co.uk
Voicemail & Facsimile: 07092 070518
"You'll find that one part's sweet and one part's tart:
say where the sweetness and the sourness start."
- Tony Harrison
_______________________________________________
Setup mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/setup