| 
			
			 | 
		#1 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,933 
				Karma: 5477576 
				Join Date: Nov 2010 
				
				
				
				Device: Kindle Paperwhite, iPhone, Kobo LC 
				
				
				 | 
	
	
	
		
		
			
			 
				
				Help Kovid 7.31 still getting python error
			 
			
			
			Still getting the python error. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	'Python function terminated unexpectedly' (error code 1) I uninstalled 7.31 removed the Calibre Library folder. Program Files\Calibre2 was already removed. Rebooted and re-installed. Still getting an error message. Ran 'calibre-debug -g' from prompt. Here is the result: C:\Program Files\Calibre2>calibre-debug -g Python function terminated unexpectedly (Error Code: 1) Traceback (most recent call last): File "site.py", line 103, in main File "site.py", line 85, in run_entry_point File "site-packages\calibre\debug.py", line 155, in main File "site-packages\calibre\gui2\__init__.py", line 19, in <module> File "site-packages\calibre\ebooks\metadata\meta.py", line 11, in <module> File "site-packages\calibre\customize\ui.py", line 14, in <module> File "site-packages\calibre\customize\builtins.py", line 454, in <module> File "site-packages\calibre\devices\apple\driver.py", line 37, in <module> File "site-packages\win32com\client\__init__.py", line 11, in <module> File "site-packages\win32com\client\gencache.py", line 662, in <module> File "site-packages\win32com\client\gencache.py", line 56, in __init__ File "site-packages\win32com\client\gencache.py", line 109, in _LoadDicts EOFError Hope you can fix this. I really like Calibre and want to be able to use it on my netbook. If you need any more info, let me know. Carol  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			search your computer for a folder named gen_py, delete it and then try running calibre.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#3 | |
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,933 
				Karma: 5477576 
				Join Date: Nov 2010 
				
				
				
				Device: Kindle Paperwhite, iPhone, Kobo LC 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Not sure if it is a problem with python 2.7 since I have that on my computer along with pycrypto and python is working fine. Carol Last edited by sadievan; 11-28-2010 at 04:19 PM.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			its likely to be inside a hidden folder, so make sure you enable searching in hidden folders.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Another file you can try to look for and delete is  
		
	
		
		
		
		
		
		
		
		
		
		
	
	dicts.dat  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#6 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,933 
				Karma: 5477576 
				Join Date: Nov 2010 
				
				
				
				Device: Kindle Paperwhite, iPhone, Kobo LC 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#7 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			open a command prompt and run this command 
		
	
		
		
		
		
		
		
		
		
		
		
	
	calibre-debug -c "from win32com.client.gencache import Rebuild; Rebuild(True)" hopefully that will rebuild the dicts.dat file for you correctly  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#8 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,933 
				Karma: 5477576 
				Join Date: Nov 2010 
				
				
				
				Device: Kindle Paperwhite, iPhone, Kobo LC 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#9 | |
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,933 
				Karma: 5477576 
				Join Date: Nov 2010 
				
				
				
				Device: Kindle Paperwhite, iPhone, Kobo LC 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Microsoft Windows [Version 6.1.7600] Copyright (c) 2009 Microsoft Corporation. All rights reserved. c:\Program Files\Calibre2>calibre-debug -c "from win32com.client.gencache import Rebuild; Rebuild(True)" Python function terminated unexpectedly (Error Code: 1) Traceback (most recent call last): File "site.py", line 103, in main File "site.py", line 85, in run_entry_point File "site-packages\calibre\debug.py", line 168, in main File "<string>", line 1, in <module> File "site-packages\win32com\client\__init__.py", line 11, in <module> File "site-packages\win32com\client\gencache.py", line 662, in <module> File "site-packages\win32com\client\gencache.py", line 56, in __init__ File "site-packages\win32com\client\gencache.py", line 109, in _LoadDicts EOFError c:\Program Files\Calibre2> Carol  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#10 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			OK well then you will have to wait till 0.7.32 which will be released the coming friday.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#11 | |
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,933 
				Karma: 5477576 
				Join Date: Nov 2010 
				
				
				
				Device: Kindle Paperwhite, iPhone, Kobo LC 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Carol  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
    
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Python error message after update | Beau | Calibre | 19 | 01-15-2011 01:12 PM | 
| Python error message after update (another one) | jmatute | Calibre | 5 | 11-28-2010 02:02 AM | 
| Python error! | didiyy | Calibre | 6 | 09-24-2010 03:05 AM | 
| Python Error with Plucker | Horse | Reading and Management | 1 | 04-07-2003 02:57 PM |