Quote:
	
	
		| 
					Originally Posted by davidfor  Conversion to kepub is working fine here with calibre v6.1. And it was with calibre v6.0.
 What exactly triggered this? Do you have kepub as the default output format? Was it when the conversion dialog opened? Or when you select the kepub options? Or something else?
 | 
	
 When the conversion dialog window open the default output format is epub.
When I select kepub this message error appears
Spoiler: 
calibre, version 6.1.0
ERRORE: Eccezione non gestita: <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: it
Successfully initialized third party plugins: KePub Output (3, 6, 0) && KoboTouchExtended (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'
 
Then I click anyway on OK and this new message follows
Spoiler: 
calibre, version 6.1.0
ERRORE: Eccezione non gestita: <b>AttributeError</b>:'MetadataWidget' object has no attribute 'opf_file'
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: it
Successfully initialized third party plugins: KePub Output (3, 6, 0) && KoboTouchExtended (3, 6, 0)
Traceback (most recent call last):
  File "calibre\gui2\convert\single.py", line 292, in accept
AttributeError: 'MetadataWidget' object has no attribute 'opf_file'