[IronPython] Trying to use the library preppy from reportlib in ironpython and silverlight
Vineet Jain (gmail)
vinjvinj at gmail.com
Mon Apr 7 00:57:49 CEST 2008
The following code is in preppy to give syntax errors in the templates:
import traceback
tb = traceback.format_tb(tb)
tb = string.join(tb, "\n")
# how to get the line in the script for the error?
raise ValueError, "bad script code for %s\n%s\n\n%s\n%s\n%s" % (
compilemode, ddblock, t, v, tb)
ironpython does not have the module traceback. Is there some other way to do
this?
Thanks,
Vineet
More information about the Ironpython-users
mailing list