You are not logged in.
Hi,
after a fresh installation of archlinux, ipython started crashing from time to time (I suspect it is related to numpy). Here's the steps to reproduce it:
$ ipython
Python 3.5.1 (default, Dec 7 2015, 12:58:09)
Type "copyright", "credits" or "license" for more information.
IPython 4.0.1 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [1]: import numpy
In [2]: quit()
Do you really want to exit ([y]/n)?
Fatal Python error: PyImport_GetModuleDict: no module dictionary!
Current thread 0x00007f4835191700 (most recent call first):
File "/usr/lib/python3.5/site-packages/traitlets/traitlets.py", line 1076 in on_trait_change
File "/usr/lib/python3.5/site-packages/IPython/core/extensions.py", line 64 in __del__
Aborted (core dumped)I could not find any reference to this error on google.
Can someone confirm this?
Thanks,
Pietro
Last edited by pie86 (2016-02-03 08:40:57)
Offline
No problem here, but I'm running ipython 4.0.2...
> ipython
Python 3.5.1 (default, Dec 7 2015, 12:58:09)
Type "copyright", "credits" or "license" for more information.
IPython 4.0.2 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [1]: import numpy
In [2]: quit()
> Offline
I can confirm the issue!
$ ipython -c "import numpy"
Fatal Python error: PyImport_GetModuleDict: no module dictionary!
Current thread 0x00007f51312bb700 (most recent call first):
File "/usr/lib/python3.5/site-packages/traitlets/traitlets.py", line 1076 in on_trait_change
File "/usr/lib/python3.5/site-packages/IPython/core/extensions.py", line 64 in __del__
Aborted (core dumped)I'm using ipython 4.0.1. Maybe it is related to this https://bugs.python.org/issue26153 and this https://github.com/ipython/traitlets/issues/162.
However, it seems that the problem has already been fixed by upstream https://github.com/ipython/ipython/pull/9040: we just have to wait utill ipython 4.0.3 is released.
Offline
Thank you! I'll mark as solved.
Offline