On Thursday 2013 February 28 17:13, Brenden Brown wrote:
> fatal error: Python.h: No such file or directory
Try the above in Google for the answer.
Yonder nor sorghum stenches shut ladle gulls stopper torque wet
Christopher Trudeau <ctrudeau+pudb(a)arsensa.com> writes:
> I just saw the 2012.3 upgrade includes the ability to drop into the
> shell and was rather excited. In trying it out, I have discovered it
> doesn't seem to be too happy with django. The program itself is fine
> (I've done all the signal changes in urwid and use pudb for django
> regularly), but when I attempt to go the shell it complains about
> The stack trace shows an IOError:Operation not permitted at line 28 of
> pudb/shell.py in setup_readline.
> Any help would be appreciated. I've been wanting this feature for a
> long time and am hoping it can be run with django's debug server.
I've added some error handling code around that line. Code is in
git. Let me know if that fixes it for you.
when I try to get the traceback of an exception
pudb fails itself at
File "/usr/lib64/python3.3/traceback.py", line 122, in _iter_chain
context = exc.__context__
AttributeError: 'str' object has no attribute '__context__'
This is with pudb-2012.3
It looks as if exc is of type string and not an Exception object.
Thanks for looking into it,