Portable 6.0.0: TypeError: QFont.setPixelSize()

Bug #1981188 reported by Kevin O'Leary
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Fix Released
Undecided
Unassigned

Bug Description

Calibre Portable 6.0.0 upgrade
Windows 11

Get the following error when trying to launch:
calibre, version 6.0.0
ERROR: Startup error: There was an error during calibre startup. Parts of calibre may not function. Click "Show details" to learn more.

Traceback (most recent call last):
  File "calibre\gui2\main.py", line 315, in initialize_db_stage2
  File "calibre\gui2\main.py", line 258, in start_gui
  File "calibre\gui2\ui.py", line 244, in initialize
  File "calibre\gui2\init.py", line 586, in init_layout_mixin
  File "calibre\gui2\book_details.py", line 1063, in __init__
  File "calibre\gui2\book_details.py", line 777, in __init__
  File "calibre\gui2\widgets2.py", line 533, in __init__
TypeError: QFont.setPixelSize(): argument 1 has unexpected type 'float'

Main program then hangs and I have to use Task Manager to end task.

Revision history for this message
Kovid Goyal (kovid) wrote : Fixed in master

Fixed in branch master. The fix will be in the next release. calibre is usually released every alternate Friday.

 status fixreleased

Changed in calibre:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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