View Single Post
Old 01-03-2022, 07:21 PM   #35
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
@DNSB reported to me an error on some of the plugins I look after. The error was:

Code:
ModuleNotFoundError: No module named 'PyQt4'
Which is being triggered by one of the imports from the Qt5 not loading and attempts to load Qt4 happen.

When I looked the original error was:


Code:
Traceback (most recent call last):
  File "calibre_plugins.goodreads.config", line 16, in <module>
ImportError: cannot import name 'Qt' from 'qt' (E:\CalibrePortable599\Calibre Portable\Calibre\app\bin\python-lib.bypy.frozen\qt\__init__.pyc)
Which comes from the line:

Code:
    from PyQt5 import Qt as QtGui
Is this something missed or do we need to change this? Looking through the code, "QtGui" is used mainly for some enums/type but, also a few classes that were not explicitly imported.
davidfor is offline   Reply With Quote