Skip to content
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

BUG:saving a modified .py file after loading a module kills the kernel #2914

Closed
ghost opened this issue Feb 11, 2013 · 1 comment
Closed
Milestone

Comments

@ghost
Copy link

ghost commented Feb 11, 2013

Edit:
I'm still not sure on the exact conditions required to reproduce, but
this seems to happen when I spawn some threads in an imported module,
followed by, I kid not, editing and saving one of the source files of the
module, or even some files of the ipython package itself.
Very strange, and the only error message is what appears below
in the original post. ideas?

I'm working on some of my own multithreaded code in qtconsole and
getting frequent "restart kernel" prompts, probably due to kernel crashes.

All I'm seeing in the shell is:

λ ipython qtconsole
[IPKernelApp] To connect another client to this kernel, use:
[IPKernelApp] --existing kernel-2995.json
Traceback (most recent call last):
  File "<string>", line 1, in <module>
NameError: name 'f' is not defined

Can I get the ipython kernel to break into pdb when it crashes?
Are there other forms of built-in tooling for debugging this?

@ghost
Copy link
Author

ghost commented Feb 13, 2013

Resolved and not a problem in IPython.

@ghost ghost closed this as completed Feb 13, 2013
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants