Skip to content

error loading data #3

@dtalmy

Description

@dtalmy

I have a .nc file and have installed pyncview. the menu bar is in pyncview is populated with different variables, but when i click on them, an error window pops up with the following messages:

_Traceback (most recent call last):
File "/media/psf/Home/Documents/code/gotm/cases/blacksea/tutorial-env/lib/python3.6/site-packages/matplotlib/backend_bases.py", line 2785, in _wait_cursor_for_draw_cm
self.set_cursor(cursors.WAIT)
File "/media/psf/Home/Documents/code/gotm/cases/blacksea/tutorial-env/lib/python3.6/site-packages/xmlplot/gui_qt4.py", line 324, in set_cursor
from matplotlib.backends.backend_qt4 import cursord
File "/media/psf/Home/Documents/code/gotm/cases/blacksea/tutorial-env/lib/python3.6/site-packages/matplotlib/backends/backend_qt4.py", line 1, in
from .backend_qt5 import (
ImportError: cannot import name 'exception_handler'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/media/psf/Home/Documents/code/gotm/cases/blacksea/tutorial-env/lib/python3.6/site-packages/pyncview/pyncview.py", line 1587, in onSelectionChanged
self.figurepanel.figure.setUpdating(oldupdating)
File "/media/psf/Home/Documents/code/gotm/cases/blacksea/tutorial-env/lib/python3.6/site-packages/xmlplot/plot.py", line 691, in setUpdating
if allowupdates and self.dirty: self.update()
File "/media/psf/Home/Documents/code/gotm/cases/blacksea/tutorial-env/lib/python3.6/site-packages/xmlplot/plot.py", line 833, in update
self.canvas.draw()
File "/media/psf/Home/Documents/code/gotm/cases/blacksea/tutorial-env/lib/python3.6/site-packages/matplotlib/backends/backend_agg.py", line 392, in draw
else nullcontext()):
File "/usr/lib/python3.6/contextlib.py", line 81, in enter
return next(self.gen)
File "/media/psf/Home/Documents/code/gotm/cases/blacksea/tutorial-env/lib/python3.6/site-packages/matplotlib/backend_bases.py", line 2788, in _wait_cursor_for_draw_cm
self.set_cursor(self.lastCursor)
File "/media/psf/Home/Documents/code/gotm/cases/blacksea/tutorial-env/lib/python3.6/site-packages/xmlplot/gui_qt4.py", line 324, in set_cursor
from matplotlib.backends.backend_qt4 import cursord
File "/media/psf/Home/Documents/code/gotm/cases/blacksea/tutorial-env/lib/python3.6/site-packages/matplotlib/backends/backend_qt4.py", line 1, in
from .backend_qt5 import (
ImportError: cannot import name 'exception_handler'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions