Error details in embedded IronPython
Posted
by
Achim
on Stack Overflow
See other posts from Stack Overflow
or by Achim
Published on 2011-01-04T12:48:18Z
Indexed on
2011/01/05
2:54 UTC
Read the original article
Hit count: 418
Hi,
I'm executing IronPython in my application. A script produces an UnboundNameException with the message "name 'source' is not defined". Because the script is correct in my opinion I would need more error information, but I'm not able to get them from the exception. The exception itself seems not to contain any information about line number of the source of the exception or something like this.
I searched on Google, but all available information seems to be outdated. The Data dictionary of my exception is empty which means that Data["PythonExceptionInfo"] does not exist.
The file version of my IronPython assembly is 2.0.20209.0
Any hint how to get more error details?
cheers, Achim
© Stack Overflow or respective owner