24 May
2003
24 May
'03
8:06 p.m.
Jamie wrote at 2003-5-23 19:06 -0400:
Quick question, I built a ZClass that should create a Content Folder object, but when I try to add one it gives me this error:
Zope Error
Zope has encountered an error while publishing this resource.
Error Type: AttributeError Error Value: has_key
I looked for this attribute in all of the DTML methods, python scripts, etc. that are involved in creating the Content Folder and couldn't find it anywhere.
Tracebacks are incredibly helpful. Look at them! In Zope 2.6, you find them in an object called "error_log" (in your Zope root folder). In earlier Zope version, you see the traceback in the HTML source or your error page. Dieter