[Zope-dev] any way to get older style error_tb?

Michael Best mbest@emergence.com
Fri, 02 May 2003 10:17:41 -0600


The object names and the filenames are left off of the newer error type
and that makes it hard to figure out which of many objects which may be
called together to publish a page was responsible for the error.

The Filenames in this case aren't a big deal...but what happened to the
Object names?

I can provide a more detailed example of missing details later too when
I get it from our developers.

-Mike

Zope 2.4.3 style:

Error Type: error
Error Value: ACK

Traceback (innermost last):
  File /usr/local/Zope-2.3.3/lib/python/ZPublisher/Publish.py, line 171,
in publish
  File /usr/local/Zope-2.3.3/lib/python/ZPublisher/mapply.py, line 160,
in mapply
    (Object: fake_error)
  File /usr/local/Zope-2.3.3/lib/python/ZPublisher/Publish.py, line 112,
in call_object
    (Object: fake_error)
  File /usr/local/Zope-2.3.3/lib/python/OFS/DTMLDocument.py, line 189,
in __call__
    (Object: fake_error)
  File /usr/local/Zope-2.3.3/lib/python/DocumentTemplate/DT_String.py,
line 540, in __call__
    (Object: fake_error)
  File /usr/local/Zope-2.3.3/lib/python/DocumentTemplate/DT_Raise.py,
line 128, in render
    (Object: error)
error: ACK


Same Error, Zope 2.6.1:

Error Type: error
Error Value: ACK

Traceback (innermost last):

    * Module ZPublisher.Publish, line 98, in publish
    * Module ZPublisher.mapply, line 88, in mapply
    * Module ZPublisher.Publish, line 39, in call_object
    * Module OFS.DTMLMethod, line 126, in __call__
    * Module DocumentTemplate.DT_String, line 474, in __call__
    * Module DocumentTemplate.DT_Raise, line 56, in render

error: ACK

-- 
Michael Best
Systems Administrator           ph 780-413-6397 x230
Emergence By Design            fax 780-433-7548
#200, 11209 Jasper Avenue     toll 866-860-2666
Edmonton, Alberta, T5K 0L5