Version-Release number of selected component: calibre-2.15.0-2.fc21 Additional info: reporter: libreport-2.3.0 cmdline: python2 /usr/bin/calibre --detach /home/techie/Downloads/ebooks_and_mags/PrivateCloud-GeekGuide.epub executable: /usr/bin/calibre kernel: 3.18.7-200.fc21.x86_64 runlevel: N 5 type: Python uid: 1000 Truncated backtrace: #1 <module> in /usr/lib64/calibre/calibre/gui2/comments_editor.py:17 #2 <module> in /usr/lib64/calibre/calibre/gui2/dialogs/comments_dialog_ui.py:41 #3 <module> in /usr/lib64/calibre/calibre/gui2/dialogs/comments_dialog.py:8 #4 <module> in /usr/lib64/calibre/calibre/gui2/library/delegates.py:22 #5 <module> in /usr/lib64/calibre/calibre/gui2/library/views.py:17 #6 <module> in /usr/lib64/calibre/calibre/gui2/init.py:17 #7 <module> in /usr/lib64/calibre/calibre/gui2/ui.py:40 #8 run_gui in /usr/lib64/calibre/calibre/gui2/main.py:335 #9 main in /usr/lib64/calibre/calibre/gui2/main.py:489 #10 calibre in /usr/lib64/calibre/calibre/gui_launch.py:47
Created attachment 996394 [details] File: backtrace
Created attachment 996395 [details] File: environ
What does: rpm -q qt5-qtsensors and rpm -qV qt5-qtsensors return?
[root@workstation techie]# rpm -q qt5-qtsensors package qt5-qtsensors is not installed [root@workstation techie]# rpm -qV qt5-qtsensors package qt5-qtsensors is not installed qt5-qtsensors is not installed, i manually installed the package but still it doesnt seem to be working fine. Traceback (most recent call last): File "/usr/bin/calibre", line 20, in <module> sys.exit(calibre()) File "/usr/lib64/calibre/calibre/gui_launch.py", line 47, in calibre main(args) File "/usr/lib64/calibre/calibre/gui2/main.py", line 489, in main gui_debug=gui_debug) File "/usr/lib64/calibre/calibre/gui2/main.py", line 335, in run_gui from calibre.gui2.ui import Main File "/usr/lib64/calibre/calibre/gui2/ui.py", line 40, in <module> from calibre.gui2.init import LibraryViewMixin, LayoutMixin File "/usr/lib64/calibre/calibre/gui2/init.py", line 17, in <module> from calibre.gui2.library.views import BooksView, DeviceBooksView File "/usr/lib64/calibre/calibre/gui2/library/views.py", line 17, in <module> from calibre.gui2.library.delegates import (RatingDelegate, PubDateDelegate, File "/usr/lib64/calibre/calibre/gui2/library/delegates.py", line 22, in <module> from calibre.gui2.dialogs.comments_dialog import CommentsDialog File "/usr/lib64/calibre/calibre/gui2/dialogs/comments_dialog.py", line 8, in <module> from calibre.gui2.dialogs.comments_dialog_ui import Ui_CommentsDialog File "/usr/lib64/calibre/calibre/gui2/dialogs/comments_dialog_ui.py", line 41, in <module> from calibre.gui2.comments_editor import Editor File "/usr/lib64/calibre/calibre/gui2/comments_editor.py", line 17, in <module> from PyQt5.QtWebKitWidgets import QWebView, QWebPage ImportError: libQt5Positioning.so.5: cannot open shared object file: No such file or directory
Odd. Adding Rex here for comment, perhaps something has changed in the qt5 stack of late?
Reporter, what does this say? rpm -q --whatprovides 'libQt5Sensors.so.5()(64bit)'
Hi Rex [root@workstation techie]# rpm -q --whatprovides 'libQt5Sensors.so.5()(64bit)' hipchat-2.2.1328-1.x86_64 qt5-qtsensors-5.4.0-2.fc21.x86_64 [root@workstation techie]# I guess the issue is with libQt5Sensors.so.5 of hipchat
Yes, please report it to whoever provides hipchat that their rpm is broken: it falsely claims to provide libQt5Sensors
*** Bug 1198876 has been marked as a duplicate of this bug. ***
$ sudo dnf info qt5-qtsensors Last metadata expiration check performed 1:38:32 ago on Mon Nov 9 14:20:28 2015. Installed Packages Name : qt5-qtsensors Arch : x86_64 Epoch : 0 Version : 5.5.0 Release : 3.fc22 Size : 754 k Repo : @System From repo : updates Summary : Qt5 - Sensors component URL : http://www.qt.io/ License : LGPLv2 with exceptions or GPLv3 with exceptions Description : The Qt Sensors API provides access to sensor hardware via QML and C++ : interfaces. The Qt Sensors API also provides a motion gesture recognition : API for devices. And I still have calibre crash on my Fedora 22 system: $ calibre Traceback (most recent call last): File "/usr/bin/calibre", line 20, in <module> sys.exit(calibre()) File "/usr/lib64/calibre/calibre/gui_launch.py", line 61, in calibre from calibre.gui2.main import main File "/usr/lib64/calibre/calibre/gui2/__init__.py", line 8, in <module> from PyQt5.Qt import ( ImportError: cannot import name QStyle So it looks like this bug is still present on Fedora 22: $ rpm -q python-qt5 python-qt5-5.5-1.fc22.x86_64 $ rpm -V python-qt5 $ $ rpm -q --whatprovides 'libQt5Sensors.so.5()(64bit)' qt5-qtsensors-5.5.0-3.fc22.x86_64
ImportError: cannot import name QStyle is a different error than this bug (I'd recommend you open a new one)
After installing calibre 2.42 from updates-testing repo now I get other error. $ calibre Traceback (most recent call last): File "/usr/bin/calibre", line 20, in <module> sys.exit(calibre()) File "/usr/lib64/calibre/calibre/gui_launch.py", line 61, in calibre from calibre.gui2.main import main File "/usr/lib64/calibre/calibre/gui2/__init__.py", line 8, in <module> from PyQt5.QtWidgets import QStyle # Gives a nicer error message than import from Qt ImportError: libQt5Widgets.so.5: cannot open shared object file: No such file or directory Here is dnf install log: $ sudo dnf update calibre --enablerepo=updates-testing Last metadata expiration check performed 0:01:05 ago on Mon Nov 9 16:06:48 2015. Dependencies resolved. ===================================================================================================================================================================================================================== Package Arch Version Repository Size ===================================================================================================================================================================================================================== Installing: qt5-qtenginio x86_64 5.5.0-1.fc22 updates 162 k Upgrading: calibre x86_64 2.42.0-1.fc22 updates-testing 29 M python-qt5 x86_64 5.5.1-2.fc22 updates-testing 3.7 M qt5-qtbase x86_64 5.5.1-4.fc22 updates-testing 3.1 M qt5-qtbase-common noarch 5.5.1-4.fc22 updates-testing 22 k qt5-qtdeclarative x86_64 5.5.1-3.fc22 updates-testing 2.9 M qt5-qtlocation x86_64 5.5.1-2.fc22 updates-testing 660 k qt5-qtmultimedia x86_64 5.5.1-4.fc22 updates-testing 729 k qt5-qtsensors x86_64 5.5.1-2.fc22 updates-testing 192 k qt5-qtserialport x86_64 5.5.1-2.fc22 updates-testing 65 k qt5-qtsvg x86_64 5.5.1-2.fc22 updates-testing 155 k qt5-qtwebchannel x86_64 5.5.1-2.fc22 updates-testing 81 k qt5-qtwebkit x86_64 5.5.1-4.fc22 updates-testing 11 M qt5-qtx11extras x86_64 5.5.1-2.fc22 updates-testing 27 k Transaction Summary ===================================================================================================================================================================================================================== Install 1 Package Upgrade 13 Packages
Ok, I'll open new bug for calibre. But it is obvious that something is badly broken in calibre package and it's dependencies...
(In reply to Rex Dieter from comment #11) > ImportError: cannot import name QStyle > > is a different error than this bug (I'd recommend you open a new one) There already was bug open for "ImportError: cannot import name QStyle" and it was closed as a duplicate of this one: https://bugzilla.redhat.com/show_bug.cgi?id=1198876 So should we reopen that closed duplicate one?
Same drill as before, rpm -q --whatprovides 'libQt5Widgets.so.5()(64bit)'
(In reply to Rex Dieter from comment #15) > Same drill as before, > > rpm -q --whatprovides 'libQt5Widgets.so.5()(64bit)' Thanks, Viber is at fault here...
$ rpm -q --whatprovides 'libQt5Widgets.so.5()(64bit)' viber-4.2.2.6-2.x86_64
Yay viber, please share your displeasure with them :)