| 
			
			 | 
		#526 | 
| 
			
			
			
			 Connoisseur 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 76 
				Karma: 30702 
				Join Date: Jul 2010 
				Location: Italy 
				
				
				Device: Kobo Libra H2O 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I forget to tell you that the same message appears when i try to open the "output options" window in Calibre preferences menu (see image)
		 
		
	
		
		
			Last edited by giododa; 07-17-2022 at 10:20 AM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#527 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 9 
				Karma: 10 
				Join Date: Apr 2010 
				
				
				
				Device: Kobo h2o, Sony prs 505 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#528 | |
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905 
				Karma: 47303824 
				Join Date: Jul 2011 
				Location: Sydney, Australia 
				
				
				Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Otherwise, please run calibre in debug mode and post the log. There might be something failing earlier that is triggering this.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#529 | 
| 
			
			
			
			 Connoisseur 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 76 
				Karma: 30702 
				Join Date: Jul 2010 
				Location: Italy 
				
				
				Device: Kobo Libra H2O 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Thank you for your reply. 
		
	
		
		
			I never used the 32bit version on the pc I'm using now. Here is the log in debug mode  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#530 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905 
				Karma: 47303824 
				Join Date: Jul 2011 
				Location: Sydney, Australia 
				
				
				Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Unfortunately, that didn't help. But, did you open try the conversion? The error from it is missing, but I can't think if there should be anything else as well.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#531 | 
| 
			
			
			
			 Connoisseur 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 76 
				Karma: 30702 
				Join Date: Jul 2010 
				Location: Italy 
				
				
				Device: Kobo Libra H2O 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			No I just opened Calibre. 
		
	
		
		
			Sorry, I did not understand. Here is the log trying to convert.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#532 | |
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905 
				Karma: 47303824 
				Join Date: Jul 2011 
				Location: Sydney, Australia 
				
				
				Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Looking at the code, I can see something, but, I don't understand why it isn't breaking for others. I have attached a beta that changes how the Qt library is loaded, and removes the code that loads Qt4 if loading from the current Qt fails. It works here, but, so did the other version. Hopefully it works.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#533 | |
| 
			
			
			
			 Connoisseur 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 76 
				Karma: 30702 
				Join Date: Jul 2010 
				Location: Italy 
				
				
				Device: Kobo Libra H2O 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 When I click "convert book" in the main Calibre window and click to select Kepub in the convert book windows this message popup Spoiler: 
 Then if I close the message popup I can set the preferences for the conversion to kepub and if I hit OK the processing begins but the conversion fails and another error message pop up Spoiler: 
 The error has something to do with temporary folders and it seem the same I receive when sending book to my Kobo with the KoboTouchExtended plugin. I will try to understand why this happens as moving the Temp directory location in not working. If you need I attach the debug logfile. Anyway thank you for your effort.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#534 | ||
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905 
				Karma: 47303824 
				Join Date: Jul 2011 
				Location: Sydney, Australia 
				
				
				Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Quote: 
	
 If it still fails, it might be a threading issue. The file might be still opened at the time the write is being done. I would have to dig back through some of the beta's last year that were done to try and solve the threading issues to see if all of the ideas were used.  | 
||
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#535 | ||
| 
			
			
			
			 Connoisseur 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 76 
				Karma: 30702 
				Join Date: Jul 2010 
				Location: Italy 
				
				
				Device: Kobo Libra H2O 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Quote: 
	
 But now it works no more. It fails also runnin as administator. I will check problems with permissions. Thank you.  | 
||
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#536 | 
| 
			
			
			
			 Connoisseur 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 76 
				Karma: 30702 
				Join Date: Jul 2010 
				Location: Italy 
				
				
				Device: Kobo Libra H2O 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I checked again and moved the environmental variables to drive C. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Now it works with some epub and not with others. Sometimes trying many times (5-6) with the same book it works and create the kepub. I will investigate.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#537 | |
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905 
				Karma: 47303824 
				Join Date: Jul 2011 
				Location: Sydney, Australia 
				
				
				Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#538 | 
| 
			
			
			
			 Connoisseur 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 76 
				Karma: 30702 
				Join Date: Jul 2010 
				Location: Italy 
				
				
				Device: Kobo Libra H2O 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Thank you I will try. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Unfortunately just this morning I had a big problem with my pc and I guess I will reinstall everything. As soon as done I will inform you.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#539 | 
| 
			
			
			
			 Connoisseur 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 76 
				Karma: 30702 
				Join Date: Jul 2010 
				Location: Italy 
				
				
				Device: Kobo Libra H2O 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			That did the trick. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Now it is perfect. ![]() I just did a fresh reinstallation of Windows10 but I don't think this is the reason for your plugin working. Infact the KoboTouchExtended plugin is still not working with the same threading error. Thank you again.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#540 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 6 
				Karma: 10 
				Join Date: Jul 2022 
				
				
				
				Device: Kobo Sage 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			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'
 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
            
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| catalogue builder output columns are not in the same order in the output | KWhytte | Library Management | 5 | 12-04-2012 03:03 AM | 
| Plugin not customizable: Plugin: HTML Output does not need customization | flyingfoxlee | Conversion | 2 | 02-24-2012 03:24 AM | 
| Plugin which uses net as input and output | medve | Development | 0 | 12-04-2011 04:20 PM | 
| Creat new Output plugin (LaTeX and/or txt2tags) | Lebewesen | Development | 3 | 11-22-2011 12:10 PM | 
| AZW Conversion Output Plugin | tylau0 | Plugins | 59 | 08-14-2011 11:36 PM |