[Zope] How to get nice traceback like from old versions?

Jaroslav Lukesh lukesh at seznam.cz
Tue Feb 5 05:35:09 EST 2008


Hi all,

with Zope version 2.5.1 I was get nice error messages from source of page. 
With 2.9.4 I was get error messages in file log/events.log which is better 
for security reasons, but these messages are not as exact as from old zope 
which give me point to failure like that:
...
  <strong>Error Type: NameError</strong><br>
  <strong>Error Value: global name 'Mailinf' is not defined</strong><br>
...
<!--
Traceback (innermost last):
  File /var/zope/lib/python/ZPublisher/Publish.py, line 150, in 
publish_module
  File /var/zope/lib/python/ZPublisher/Publish.py, line 114, in publish
  File /var/zope/lib/python/Zope/__init__.py, line 159, in 
zpublisher_exception_hook
    (Object: helpdesk)
  File /var/zope/lib/python/ZPublisher/Publish.py, line 98, in publish
  File /var/zope/lib/python/ZPublisher/mapply.py, line 88, in mapply
    (Object: job_define_.htm)
  File /var/zope/lib/python/ZPublisher/Publish.py, line 39, in call_object
    (Object: job_define_.htm)
  File /var/zope/lib/python/OFS/DTMLDocument.py, line 127, in __call__
    (Object: job_define_.htm)
  File /var/zope/lib/python/DocumentTemplate/DT_String.py, line 473, in 
__call__
    (Object: job_define_.htm)
  File /var/zope/lib/python/OFS/DTMLDocument.py, line 120, in __call__
    (Object: job_define.htm)
  File /var/zope/lib/python/DocumentTemplate/DT_String.py, line 473, in 
__call__
    (Object: job_define.htm)
  File /var/zope/lib/python/OFS/DTMLDocument.py, line 120, in __call__
    (Object: job_define_zapis)
  File /var/zope/lib/python/DocumentTemplate/DT_String.py, line 473, in 
__call__
    (Object: job_define_zapis)
  File /var/zope/lib/python/DocumentTemplate/DT_Util.py, line 159, in eval
    (Object: REQUEST.set('Mailinf', Mailinf_VZ + email_delim + Mailinf_MZ + 
email_delim +  Mailinf_GZ + email_delim +  Mailinf_Zadavatel + email_delim + 
Mailinf_Kontakt + email_delim +  Mailinf))
    (Info: email_delim)
  File &lt;string&gt;, line 2, in f
NameError: (see above)

-->

Many thanks, JL. 



More information about the Zope mailing list