Dmitry Slusarchuk writes:
 > I'm new to Zope development but I have already encountered such a problem:
 > <dtml-var myimage> from dtml document generates the following:
 > Zope Error
 > Zope has encountered an error while publishing this resource. 
 > Error Type: AttributeError
 > Error Value: __call__
 > this problem disappears when I do smth like <dtml-var myimage>
 > from dtml method. what should I do?
 > In addition 
 > I run Zope ver. 2.2.2 and Python 1.5.2 under Win98.
This looks like the "cDocumentTemplate/Acquisition" bug
(see the locator (URL:
for a description).

The problem usually occurs in the context of a

        <dtml-with folder>

You can work around it by using

        <dtml-with "PARENTS[0].folder">



Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to