Bug 1482258

Summary: [abrt] python3-qtconsole: load_qt(): qt_loaders.py:309:load_qt:ImportError:
Product: [Fedora] Fedora Reporter: jniederm
Component: python-qtconsoleAssignee: Mukundan Ragavan <nonamedotc>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: nonamedotc
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/ffa62cf3dcd66bea5cb333508d0cf4b8f25b1daf
Whiteboard: abrt_hash:30a0f2cbbaa3e89c5502e535d668989d511b3ce6;VARIANT_ID=workstation;
Fixed In Version: python-qtconsole-4.3.1-1.fc27 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-01-13 23:18:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: cpuinfo
none
File: environ
none
File: mountinfo
none
File: namespaces
none
File: open_fds none

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.