[Zope] bug? type error unicode creating zclass in zope2.6.1b1

Dieter Maurer dieter@handshake.de
Wed, 18 Dec 2002 22:24:16 +0100


Bakhtiar A Hamid writes:
 > when creating zclass in zope2.6.1b1, i have this error[1]
 > 
 > it works if i use zope 2.6.0
 > 
 > --
 > [1] traceback
 > 
 > TypeError
 > Sorry, a site error occurred.
 > 
 > Traceback (innermost last):
 > ...
 >     * Module ZODB.Connection, line 388, in commit
 >       __traceback_info__: (('ZClasses.ZClass', 'ZClass'), 
 > '\x00\x00\x00\x00\x00\x02Ie', '')
 > 
 > TypeError: expected string or Unicode object, None found 
Recently, a problem with "persistent_id" has been reported.

Maybe, that's your problem.
Check the mailing list archives.

If not, what's the code in line 388 of "ZODB/Connection.py".
Something wrong ("None") is passed where a string like object
is expected.


Dieter