question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

IPython console crashes when using netCDF4

See original GitHub issue

Problem 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?

  1. import netcdf4
  2. 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:closed
  • Created 4 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
stavnacommented, Aug 4, 2019

issue fixed in spyder4.0.0b4

Cheers!

2reactions
stavnacommented, Jul 29, 2019

Cheers, I’ll keep following the thread and if anything comes up I’ll keep u updated thanks for the hard work!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found