[Zope] funny import-bug?

Dieter Maurer dieter at handshake.de
Tue Sep 21 13:22:12 EDT 2004


Jonathan Hobbs wrote at 2004-9-21 08:21 -0400:
> ...
>  File /home/xiteflex130/lib/python/ZODB/ExportImport.py, line 148, in
>_importDuringCommit
>TypeError: __import__() argument 1 must be string without null bytes, not
>string

Looks like your "zexp" is corrupt.

The builtin function "__import__" is called and it complains
that its first argument (the name of the module to be imported) contains
null bytes. Definitely, module names should not contain null bytes...

-- 
Dieter


More information about the Zope mailing list