FS#50220 - [calibre] 2.63.0-2 cannot be launched with QT 5.7.

Attached to Project: Community Packages
Opened by Frederic Bezies (fredbezies) - Monday, 01 August 2016, 07:30 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 05 December 2016, 15:14 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jelle van der Waa (jelly)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description: Facing an annoying bug with Calibre. It won't start. I tried removing it and all its data, but there is always the same crash I got in command line :

[fred@fredo-arch ~]$ Traceback (most recent call last):
File "/usr/bin/calibre", line 20, in <module>
sys.exit(calibre())
File "/usr/lib/calibre/calibre/gui_launch.py", line 63, in calibre
main(args)
File "/usr/lib/calibre/calibre/gui2/main.py", line 495, in main
app, opts, args = init_qt(args)
File "/usr/lib/calibre/calibre/gui2/main.py", line 101, in init_qt
app = Application(args, override_program_name=override)
File "/usr/lib/calibre/calibre/gui2/__init__.py", line 886, in __init__
self.load_calibre_style()
File "/usr/lib/calibre/calibre/gui2/__init__.py", line 997, in load_calibre_style
self.pi.load_style(icon_map)
TypeError: a dict value has type 'unicode' but 'QString' is expected

Additional info:
Calibre 2.63.0-2

Steps to reproduce:
Just install it and try to launch it.

I don't think it is a duplicate of #50185 because I cannot get Calibre to be launched :(
This task depends upon

Closed by  Doug Newgard (Scimmia)
Monday, 05 December 2016, 15:14 GMT
Reason for closing:  Fixed
Comment by Doug Newgard (Scimmia) - Monday, 01 August 2016, 13:53 GMT
What Qt5 theme and icon theme.

Works fine here.
Comment by Frederic Bezies (fredbezies) - Monday, 01 August 2016, 13:54 GMT
Xfce 4.12 with default QT5 theme. Forgot to add I am using Archlinux with testing repositories enabled.
Comment by Maciej Sitarz (macieks2) - Tuesday, 02 August 2016, 13:05 GMT
I can confirm the problem. I'm also using [testing].
Probably the problem is caused by pyqt5 being updated in [testing], but calibre package not being recompiled.

Similar problem:
https://bugs.launchpad.net/calibre/+bug/1585763
Comment by Maciej Sitarz (macieks2) - Tuesday, 02 August 2016, 13:15 GMT
To confirm I did rebuild the package and it's working.
Solution:
Please rebuild calibre in [testing].
Comment by Doug Newgard (Scimmia) - Tuesday, 02 August 2016, 13:35 GMT
And yet it works fine on my fully updated system with testing enabled.
Comment by Jelle van der Waa (jelly) - Tuesday, 02 August 2016, 19:40 GMT
Pushed the package in [testing]
Comment by Frederic Bezies (fredbezies) - Tuesday, 02 August 2016, 19:56 GMT
Fixed for me :)

Loading...