View Single Post
Old 07-21-2022, 01:34 PM   #541
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
Quote:
Originally Posted by Denis_F View Post
Hello there,

I have the same problem as giododa (i.e. when updating to calibre 6.1 64 bits), when trying to convert an epub through the (newly re-installed) Kepub extension I get the same error message (No module named 'PyQt4') detailed below when I click on OK...is there any prospect so as to update the Kepub extension to solve this issue ?

Thank you for your help !

Code:
calibre, version 6.1.0
ERREUR : Exception non gérée: <b>ModuleNotFoundError</b>:No module named 'PyQt4'

calibre 6.1  embedded-python: True
Windows-10-10.0.19044-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19044')
Python 3.10.1
Windows: ('10', '10.0.19044', 'SP0', 'Multiprocessor Free')
Interface language: fr
Successfully initialized third party plugins: DeDRM (7, 0, 0) && KePub Input (3, 4, 3) && KePub Output (3, 6, 0)
Traceback (most recent call last):
  File "calibre_plugins.kepubout.conversion.output_config", line 66, in setupUi
ImportError: cannot import name 'Qt' from 'qt' (C:\Program Files\Calibre2\app\bin\python-lib.bypy.frozen\qt\__init__.pyc)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "calibre\gui2\convert\single.py", line 225, in setup_pipeline
  File "calibre_plugins.kepubout.conversion.kepub_output", line 141, in gui_configuration_widget
  File "calibre_plugins.kepubout.conversion.output_config", line 40, in __init__
  File "calibre\gui2\convert\__init__.py", line 65, in __init__
  File "calibre_plugins.kepubout.conversion.output_config", line 69, in setupUi
ModuleNotFoundError: No module named 'PyQt4'
Please try the beta posted above and see if that fixes it. I will check the code in soon so it can be released without to much delay.
davidfor is offline   Reply With Quote