Once more, correction of misformatted text for better readability.

----- Original Message ----- From: "Dieter Maurer" <[EMAIL PROTECTED]>
...
It is the same as the event.log plus whole request.
But with Zope 251 error log points me to exact code with problem:
But 294 not:

The modern tracebacks are usually far more informative than the old
ones.

True, they no longer show the source code but the "Module" info
can easily be used to locate the corresponding source file.
An the "line" info lets you find again the exact source code.


Sorry, but I dont see any line of used DTML method to produce this error.

In fact, the error is at line 313 (this number is not present at traceback) of
DTML method named "titulni":

Traceback (innermost last):
 Module ZPublisher.Publish, line 115, in publish
 Module ZPublisher.mapply, line 88, in mapply
 Module ZPublisher.Publish, line 41, in call_object
 Module OFS.DTMLMethod, line 144, in __call__
  - <DTMLMethod at /www/index_html>
  - URL: http://xx/index_html/manage_main
  - Physical Path: /www/index_html
 Module DocumentTemplate.DT_String, line 476, in __call__
 Module Products.unitws, line 21, in render
 Module OFS.DTMLDocument, line 121, in __call__
  - <DTMLDocument at /www/index.htm>
  - URL: http://xx/index.htm/manage_main
  - Physical Path: /www/index.htm
 Module DocumentTemplate.DT_String, line 476, in __call__
 Module OFS.DTMLMethod, line 137, in __call__
  - <DTMLMethod at /www/standard_html_body>
  - URL: http://xx/standard_html_body/manage_main
  - Physical Path: /www/standard_html_body
 Module DocumentTemplate.DT_String, line 476, in __call__
 Module DocumentTemplate.DT_With, line 76, in render
 Module DocumentTemplate.DT_With, line 76, in render
 Module DocumentTemplate.DT_Var, line 214, in render
 Module OFS.DTMLDocument, line 121, in __call__
  - <DTMLDocument at /www/cz/kalendar/titulni>
  - URL: http://xx/cz/kalendar/titulni/manage_main
  - Physical Path: /www/cz/kalendar/titulni
 Module DocumentTemplate.DT_String, line 476, in __call__
 Module Products.unitws, line 21, in render
 Module DocumentTemplate.DT_Util, line 196, in eval
  - __traceback_info__: REQUEST
 Module <string>, line 1, in <expression>
NameError: name 'kalendar_titulni_pouze_akce_str' is not defined

Line 313 where is the error looks:
<dtml-call "REQUEST.set('akce', kalendar_titulni_pouze_akce_str)">

Is somewhere some extra product or patch to show partial code where is error?

Thanks, JL.

_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to