[Zope] Default ZClass constructor not working? (was: re: Zope.org feedba
ck)
Leeuw van der, Tim
tim.leeuwvander@nl.unisys.com
Fri, 10 Jan 2003 16:04:00 -0600
Hi,
Thanks for your response. I kind of suspected that the PythonScript
constructor would be a zope2.6 thing.
Still leaves me with the default DTML Constructor Method for a ZClass not
working. The traceback is:
Site Error
An error was encountered while publishing this resource.
NameError
Sorry, a site error occurred.
Traceback (innermost last):
File C:\Program Files\ZopeSite\lib\python\ZPublisher\Publish.py, line 150,
in publish_module
File C:\Program Files\ZopeSite\lib\python\ZPublisher\Publish.py, line 114,
in publish
File C:\Program Files\ZopeSite\lib\python\Zope\__init__.py, line 159, in
zpublisher_exception_hook
(Object: tbEntry_factory)
File C:\Program Files\ZopeSite\lib\python\ZPublisher\Publish.py, line 98,
in publish
File C:\Program Files\ZopeSite\lib\python\ZPublisher\mapply.py, line 88,
in mapply
(Object: tbEntry_add)
File C:\Program Files\ZopeSite\lib\python\ZPublisher\Publish.py, line 39,
in call_object
(Object: tbEntry_add)
File C:\Program Files\ZopeSite\lib\python\OFS\DTMLMethod.py, line 127, in
__call__
(Object: tbEntry_add)
File C:\Program Files\ZopeSite\lib\python\DocumentTemplate\DT_String.py,
line 473, in __call__
(Object: tbEntry_add)
File C:\Program Files\ZopeSite\lib\python\DocumentTemplate\DT_With.py,
line 61, in render
(Object: tbEntry.createInObjectManager(REQUEST['id'], REQUEST))
File C:\Program Files\ZopeSite\lib\python\DocumentTemplate\DT_Util.py,
line 159, in eval
(Object: tbEntry.createInObjectManager(REQUEST['id'], REQUEST))
(Info: REQUEST)
File <string>, line 2, in f
NameError: global name 'tbEntry' is not defined
Zope 2.5.1; platform: win2k. Installed the default binary build downloaded
from zope.org. Never had any previous version of Zope installed.
Any clues, anyone?
--Tim