bug? type error unicode creating zclass in zope2.6.1b1
hi 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 ZPublisher.Publish, line 150, in publish_module * Module ZPublisher.Publish, line 114, in publish * Module Zope.App.startup, line 182, in zpublisher_exception_hook * Module ZPublisher.Publish, line 102, in publish * Module Zope.App.startup, line 200, in commit * Module ZODB.Transaction, line 236, in commit * Module ZODB.Transaction, line 352, in _commit_objects * 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 -- http://www.kedai.com.my/ http://www.kedai.com.my/eZine http://www.zope.org/Members/kedai http://www.my-zope.org use Zope? you got HOPE
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
participants (2)
-
Bakhtiar A Hamid -
Dieter Maurer