[Zope] __call__ error message - I gave up

cuiod-tec Jens Gelhaar jeg@cuiod-tec.de
Wed, 16 Aug 2000 11:06:38 +0200


What I like to do is pretty simple, but I don't get it. The following code
snippet is simple and what I want to is straightforward:

<dtml-in "objectItems('DTML Document')">
  <dtml-var sequence-item>
</dtml-in>

All DTML Documents in a Folder should be put together in one document. It
works fine, if there is no reference to another object. But when I put
something like
<dmtl-var imageobject> in one of this DTML Document I get the appended error
message.

Any Idea

Jens

----------------------------------------------------
Error Type: AttributeError
Error Value: __call__


Traceback (innermost last):
  File E:\Programme\WebSite\lib\python\ZPublisher\Publish.py, line 222, in
publish_module
  File E:\Programme\WebSite\lib\python\ZPublisher\Publish.py, line 187, in
publish
  File E:\Programme\WebSite\lib\python\Zope\__init__.py, line 221, in
zpublisher_exception_hook
    (Object: Traversable)
  File E:\Programme\WebSite\lib\python\ZPublisher\Publish.py, line 171, in
publish
  File E:\Programme\WebSite\lib\python\ZPublisher\mapply.py, line 160, in
mapply
    (Object: index_html)
  File E:\Programme\WebSite\lib\python\ZPublisher\Publish.py, line 112, in
call_object
    (Object: index_html)
  File E:\Programme\WebSite\lib\python\OFS\DTMLMethod.py, line 172, in
__call__
    (Object: index_html)
  File E:\Programme\WebSite\lib\python\DocumentTemplate\DT_String.py, line
502, in __call__
    (Object: index_html)
  File E:\Programme\WebSite\lib\python\DocumentTemplate\DT_In.py, line 691,
in renderwob
    (Object: objectItems('DTML Document'))
  File E:\Programme\WebSite\lib\python\OFS\DTMLDocument.py, line 167, in
__call__
    (Object: subdocument)
  File E:\Programme\WebSite\lib\python\DocumentTemplate\DT_String.py, line
502, in __call__
    (Object: subdocument)
AttributeError: (see above)