[Zope-dev] Zope 2.3.1b3 problem
Andy Dawkins
andyd@nipltd.com
Mon, 26 Mar 2001 10:29:07 +0100
People
I have found this small problem but I don't know where it is coming from
or why.
If you create a Python Script in a folder:
-------
print container.id
return printed
-------
If fails with this error:
Error Type: TypeError
Error Value: call of non-function (type list)
Traceback (innermost last):
File /usr/zope/zope-2_3_1b3/lib/python/ZPublisher/Publish.py, line
223, in publish_module
File /usr/zope/zope-2_3_1b3/lib/python/ZPublisher/Publish.py, line
187, in publish
File /usr/zope/zope-2_3_1b3/lib/python/Zope/__init__.py, line 221, in
zpublisher_exception_hook
(Object: Traversable)
File /usr/zope/zope-2_3_1b3/lib/python/ZPublisher/Publish.py, line
171, in publish
File /usr/zope/zope-2_3_1b3/lib/python/ZPublisher/mapply.py, line 160,
in mapply
(Object: hmmmm)
File /usr/zope/zope-2_3_1b3/lib/python/ZPublisher/Publish.py, line
112, in call_object
(Object: hmmmm)
File /usr/zope/zope-2_3_1b3/lib/python/Shared/DC/Scripts/Bindings.py,
line 324, in __call__
(Object: hmmmm)
File /usr/zope/zope-2_3_1b3/lib/python/Shared/DC/Scripts/Bindings.py,
line 353, in _bindAndExec
(Object: hmmmm)
File
/usr/zope/zope-2_3_1b3/lib/python/Products/PythonScripts/PythonScript.py,
line 336, in _exec
(Object: hmmmm)
(Info: ({'script': <PythonScript instance at 83c9878>, 'context':
<Folder instance at 874b608>, 'container': <Folder instance at 874b608>,
'traverse_subpath': []}, (), {}, None))
File Script (Python), line 2, in hmmmm
(Object: <lambda>)
TypeError: (see above)
I have managed to reproduce this on Zope 2.3.1b2 and Zope 2.3.1b3 but it
works fine on Zope 2.3.1b1
Any Ideas/Assistance?
-Andy