Package: spykeviewer
Version: 0.4.4-1
Severity: important

Dear Maintainer,

I prepared the new qtconsole and spyder package which are available in 
experimental

When I try to start spydeviewer with these new versions, I get this

$ spykeviewer 
/usr/lib/python2.7/dist-packages/IPython/qt.py:13: ShimWarning: The 
`IPython.qt` package has been deprecated. You should import from qtconsole 
instead.
  "You should import from qtconsole instead.", ShimWarning)
Traceback (most recent call last):
  File "/usr/bin/spykeviewer", line 9, in <module>
    load_entry_point('spykeviewer==0.4.4', 'gui_scripts', 'spykeviewer')()
  File "/usr/lib/python2.7/dist-packages/spykeviewer/start.py", line 43, in main
    ui = MainWindowNeo(splash=splash)
  File "/usr/lib/python2.7/dist-packages/spykeviewer/ui/main_window_neo.py", 
line 40, in __init__
    super(MainWindowNeo, self).__init__(parent, splash)
  File "/usr/lib/python2.7/dist-packages/spykeviewer/ui/main_window.py", line 
120, in __init__
    self.init_python()
  File "/usr/lib/python2.7/dist-packages/spykeviewer/ui/main_window.py", line 
497, in init_python
    ns = self.get_console_objects()
  File "/usr/lib/python2.7/dist-packages/spykeviewer/ui/main_window_neo.py", 
line 85, in get_console_objects
    d = super(MainWindowNeo, self).get_console_objects()
  File "/usr/lib/python2.7/dist-packages/spykeviewer/ui/main_window.py", line 
433, in get_console_objects
    import matplotlib.pyplot as plt
  File "/usr/lib/python2.7/dist-packages/matplotlib/pyplot.py", line 109, in 
<module>
    _backend_selection()
  File "/usr/lib/python2.7/dist-packages/matplotlib/pyplot.py", line 91, in 
_backend_selection
    import PyQt5.QtWidgets
  File "/usr/lib/python2.7/dist-packages/qtconsole/qt_loaders.py", line 55, in 
load_module
    """ % (fullname, loaded_api()))
ImportError: 
    Importing PyQt5 disabled by QtConsole, which has
    already imported an incompatible Qt Binding: pyqt

The fact is that pyqt which is a dependency of spyder 3.x, use pyQT5 by default.
could you fix spykeviwer and migrate to pyQT5.

nevertheless if you force pyQT4

$ QT_API=pyqt spykeviewer                                                       
                                                          
/usr/lib/python2.7/dist-packages/IPython/qt.py:13: ShimWarning: The 
`IPython.qt` package has been deprecated. You should import from qtconsole 
instead.
  "You should import from qtconsole instead.", ShimWarning)

You get this warning and the application does not start.

so the package should be adapted to the new qtconsole package.

Cheers

Frederic

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 4.6.0-1-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages spykeviewer depends on:
ii  python             2.7.11-2
ii  python-guidata     1.7.4-1
ii  python-guiqwt      3.0.2-2
ii  python-matplotlib  1.5.2~rc2-1
ii  python-neo         0.3.3-2
ii  python-nose        1.3.7-2
ii  python-scipy       0.17.1-1
ii  python-sphinx      1.4.6-1
ii  python-spyderlib   3.0.0~b5+dfsg1-1
ii  python-spykeutils  0.4.3-1
ii  python-tables      3.2.2-3

Versions of packages spykeviewer recommends:
ii  ipython-qtconsole  4.2.1-1
ii  libjs-jquery       1.12.4-1
ii  libjs-underscore   1.7.0~dfsg-1

spykeviewer suggests no packages.

-- no debconf information

Reply via email to