On Wed, 12 Jul 2000, Robert Wohlfahrt wrote:
> >    I can see the root index_html, but I can't see sub folder -
> > AttributeError.
> >    I think when I view "sub", it acquire index_html from root, but what is
> > the problem with AttributeError?
> I had the same problem and I solved it by using a DTML-Method for
> index_html, not a DTML-Document.

   I did many experiments before asking for help. Making index_html Method
helped a bit, but not much.
   This works: http://phd.russ.ru/pcgi/TEST2/TEST/sub/ (here index_html is
Method), but anyway view_source crashed:

   Here is the view_source (it is DTML Method with Manager proxy role):

<!--#var standard_html_header-->

<!--#var "document_src(REQUEST, RESPONSE)" html_quote-->

<!--#call "RESPONSE.setHeader('content-type', 'text/html')"-->
<!--#var standard_html_footer-->

   And the traceback is:

Traceback (innermost last):
  File ./lib/python/ZPublisher/Publish.py, line 214, in publish_module
  File ./lib/python/ZPublisher/Publish.py, line 179, in publish
  File ./lib/python/Zope/__init__.py, line 202, in
    (Object: index_html)
  File ./lib/python/ZPublisher/Publish.py, line 165, in publish
  File ./lib/python/ZPublisher/mapply.py, line 160, in mapply
    (Object: view_source)
  File ./lib/python/ZPublisher/Publish.py, line 102, in call_object
    (Object: view_source)
  File ./lib/python/OFS/DTMLMethod.py, line 145, in __call__
    (Object: view_source)
  File ./lib/python/DocumentTemplate/DT_String.py, line 502, in __call__
    (Object: view_source)
  File ./lib/python/OFS/DTMLMethod.py, line 141, in __call__
    (Object: standard_html_footer)
  File ./lib/python/DocumentTemplate/DT_String.py, line 502, in __call__
    (Object: standard_html_footer)
AttributeError: __call__

Oleg.            (All opinions are mine and not of my employer)
    Oleg Broytmann      Foundation for Effective Policies      [EMAIL PROTECTED]
           Programmers don't die, they just GOSUB without RETURN.

Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to