IPython console crashes when using netCDF4
See original GitHub issueProblem Description
Spyder 4.0.0b3 crashes when loading and using netCDF4 package within the iPython Console. Does not happen with the editor.
What steps reproduce the problem?
- import netcdf4
- Only in the iPython console -> when typing "netcdf4.Dataset( " the exact same moment as you type the first bracket the IDE crashes and the ubuntu crashes with it.
What is the expected output? What do you see instead?
Instead of opening the function description window the whole thing crashes and takes the ubuntu OS with it.
— Note — I’m running spyder4.0.0b3 via x11 forwarding from our dept. server. Previous versions of Spyder always worked perfectly and smoothly with zero errors.
My local machine runs Ubuntu 18.04.2 LTS The server’s machine is CentOS Linux release 7.4.1708
Versions
- Spyder version: Spyder 4.0.0b3
- Python version: Python 3.7.3 64-bit
- Qt version: Qt 5.9.7
- PyQt version: PyQt5 5.9.2
- Operating System nQt 5.9.7 ame/version: Linux 3.10.0-693.5.2.el7.x86_64
Dependencies
pygments >=2.0 : 2.4.2 (OK)
qdarkstyle >=2.6.4: 2.7 (OK)
sphinx >=0.6.6 : 2.1.0 (OK)
psutil >=0.3 : 5.6.2 (OK)
pyls >=0.27.0 : 0.27.0 (OK)
nbconvert >=4.0 : 5.5.0 (OK)
pandas >=0.13.1 : 0.24.2 (OK)
numpy >=1.7 : 1.16.4 (OK)
sympy >=0.7.3 : 1.4 (OK)
cython >=0.21 : 0.29.13 (OK)
qtconsole >=4.5.0 : 4.5.1 (OK)
IPython >=4.0 : 7.5.0 (OK)
matplotlib >=2.0.0: 3.1.0 (OK)
pylint >=0.25 : 2.3.1 (OK)
Issue Analytics
- State:
- Created 4 years ago
- Comments:12 (6 by maintainers)
Top Results From Across the Web
Spyder iPython console crashing in a long program
My program could possibly take up to four hours to run through all of the satellite data that I am trying to read....
Read more >SlicerCAT error with hdf5 - Development - 3D Slicer Community
One thing to notice is that If I use the console (PythonSlicer) it is fine importing h5py and netCDF4. So it must be...
Read more >Re: Python crashes when opening an OPeNDAP dataset on ...
If you try to use NetCDF4-python (which wraps the Unidata netCDF C library) to open an OPeNDAP dataset on Windows from a directory...
Read more >Python Extension Packages for Windows - Christoph Gohlke
Use pip version 19.2 or newer to install the downloaded .whl files. This page is not a pip package index. Many binaries depend...
Read more >Issues closed in the 0.12 development cycle — IPython 7.30.0 ...
PR #1363: Fix some minor color/style config issues in the qtconsole ... 1015: emacs freezes when tab is hit in ipython with latest...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
issue fixed in spyder4.0.0b4
Cheers!
Cheers, I’ll keep following the thread and if anything comes up I’ll keep u updated thanks for the hard work!