[Zope] Problems with <dtml-tree>
Phil Harris
phil@philh.org
Fri, 15 Oct 1999 10:21:15 +0100
Hi Ian,
Could you post the dtml code you are using?
I think I know the answer but need to see the code to make sure ;)
Phil
phil@philh.org
-----Original Message-----
From: clarkeia@zope.org [mailto:clarkeia@zope.org]On Behalf Of Ian
Clarke
Sent: Friday, October 15, 1999 10:08 AM
To: zope@zope.org
Subject: [Zope] Problems with <dtml-tree>
Hi, I have been trying to create a site making use of the dtml-tree
tag. To get started I tried to follow the "Inplementing a navigation
tree" section of the Zbook tutorials. I entered everything more or less
exactly as was printed (I made some changes to the HTML output).
Everything seems to display correctly when I initially view the page (a
tree of my "Outline" folder is displayed), however whenever I click on
any of the sub-folders I get the error to be found at the end of this
email.
Can anyone give me a pointer as to what is going wrong?
Also, on a general point - is there any effort being made to make the
error reporting system more newbie friendly?
Ian.
Traceback (innermost last):
File /home/zope/Zope/lib/python/ZPublisher/Publish.py, line 214, in
publish_module
File /home/zope/Zope/lib/python/ZPublisher/Publish.py, line 179, in
publish
File /home/zope/Zope/lib/python/Zope/__init__.py, line 201, in
zpublisher_exception_hook
(Object: ElementWithAttributes)
File /home/zope/Zope/lib/python/ZPublisher/Publish.py, line 165, in
publish
File /home/zope/Zope/lib/python/ZPublisher/mapply.py, line 160, in
mapply
(Object: main)
File /home/zope/Zope/lib/python/ZPublisher/Publish.py, line 102, in
call_object
(Object: main)
File /home/zope/Zope/lib/python/OFS/DTMLDocument.py, line 166, in
__call__
(Object: main)
File /home/zope/Zope/lib/python/DocumentTemplate/DT_String.py, line
502, in __call__
(Object: main)
File /home/zope/Zope/lib/python/OFS/DTMLMethod.py, line 141, in
__call__
(Object: standard_html_header)
File /home/zope/Zope/lib/python/DocumentTemplate/DT_String.py, line
502, in __call__
(Object: standard_html_header)
File /home/zope/Zope/lib/python/OFS/DTMLDocument.py, line 162, in
__call__
(Object: ll_menu)
File /home/zope/Zope/lib/python/DocumentTemplate/DT_String.py, line
502, in __call__
(Object: ll_menu)
File /home/zope/Zope/lib/python/TreeDisplay/TreeTag.py, line 151, in
render
(Object: Outline)
AttributeError: __call__
--
Ian Clarke Email: I.Clarke@strs.co.uk
Homepage: http://www.gnu.demon.co.uk/
Also see: http://freenet.on.openprojects.net/
"All we see and all we seem is but a dream within a dream"
_______________________________________________
Zope maillist - Zope@zope.org
http://www.zope.org/mailman/listinfo/zope
(Related lists - please, no cross posts or HTML encoding!
To receive general Zope announcements, see:
http://www.zope.org/mailman/listinfo/zope-announce
For developer-specific issues, zope-dev@zope.org -
http://www.zope.org/mailman/listinfo/zope-dev )