Sometimes i get the AttributError __div__ or __len__ Unfortunately i do not know whats the reason for. What does it mean? Is there an errorlist with the possible values and perhaps a discribtion? greetings Axel
On Sun, 11 Mar 2001, Axel Missbach wrote:
Sometimes i get the AttributError __div__ or __len__ Unfortunately i do not know whats the reason for.
What does it mean?
Is there an errorlist with the possible values and perhaps a discribtion?
__len__ is the python function for 'find-the-length-of' a class, and __div__ for 'divide' a class. You're probably getting __div__ because you're trying things like <dtml-var folder/file> or something like that, hoping show a file within a folder. This should instead be <dtml-with folder> <dtml-var file> </dtml-with> (or dtml-var "folder.file"> in some cases, though that means something different) In any event, if you're getting __div__, Zope probably thinks your trying to divide something. -- Joel Burton <jburton@scw.org> Director of Information Systems, Support Center of Washington
participants (2)
-
Axel.Missbach@t-online.de -
Joel Burton