New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pdb freezes inside qtconsole #681
Comments
just had it happen again. same error in the terminal. this time, with lots of banging out Ctrl-C in the console, i managed to also yield the error: /usr/local/lib/python2.7/dist-packages/IPython/zmq/session.py(569)recv() (apologies if there are any spelling mistakes there -- i had to type this by hand) but my Ctrl-C-ing in the end amount to naught, as I had to restart the kernel... |
(sorry, didn't mean to close the issue) I'm not sure if this is a related or separate issue, but after restarting the kernel above by using Ctrl-., the kernel didn't actually successfully restart. Rather, it cleared the window, printed the header, and no prompt ever displayed. This isn't simply a console issue as if I try to connect a new console to the kernel (via --existing etc), the new console does exactly the same thing: it prints the header, but no prompts. in the meanwhile, i'm getting lots of these in the terminal that launched the original kernel/console: when i look at the terminal during any session, there are heaps of these warnings. i'm running on ubuntu 11.04 if that's useful. |
just happened again. pdb is barely functional in qtconsole. this time i have a screenshot of a traceback (the console window is frozen, so i can't copy and paste): |
I have a slightly different problem. pdb works in the QT console but I cannot access the history: neither the up key nor CTRL+up works. I'm using PySide on OS X Lion. |
Yep -- I have the same problem. I raised it in issue #682. |
The 'Widget is already reading' RuntimeError has been fixed in master. It would be caused if the raw_input was interrupted and another raw_input request was made, while the frontend had not yet replied to the first. Now, the frontend interprets all new raw_input requests as superseding any currently active requests and starts over. Since the various other pdb-in-qt issues have been raised elsewhere (#682, #902), I'm closing this one as fixed. |
I'm trying to use pdb.set_trace() inside some code which I'm running in a qtconsole, and it keeps freezing on me during the pdb session. One error message I received was the following:
The remainder of the time, I just get the following message:
Warning: received unknown payload of type 'IPython.zmq.zmqshell.ZMQInteractiveShell.auto_rewrite_input'
I haven't quite figured out the pattern yet on where in the pdb session this bug is raised, but it is fatal. I'm running the latest commit (8af0993) on ubuntu 11.04, on python 2.7.1+ (r271:86832).
Happy to provide more info.
Neil
The text was updated successfully, but these errors were encountered: