| 
			
			 | 
		#1 | 
| 
			
			
			
			 Member 
			
			![]() Posts: 11 
				Karma: 10 
				Join Date: Nov 2016 
				
				
				
				Device: Kindle Desktop 
				
				
				 | 
	
	
	
		
		
			
			 
				
				Error in Calibre Version 3.45 64bit
			 
			
			
			when I open any epub in EDIT METADATA, once i scroll down then click the X to close i get the following error:  
		
	
		
		
		
		
		
		
		
		
		
		
	
	calibre, version 3.45.0 ERROR: Unhandled exception: <b>SystemError</b>:error return without exception set calibre 3.45 [64bit] embedded-python: True is64bit: True Windows-7-6.1.7601-SP1 Windows ('64bit', 'WindowsPE') ('Windows', '7', '6.1.7601') Python 2.7.15+ Windows: ('7', '6.1.7601', 'SP1', u'Multiprocessor Free') Interface language: None Successfully initialized third party plugins: DeDRM (6, 5, 3) && Inept Epub DeDRM (0, 1, 7) && KePub Metadata Reader (3, 0, 2) && djvumaker (1, 0, 2) && Goodreads (1, 4, 0) && Amazon.com Multiple Countries (1, 0, 0) && Obok DeDRM (6, 5, 3) && Extract ISBN (1, 4, 4) && all recipes Recipe Reader (1, 0, 1) && Modify ePub (1, 3, 13) && View Manager (1, 4, 3) && Find Duplicates (1, 6, 3) && Set KFX metadata (from KFX Output) (1, 30, 0) && KFX Output (1, 30, 0) && Kindle Collections (1, 7, 24) && Barnes & Noble (1, 2, 15) && Library Codes (1, 0, 41) Traceback (most recent call last): File "site-packages\calibre\gui2\viewer\main.py", line 379, in closeEvent File "site-packages\calibre\gui2\viewer\main.py", line 366, in shutdown File "site-packages\calibre\gui2\viewer\main.py", line 392, in save_state File "site-packages\calibre\utils\config.py", line 448, in __setitem__ File "site-packages\calibre\utils\config.py", line 411, in commit File "site-packages\calibre\utils\config.py", line 432, in to_raw File "site-packages\calibre\utils\config_base.py", line 86, in json_dumps File "json\__init__.py", line 251, in dumps File "json\encoder.py", line 209, in encode File "json\encoder.py", line 434, in _iterencode File "json\encoder.py", line 408, in _iterencode_dict File "json\encoder.py", line 313, in _iterencode_list File "json\encoder.py", line 39, in encode_basestring SystemError: error return without exception set Is it possible that one or more of the plugins are malfunctioning with this version of calibre? This error only occurs since update from 3.44 to 3.45  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			No, this is a windows specific issue with this release. I am tracking down the cause, will make an update when I have figured it out. In the meantime I suggest downgrading to 3.44 if you are on windows. Old releases of calibre are available from: https://download.calibre-ebook.com/3.44.0/
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#3 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 6 
				Karma: 10 
				Join Date: Jan 2015 
				
				
				
				Device: Kindle Voyage 
				
				
				 | 
	
	
	
		
		
			
			 
				
				Error in Calibre 3.45 64bit
			 
			
			
			when I close the book reader in Calibre.It appear the erro message: 
		
	
		
		
		
		
		
		
		
		
		
		
	
	calibre, version 3.45.0 错误: 未处理的异常: <b>SystemError</b>:error return without exception set calibre 3.45 [64bit] embedded-python: True is64bit: True Windows-10-10.0.18362-SP0 Windows ('64bit', 'WindowsPE') ('Windows', '10', '10.0.18362') Python 2.7.15+ Windows: ('10', '10.0.18362', 'SP0', u'Multiprocessor Free') Interface language: zh_CN Traceback (most recent call last): File "site-packages\calibre\gui2\viewer\main.py", line 379, in closeEvent File "site-packages\calibre\gui2\viewer\main.py", line 366, in shutdown File "site-packages\calibre\gui2\viewer\main.py", line 392, in save_state File "site-packages\calibre\utils\config.py", line 448, in __setitem__ File "site-packages\calibre\utils\config.py", line 411, in commit File "site-packages\calibre\utils\config.py", line 432, in to_raw File "site-packages\calibre\utils\config_base.py", line 86, in json_dumps File "json\__init__.py", line 251, in dumps File "json\encoder.py", line 209, in encode File "json\encoder.py", line 434, in _iterencode File "json\encoder.py", line 408, in _iterencode_dict File "json\encoder.py", line 313, in _iterencode_list File "json\encoder.py", line 39, in encode_basestring SystemError: error return without exception set  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 6 
				Karma: 10 
				Join Date: Jan 2015 
				
				
				
				Device: Kindle Voyage 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			same erro,too
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I have released version 3.45.1 with the fix.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#6 | 
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 228 
				Karma: 15318 
				Join Date: Nov 2015 
				
				
				
				Device: Kobo Glo HD 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I was just logging in to report this, and it’s fixed already!! Thanks 
		
	
		
		
		
		
		
		
		
		
		
		
	
	PS and I can confirm the fix works so far  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#7 | 
| 
			
			
			
			 Enthusiast 
			
			![]() Posts: 33 
				Karma: 10 
				Join Date: Sep 2017 
				Location: Royston, Georgia 
				
				
				Device: Moon Reader & Prestigio on Android 
				
				
				 | 
	
	
	
		
		
			
			 
				
				SystemError:error return without exception set
			 
			
			
			Same root problem here. This error pops up twice when closing the reader, and once when closing the editor. Screen shot attached.
		 
		
	
		
		
			 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#8 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,088 
				Karma: 11502975 
				Join Date: Mar 2013 
				Location: Guben, Brandenburg, Germany 
				
				
				Device: Kobo Clara 2E, Tolino Shine 3 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I installed version 3.45.1 today on Windows 10, 32 bit, but got an error message (see attachment). Has this to do with the previous errors? 
		
	
		
		
			edit: The attqachment has not been uploaded. New trial.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#9 | 
| 
			
			
			
			 Member 
			
			![]() Posts: 11 
				Karma: 10 
				Join Date: Nov 2016 
				
				
				
				Device: Kindle Desktop 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Thank you for fixing it.  I too confirm the fix works.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#10 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			@Leonatuss, no that's different, post the output of running 
		
	
		
		
		
		
		
		
		
		
		
		
	
	calibre-debug -g in a command prompt  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#11 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,088 
				Karma: 11502975 
				Join Date: Mar 2013 
				Location: Guben, Brandenburg, Germany 
				
				
				Device: Kobo Clara 2E, Tolino Shine 3 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Here it is: 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Code: 
	Microsoft Windows [Version 10.0.17763.557] (c) 2018 Microsoft Corporation. Alle Rechte vorbehalten. C:\Users\Jürgen>calibre-debug -g Python function terminated unexpectedly 'utf8' codec can't decode byte 0xfc in position 10: invalid start byte (Error Code: 1) Traceback (most recent call last): File "site.py", line 101, in main File "site.py", line 77, in run_entry_point File "site-packages\calibre\__init__.py", line 23, in <module> File "site-packages\calibre\startup.py", line 125, in <module> File "site-packages\calibre\utils\localization.py", line 215, in set_translators File "site-packages\calibre\utils\localization.py", line 88, in get_lang File "site-packages\calibre\utils\config_base.py", line 549, in <module> File "site-packages\calibre\utils\config_base.py", line 480, in create_global_prefs File "ntpath.py", line 311, in expanduser UnicodeDecodeError: 'utf8' codec can't decode byte 0xfc in position 10: invalid start byte C:\Users\Jürgen>  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#12 | 
| 
			
			
			
			 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 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			@Kovid: That looks like an occasional problem seen with the KoboTouchExtended driver. It occasionally has issues working out the path for Windows users that have accented or similar characters in their usernames. Such as "Jürgen". And searching through the KoboTouchExtended driver, @Leonatus has actually hit the problem with the driver a couple of years ago.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#13 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,088 
				Karma: 11502975 
				Join Date: Mar 2013 
				Location: Guben, Brandenburg, Germany 
				
				
				Device: Kobo Clara 2E, Tolino Shine 3 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Yes, I remember that there has been something similar, but, somehow, the problem had been solved.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#14 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,088 
				Karma: 11502975 
				Join Date: Mar 2013 
				Location: Guben, Brandenburg, Germany 
				
				
				Device: Kobo Clara 2E, Tolino Shine 3 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I found the thread. Kovid had asked me for the global.py, then, and released a new version. 
		
	
		
		
			Maybe this could help this time again, so I add the global.py once more:  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#15 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			This was caused by the interaction of some python 3 porting work with a bug in python 2 on windows, version 3.45.2 with the fix will be released in a few minutes. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Here is the fix for the curious: https://github.com/kovidgoyal/calibr...257a64d63e3d39  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
            
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Calibre Hudl 2: calibre, version 3.2.1 ERROR: Error: Error communicating with device | elfed | Devices | 4 | 07-21-2017 06:33 AM | 
| Calibre latest Update - calibre 3.2.1 64bit version | Al Adams | Library Management | 9 | 07-07-2017 08:47 PM | 
| Can't install Version: 2.35.0 on Windows 10 64bit | nqk | Calibre | 4 | 08-21-2015 04:12 AM | 
| Does 64bit version of Calibre work on XP Pro 64? | Logos | Calibre | 1 | 01-17-2013 01:32 AM | 
| calibre, version 0.8.8 ERROR: Error: Error communicating with device no such column: | e-bookuser | Devices | 1 | 07-03-2011 05:09 PM |