pyqt 5.6 error

Bug #1585763 reported by Eli Schwartz
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
calibre
Invalid
Undecided
Unassigned

Bug Description

Just updated Arch Linux with the following packages:
pyqt5-common 5.6-1
python2-pyqt5 5.6-1

And now calibre fails to launch, with the following error. Reverting those two packages to 5.5.1-2 fixes calibre:

[eschwartz@arch ~]$ calibre
calibre 2.57.1.r17.g9d46a5a embedded-python: False is64bit: False
Linux-4.5.5-1-ck-i686-with-glibc2.0 Linux ('32bit', 'ELF')
('Linux', '4.5.5-1-ck', '#1 SMP PREEMPT Tue May 24 20:03:35 EDT 2016')
Python 2.7.11
Linux: ('', '', '')
Successfully initialized third party plugins: DeDRM && My Tools && Kindle Collections && Open With && Quality Check && ScrambleEbook && FanFicFare && Find Duplicates && KindleUnpack - The Plugin && Diaps Editing Toolbag && View Manager && Overdrive Link && Goodreads Sync && Annotations && Modify ePub
Traceback (most recent call last):
  File "/usr/bin/calibre-debug", line 20, in <module>
    sys.exit(main())
  File "/home/eschwartz/git/calibre/src/calibre/debug.py", line 227, in main
    calibre(['calibre'])
  File "/home/eschwartz/git/calibre/src/calibre/gui_launch.py", line 63, in calibre
    main(args)
  File "/home/eschwartz/git/calibre/src/calibre/gui2/main.py", line 495, in main
    app, opts, args = init_qt(args)
  File "/home/eschwartz/git/calibre/src/calibre/gui2/main.py", line 101, in init_qt
    app = Application(args, override_program_name=override)
  File "/home/eschwartz/git/calibre/src/calibre/gui2/__init__.py", line 863, in __init__
    self.setup_styles(force_calibre_style)
  File "/home/eschwartz/git/calibre/src/calibre/gui2/__init__.py", line 953, in setup_styles
    self.load_calibre_style()
  File "/home/eschwartz/git/calibre/src/calibre/gui2/__init__.py", line 983, in load_calibre_style
    self.pi.load_style(icon_map)
TypeError: a dict value has type 'unicode' but 'QString' is expected

Revision history for this message
Eli Schwartz (eschwartz) wrote :

Actually, as it turns out I just needed to rebuild calibre. Sorry for the noise.

Changed in calibre:
status: New → Invalid
Revision history for this message
Kovid Goyal (kovid) wrote : Re: calibre bug 1585763

Works for me -- did you rebuild the calibre binary modules?

 status incomplete

Changed in calibre:
status: Invalid → Incomplete
Eli Schwartz (eschwartz)
Changed in calibre:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.