Problem migrating from Archetypes to Dexterity via @@atct_migrator

Hi all

I just played around with mirating just some of the content at once and could migrate FileBlobs, ImageBlobs and Topic.

With Documents and Folders I have some problems. When I try to migrate the Documents, I get the following error:


Traceback (innermost last):

  • Module ZPublisher.Publish, line 138, in publish
  • Module ZPublisher.mapply, line 77, in mapply
  • Module ZPublisher.Publish, line 48, in call_object
  • Module z3c.form.form, line 233, in __ call__
  • Module z3c.form.form, line 228, in update
  • Module plone.app.z3cform.csrf, line 21, in execute
  • Module z3c.form.action, line 98, in execute
  • Module z3c.form.button, line 315, in __ call__
  • Module z3c.form.button, line 170, in __ call__
  • Module plone.app.contenttypes.migration.browser, line 397, in handle_migrate
  • Module plone.app.contenttypes.migration.browser, line 223, in __ call__
  • Module plone.app.contenttypes.migration.migration, line 225, in migrate_documents
  • Module plone.app.contenttypes.migration.migration, line 50, in migrate
  • Module Products.contentmigration.basemigrator.walker, line 144, in go
  • Module Products.contentmigration.basemigrator.walker, line 223, in migrate

MigrationError: MigrationError for obj at /Plone/loosli-benutzer/loosli-hilfe/outlook-reservationen-raum-fahrzeug-und-equipment (Document -> Document):
Traceback (most recent call last):
File "/work/plone/buildout-cache/eggs/Products.contentmigration-2.1.15-py2.7.egg/Products/contentmigration/basemigrator/walker.py", line 192, in migrate
migrator.migrate()
File "/work/plone/buildout-cache/eggs/Products.contentmigration-2.1.15-py2.7.egg/Products/contentmigration/basemigrator/migrator.py", line 214, in migrate
self.renameOld()
File "/work/plone/buildout-cache/eggs/Products.contentmigration-2.1.15-py2.7.egg/Products/contentmigration/basemigrator/migrator.py", line 481, in renameOld
unrestricted_rename(self.parent, self.orig_id, self.old_id)
File "/work/plone/buildout-cache/eggs/Products.contentmigration-2.1.15-py2.7.egg/Products/contentmigration/common.py", line 116, in unrestricted_rename
self._setObject(new_id, ob, set_owner=0)
File "/work/plone/buildout-cache/eggs/Products.BTreeFolder2-2.14.0-py2.7.egg/Products/BTreeFolder2/BTreeFolder2.py", line 461, in _setObject
notify(ObjectAddedEvent(ob, self, id))
File "/work/plone/buildout-cache/eggs/zope.event-3.5.2-py2.7.egg/zope/event/init.py", line 31, in notify
subscriber(event)
File "/work/plone/buildout-cache/eggs/zope.component-3.9.5-py2.7.egg/zope/component/event.py", line 24, in dispatch
zope.component.subscribers(event, None)
File "/work/plone/buildout-cache/eggs/zope.component-3.9.5-py2.7.egg/zope/component/_api.py", line 136, in subscribers
return sitemanager.subscribers(objects, interface)
File "/work/plone/buildout-cache/eggs/zope.component-3.9.5-py2.7.egg/zope/component/registry.py", line 321, in subscribers
return self.adapters.subscribers(objects, provided)
File "/work/plone/buildout-cache/eggs/zope.interface-3.6.7-py2.7-linux-x86_64.egg/zope/interface/adapter.py", line 585, in subscribers
subscription(*objects)
File "/work/plone/buildout-cache/eggs/zope.component-3.9.5-py2.7.egg/zope/component/event.py", line 32, in objectEventNotify
zope.component.subscribers((event.object, event), None)
File "/work/plone/buildout-cache/eggs/zope.component-3.9.5-py2.7.egg/zope/component/_api.py", line 136, in subscribers
return sitemanager.subscribers(objects, interface)
File "/work/plone/buildout-cache/eggs/zope.component-3.9.5-py2.7.egg/zope/component/registry.py", line 321, in subscribers
return self.adapters.subscribers(objects, provided)
File "/work/plone/buildout-cache/eggs/zope.interface-3.6.7-py2.7-linux-x86_64.egg/zope/interface/adapter.py", line 585, in subscribers
subscription(*objects)
File "/work/plone/buildout-cache/eggs/wicked-1.1.12-py2.7.egg/wicked/at/subscriber.py", line 46, in at_handle_target_moved
for field in ISchema(target).fields():
TypeError: ('Could not adapt', None, < InterfaceClass Products.Archetypes.interfaces.schema.ISchema>)


Also here: How can I find out, what the problem with this Document is? When I open it in Plone, I cannot see anything being wrong :frowning:
-> I need to migrate over 350 Documents and 33 Folders...

Than kyou for your help and kind regards
David