[Zope] Problem with exporting from 1.x to 2.0.1
Morten W. Petersen
mpeters@online.no
Wed, 06 Oct 1999 23:24:33 +0200
When I export a .bbe file from 1.x try to import it in 2.0.1, I get the
following error:
Traceback (innermost last):
File /morphexground/Zope-2.0.1-src/lib/python/ZPublisher/Publish.py, line 214, in publish_module
File /morphexground/Zope-2.0.1-src/lib/python/ZPublisher/Publish.py, line 179, in publish
File /morphexground/Zope-2.0.1-src/lib/python/Zope/__init__.py, line 201, in
zpublisher_exception_hook
(Object: ApplicationDefaultPermissions)
File /morphexground/Zope-2.0.1-src/lib/python/ZPublisher/Publish.py, line 165, in publish
File /morphexground/Zope-2.0.1-src/lib/python/ZPublisher/mapply.py, line 160, in mapply
(Object: manage_importObject)
File /morphexground/Zope-2.0.1-src/lib/python/ZPublisher/Publish.py, line 102, in call_object
(Object: manage_importObject)
File /morphexground/Zope-2.0.1-src/lib/python/OFS/ObjectManager.py, line 475, in
manage_importObject
(Object: ApplicationDefaultPermissions)
File /morphexground/Zope-2.0.1-src/lib/python/ZODB/ExportImport.py, line 219, in importFile
ExportError: (see above)
Now, I've copied:
DA.py MySQLmodule.so __init__.py db.py
from the old 1.x lib/python/Products/ZMySQLDA, to the new
lib/python/Products/ZMySQLDA, and restarted Zope.
(I've added a database connection in 2.0.1, and everything seems to be fine and dandy.)
Any ideas?
Thanks in advance.