[Python-modules-team] Bug#844620: [python3-qtconsole] missing dependency on python3-pyqt5.qtsvg or alternatives

Arian Sanusi arian at sanusi.de
Thu Nov 17 16:41:31 UTC 2016

Package: python3-qtconsole
Version: 4.2.1-2
Severity: normal

--- Please enter the report below this line. ---
python3-qtconsole has a missing dependency on PyQt5.qtsvg or alternatives. Most possibly stumbled when starting jupyter-qtconsole. Understanding this got harder because upstream messed with python's import...

>>> import qtconsole.qt
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/qtconsole/qt.py", line 23, in <module>
    QtCore, QtGui, QtSvg, QT_API = load_qt(api_opts)
  File "/usr/lib/python3/dist-packages/qtconsole/qt_loaders.py", line 309, in load_qt
    Could not load requested Qt binding. Please ensure that
    PyQt4 >= 4.7, PyQt5 or PySide >= 1.0.3 is available,
    and only one is imported per session.

    Currently-imported Qt library:   None
    PyQt4 installed:                 False
    PyQt5 installed:                 False
    PySide >= 1.0.3 installed:       False
    Tried to load:                   ['pyqt5', 'pyside', 'pyqt']

this is _not_ resolved by just installing python3-pyqt5, but rather by installing python3-pyqt5.qtsvg - the dependency should alternatively point to the appropriate PyQt4 and PySide, but I did not investigate which package should be the dependancy exactly.

--- System information. ---
Architecture: Kernel:       Linux 4.7.0-1-amd64

Debian Release: stretch/sid
  800 testing         ftp.de.debian.org   600 stable          ftp.de.debian.org   550 unstable        ftp.de.debian.org   500 xenial          ppa.launchpad.net   200 experimental    ftp.de.debian.org
--- Package information. ---
Depends                        (Version) | Installed
python3-ipykernel                        | 4.5.0-3
python3-jupyter-client                   | 4.4.0-2
python3-jupyter-core                     | 4.2.0-2
python3-pygments                         | 2.1.3+dfsg-1
python3-traitlets                        | 4.3.1-1
python3:any                (>= 3.3.2-2~) |

Package's Recommends field is empty.

Package's Suggests field is empty.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20161117/487e304f/attachment.sig>

More information about the Python-modules-team mailing list