[Zope] tracebacks
Tom Deprez
tom.deprez@uz.kuleuven.ac.be
Tue, 01 Aug 2000 13:40:53 +0200
Hi,
Can somebody explain me how you can use the given tracebacks to find the
possible error? For example, I get the following error and I know what
causes it, but I don't know where I must go to find the code-line where the
error starts:
I get the following error when I use a table in which a field is defined
with a default string value.
eg :
MY_NAME CHAR(20) DEFAULT 'tom'
MY_DATE TIMESTAMP DEFAULT '6/07/2000'
MY_DATE TIMESTAMP DEFAULT 'NOW'
---
Zope Error
Zope has encountered an error while publishing this resource.
Error Type: cPickle.PicklingError
Error Value: Cannot pickle objects.
---
<!--
Traceback (innermost last):
File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 222, in
publish_module
File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 187, in publish
File /usr/local/zope/lib/python/Zope/__init__.py, line 221, in
zpublisher_exception_hook
File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 175, in publish
File /usr/local/zope/lib/python/Zope/__init__.py, line 235, in commit
File /usr/local/zope/lib/python/ZODB/Transaction.py, line 251, in commit
File /usr/local/zope/lib/python/ZODB/Connection.py, line 348, in commit
(Info: (('Products.ZnolkSQLWizard.Wizard', 'ZnolkSQLWizard'),
'\000\000\000\000\000\000\015\025', ''))
cPickle.PicklingError: (see above)
-->
Thanks for any advice.
Tom