Re: [Zope] dtml document bug
30 Oct
2000
30 Oct
'00
7:25 p.m.
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:http://classic.zope.org:8080/Locator) 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"> instead. Dieter
9288
Age (days ago)
9288
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dieter Maurer