[Tutor] What is in the traceback object
Ertl, John
john.ertl at fnmoc.navy.mil
Tue Feb 8 19:31:32 CET 2005
I have a bit of code that uses a module and I am trying to get more info on
the error.
I am using this bit of code:
try:
rhfill = Ngl.contour(wks,rhisobar,rh_res)
except:
execType,value,tracebak = sys.exc_info()[:3]
print execType
print value
print tracebak
In the log file I get this:
exceptions.SystemError
error return without exception set
<traceback object at 0xb6cf2c84>
How do I get the actual traceback so I can read it?
Thanks,
John Ertl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20050208/0e92e952/attachment.html
More information about the Tutor
mailing list