View Single Post
Old 07-07-2022, 02:06 AM   #115
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
As the main source is now the Qt6, I installed the beta over my main calibre install and updated the source. When running from source I got:

Code:
calibre, version 5.99.12
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 "E:\Development\GitHub\calibre\src\calibre\gui2\main.py", line 315, in initialize_db_stage2
  File "E:\Development\GitHub\calibre\src\calibre\gui2\main.py", line 258, in start_gui
  File "E:\Development\GitHub\calibre\src\calibre\gui2\ui.py", line 239, in initialize
  File "E:\Development\GitHub\calibre\src\calibre\gui2\jobs.py", line 628, in __init__
  File "E:\Development\GitHub\calibre\src\calibre\gui2\dialogs\jobs_ui.py", line 19, in setupUi
AttributeError: type object 'QIcon' has no attribute 'Normal'
The line in question is:

Code:
icon.addPixmap(QtGui.QPixmap(I("jobs.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
And looks like it should be:

Code:
icon.addPixmap(QtGui.QPixmap(I("jobs.png")), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
With a similar line further down.

That is compiled from jobs.ui. I did see messages about this as I started it the first time, but, I didn't notice if this was updated or not.
davidfor is offline