This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author dmalcolm
Recipients dmalcolm, pmuldoon, tromey
Date 2013-06-14.15:06:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
pmuldoon: did you truncate the output of bt?  (or did the superior gdb you're using do this behind the scenes?  I know you hack on gdb itself, and this looks a superior gdb debugging an inferior gdb).

The reason for this error:

    Python Exception <type 'exceptions.IOError'> (2, 'No such file or directory', '<string>'): 

is that py-bt is attempting to print the line of source code that the frame is at, but the source was provided as a string, not a file, presumably due to a call to PyRun_SimpleString et al.

Python sets the filename of such code to be the dummy name "<string>", and py-bt attempts to use that as a real filename and open it, failing (unless you happen to have a file named "<string>" in which case it tries to list it).
Date User Action Args
2013-06-14 15:06:52dmalcolmsetrecipients: + dmalcolm, tromey, pmuldoon
2013-06-14 15:06:51dmalcolmsetmessageid: <>
2013-06-14 15:06:51dmalcolmlinkissue18213 messages
2013-06-14 15:06:51dmalcolmcreate