[Zope] funny import-bug?

jens.walte at kk.net jens.walte at kk.net
Tue Sep 21 04:31:28 EDT 2004


Hello,

i've got the following error while trying to import something,
has anybody an idea about the reason?

I tried to import a .zexp (deep structure with ~ 300MB).
The folder-id i tried to import currently doesn't exist.

thanks for your help!

regards,
J. Walte



TypeError

Traceback (innermost last):
  File /home/xiteflex130/lib/python/ZPublisher/Publish.py, line 150, in publish_module
  File /home/xiteflex130/lib/python/ZPublisher/Publish.py, line 114, in publish
  File /home/xiteflex130/lib/python/Zope/__init__.py, line 159, in zpublisher_exception_hook
    (Object: xiteflex root folder)
  File /home/xiteflex130/lib/python/ZPublisher/Publish.py, line 98, in publish
  File /home/xiteflex130/lib/python/ZPublisher/mapply.py, line 88, in mapply
    (Object: manage_importObject)
  File /home/xiteflex130/lib/python/ZPublisher/Publish.py, line 39, in call_object
    (Object: manage_importObject)
  File /home/xiteflex130/lib/python/OFS/ObjectManager.py, line 526, in manage_importObject
    (Object: xiteflex root folder)
  File /home/xiteflex130/lib/python/OFS/ObjectManager.py, line 542, in _importObjectFromFile
    (Object: xiteflex root folder)
  File /home/xiteflex130/lib/python/ZODB/ExportImport.py, line 79, in importFile
  File /home/xiteflex130/lib/python/ZODB/Transaction.py, line 234, in commit
  File /home/xiteflex130/lib/python/ZODB/Connection.py, line 235, in commit
  File /home/xiteflex130/lib/python/ZODB/ExportImport.py, line 148, in _importDuringCommit
TypeError: __import__() argument 1 must be string without null bytes, not string
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20040921/348736f8/attachment.htm


More information about the Zope mailing list