11-28-2010, 01:28 PM | #1 |
Wizard
Posts: 1,931
Karma: 5456284
Join Date: Nov 2010
Device: Kindle Paperwhite 2, iPhone, Kindle Fire HD 6
|
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 |
11-28-2010, 02:27 PM | #2 |
creator of calibre
Posts: 44,019
Karma: 22669822
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 | |
|
11-28-2010, 03:03 PM | #3 | |
Wizard
Posts: 1,931
Karma: 5456284
Join Date: Nov 2010
Device: Kindle Paperwhite 2, iPhone, Kindle Fire HD 6
|
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 03:19 PM. |
|
11-28-2010, 03:17 PM | #4 |
creator of calibre
Posts: 44,019
Karma: 22669822
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.
|
11-28-2010, 03:22 PM | #5 |
creator of calibre
Posts: 44,019
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Another file you can try to look for and delete is
dicts.dat |
Advert | |
|
11-28-2010, 03:32 PM | #6 |
Wizard
Posts: 1,931
Karma: 5456284
Join Date: Nov 2010
Device: Kindle Paperwhite 2, iPhone, Kindle Fire HD 6
|
|
11-28-2010, 04:41 PM | #7 |
creator of calibre
Posts: 44,019
Karma: 22669822
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 |
11-28-2010, 05:24 PM | #8 |
Wizard
Posts: 1,931
Karma: 5456284
Join Date: Nov 2010
Device: Kindle Paperwhite 2, iPhone, Kindle Fire HD 6
|
|
11-28-2010, 05:59 PM | #9 | |
Wizard
Posts: 1,931
Karma: 5456284
Join Date: Nov 2010
Device: Kindle Paperwhite 2, iPhone, Kindle Fire HD 6
|
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 |
|
11-28-2010, 06:22 PM | #10 |
creator of calibre
Posts: 44,019
Karma: 22669822
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-28-2010, 06:27 PM | #11 | |
Wizard
Posts: 1,931
Karma: 5456284
Join Date: Nov 2010
Device: Kindle Paperwhite 2, iPhone, Kindle Fire HD 6
|
Quote:
Carol |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Python error message after update | Beau | Calibre | 19 | 01-15-2011 12:12 PM |
Python error message after update (another one) | jmatute | Calibre | 5 | 11-28-2010 01:02 AM |
Python error! | didiyy | Calibre | 6 | 09-24-2010 02:05 AM |
Python Error with Plucker | Horse | Reading and Management | 1 | 04-07-2003 01:57 PM |