Bug 1482258 - [abrt] python3-qtconsole: load_qt(): qt_loaders.py:309:load_qt:ImportError:
Summary: [abrt] python3-qtconsole: load_qt(): qt_loaders.py:309:load_qt:ImportError:
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-qtconsole
Version: 26
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mukundan Ragavan
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:30a0f2cbbaa3e89c5502e535d66...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-16 21:33 UTC by jniederm
Modified: 2018-01-13 23:18 UTC (History)
1 user (show)

Fixed In Version: python-qtconsole-4.3.1-1.fc27
Clone Of:
Environment:
Last Closed: 2018-01-13 23:18:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.77 KB, text/plain)
2017-08-16 21:33 UTC, jniederm
no flags Details
File: cgroup (289 bytes, text/plain)
2017-08-16 21:33 UTC, jniederm
no flags Details
File: cpuinfo (1.23 KB, text/plain)
2017-08-16 21:33 UTC, jniederm
no flags Details
File: environ (1.85 KB, text/plain)
2017-08-16 21:33 UTC, jniederm
no flags Details
File: mountinfo (3.69 KB, text/plain)
2017-08-16 21:33 UTC, jniederm
no flags Details
File: namespaces (102 bytes, text/plain)
2017-08-16 21:33 UTC, jniederm
no flags Details
File: open_fds (241 bytes, text/plain)
2017-08-16 21:33 UTC, jniederm
no flags Details

Description jniederm 2017-08-16 21:33:21 UTC
Description of problem:
Jupyter qt console started from gnome application menu. Interestingly enough it doesn't have any spacific icon but rather generic blue diamond icon with gears inside.

Version-Release number of selected component:
python3-qtconsole-4.2.1-7.fc26

Additional info:
reporter:       libreport-2.9.1
cmdline:        /usr/bin/python3 -s /usr/bin/jupyter-qtconsole-3
crash_function: load_qt
exception_type: ImportError
executable:     /usr/bin/jupyter-qtconsole-3
kernel:         4.12.5-300.fc26.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
qt_loaders.py:309:load_qt:ImportError: 
    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']
    

Traceback (most recent call last):
  File "/usr/bin/jupyter-qtconsole-3", line 2, in <module>
    from qtconsole.qtconsoleapp import main
  File "/usr/lib/python3.6/site-packages/qtconsole/qtconsoleapp.py", line 60, in <module>
    from qtconsole.qt import QtCore, QtGui
  File "/usr/lib/python3.6/site-packages/qtconsole/qt.py", line 23, in <module>
    QtCore, QtGui, QtSvg, QT_API = load_qt(api_opts)
  File "/usr/lib/python3.6/site-packages/qtconsole/qt_loaders.py", line 309, in load_qt
    api_options))
ImportError: 
    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']
    

Local variables in innermost frame:
api: 'pyqt'
loaded: None
loaders: {'pyside': <function import_pyside at 0x7f50887042f0>, 'pyqt': <function import_pyqt4 at 0x7f50887041e0>, 'pyqt5': <function import_pyqt5 at 0x7f5088704268>, 'pyqtv1': functools.partial(<function import_pyqt4 at 0x7f50887041e0>, version=1), 'pyqtdefault': functools.partial(<function import_pyqt4 at 0x7f50887041e0>, version=None)}
api_options: ['pyqt5', 'pyside', 'pyqt']

Potential duplicate: bug 1478629

Comment 1 jniederm 2017-08-16 21:33:27 UTC
Created attachment 1314421 [details]
File: backtrace

Comment 2 jniederm 2017-08-16 21:33:28 UTC
Created attachment 1314422 [details]
File: cgroup

Comment 3 jniederm 2017-08-16 21:33:30 UTC
Created attachment 1314423 [details]
File: cpuinfo

Comment 4 jniederm 2017-08-16 21:33:31 UTC
Created attachment 1314424 [details]
File: environ

Comment 5 jniederm 2017-08-16 21:33:33 UTC
Created attachment 1314425 [details]
File: mountinfo

Comment 6 jniederm 2017-08-16 21:33:35 UTC
Created attachment 1314426 [details]
File: namespaces

Comment 7 jniederm 2017-08-16 21:33:36 UTC
Created attachment 1314427 [details]
File: open_fds

Comment 8 jniederm 2017-08-16 21:37:44 UTC
Installation of 'python3-qt5.x86_64' package fixed the problem, it looks like a problem in rpm dependencies definition.

Comment 9 Mukundan Ragavan 2017-08-16 21:43:36 UTC
Thanks for the report. I will fix this in the (upcoming) update.

Comment 10 Fedora Update System 2017-12-29 16:20:37 UTC
python-nbconvert-5.3.1-2.fc27 python-qtconsole-4.3.1-1.fc27 spyder-3.2.5-2.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-24bfe828bd

Comment 11 Fedora Update System 2017-12-29 19:32:16 UTC
python-nbconvert-5.3.1-2.fc27, python-qtconsole-4.3.1-1.fc27, spyder-3.2.5-2.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-24bfe828bd

Comment 12 Fedora Update System 2018-01-04 23:39:00 UTC
python-nbconvert-5.3.1-2.fc27 python-qtconsole-4.3.1-1.fc27 spyder-3.2.5-3.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-24bfe828bd

Comment 13 Fedora Update System 2018-01-05 11:56:57 UTC
python-nbconvert-5.3.1-2.fc27, python-qtconsole-4.3.1-1.fc27, spyder-3.2.5-3.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-24bfe828bd

Comment 14 Fedora Update System 2018-01-13 23:18:32 UTC
python-nbconvert-5.3.1-2.fc27, python-qtconsole-4.3.1-1.fc27, spyder-3.2.5-3.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.