11-26-2010, 10:11 PM | #1 |
Connoisseur
Posts: 77
Karma: 132
Join Date: Jul 2007
Device: Sony 700, ipod Touch, iphone, Galaxy Tab
|
Python error message after update
Just did the update to the latest version. Upon trying to start Calibre I get the following message:
Python function terminated unexpectedly [errno 13] Permissiondenied: 'C:\\Program Files\\Calibre2\\Lib\\site-packages\\win32com\\gen_py\\__init__.py' (error Code: 1) Vista 32 My machine or the update? What should I do? Thanks Beau Last edited by Beau; 11-26-2010 at 10:13 PM. |
11-26-2010, 11:44 PM | #2 |
creator of calibre
Posts: 43,850
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
try uninstalling, deleting c:\Program files\calibre2, rebooting and then re-installing
|
11-27-2010, 12:02 AM | #3 | |
Wizard
Posts: 1,931
Karma: 5456284
Join Date: Nov 2010
Device: Kindle Paperwhite 2, iPhone, Kindle Fire HD 6
|
Quote:
Python function terminated unexpectedly (error code 1) I have tried to unintall and reinstall and am still getting the message. I rand 'calibre-debug -g' and here is what I got 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 Carol |
|
11-27-2010, 12:22 AM | #4 |
Connoisseur
Posts: 77
Karma: 132
Join Date: Jul 2007
Device: Sony 700, ipod Touch, iphone, Galaxy Tab
|
The uninstall and delete of the Calibre2 file worked for me. Thanks Kovid!
|
11-27-2010, 12:34 AM | #5 |
creator of calibre
Posts: 43,850
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
0.7.30 has an updated python 2.7 and there is a bug in that that affects calibre users who use calibre with an apple device. I have implemented a possible fix and re-uploaded 0.7.30. As I dont have any apple devices, I can't test the fix, so please uninstall, re-download 0.7.30, re-install and see if it works.
Make sure that your browser is actually re-downloading the file not using a cached copy (you can tell it is using a cached copy if the download finishes instantaneously). |
11-27-2010, 12:50 AM | #6 |
Connoisseur
Posts: 77
Karma: 132
Join Date: Jul 2007
Device: Sony 700, ipod Touch, iphone, Galaxy Tab
|
|
11-27-2010, 12:51 AM | #7 |
creator of calibre
Posts: 43,850
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
11-27-2010, 12:57 AM | #8 |
Connoisseur
Posts: 77
Karma: 132
Join Date: Jul 2007
Device: Sony 700, ipod Touch, iphone, Galaxy Tab
|
Thanks so much for your patient and timely replies!
|
11-27-2010, 01:09 AM | #9 | |
Wizard
Posts: 1,931
Karma: 5456284
Join Date: Nov 2010
Device: Kindle Paperwhite 2, iPhone, Kindle Fire HD 6
|
Quote:
Anything else to try?? Carol |
|
11-27-2010, 10:36 AM | #10 | |
Wizard
Posts: 1,931
Karma: 5456284
Join Date: Nov 2010
Device: Kindle Paperwhite 2, iPhone, Kindle Fire HD 6
|
Quote:
An update on my situation. Before installing 7.30 I was running 7.29 and also had python 2.7 installed on my computer. It is an Acer netbook running Win 7 starter. I had no problems with Calibre 7.29 or with python 2.7. I don't have any Apple/iTunes software on this computer. When I first got the error message in 7.30, I uninstalled it and also uninstalled pyton 2.7. I tried to reinstall 7.30 and still got the message. Then I uninstalled 7.30 and tried to reinstall 7.29 and got another type of python error message saying: 'Bad magic number in C:\Program files\Calibre2\Lib\unittest\_init_.pyo(Error Code: 1). I think when uninstalling 7.30, I did not remove all files and this caused the error in 7.29. Since then I have completely uninstalled 7.30, removed any files from it and reinstalled 7.29. Calibre 7.29 is working for now. I don't think the problem is python 2.7 since I had python 2.7 installed with no problems, and I don't have iTunes on this computer. Plus 7.30 is working on an old laptop with iTunes running Win XP. Hope this gets fixed soon. Calibre is a great program. If you need any more info, let me know. Thanks, Carol |
|
11-27-2010, 01:39 PM | #11 |
creator of calibre
Posts: 43,850
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
update to 0.7.31 which will be released in about half an hour. That should fix your issue.
|
01-14-2011, 05:59 PM | #12 |
Junior Member
Posts: 2
Karma: 10
Join Date: Jan 2011
Device: Kindle 3G
|
another Windows Vista (home) user. Tried numerous times to install .7.39 numerous times and like the others posting I get the error: "Python function terminated unexpectedly (error code 1)"
Yes, followed instructions to remove folder under Users, reboot, downloaded from several different sites - all to no avail - always the same error. Sure would like to use this software. Any other choices? |
01-14-2011, 06:09 PM | #13 | |
Well trained by Cats
Posts: 29,798
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Get a older version at the Sourceforge development site : http://sourceforge.net/projects/calibre/ |
|
01-14-2011, 06:25 PM | #14 |
Member
Posts: 17
Karma: 10
Join Date: Oct 2008
Device: Kindle / Smartphone / Tablet
|
Problem with 0.7.39 (python error) does not longer exist in 0.7.40 (At least on my machine)
Thanks |
01-14-2011, 06:33 PM | #15 |
creator of calibre
Posts: 43,850
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Sorry about that guys, I forgot that most users, unlike me, don't have the source code available on their systems, hence the error...
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
error message: ERROR ITMS-4099: "Invalid ISBN: [#] at Book (MZItmspBookPac | NewDay | ePub | 3 | 10-07-2010 01:47 PM |
Python error! | didiyy | Calibre | 6 | 09-24-2010 02:05 AM |
error message | allyson | Calibre | 2 | 07-16-2010 07:54 AM |
6.10 error message | Amalthia | Calibre | 5 | 09-06-2009 10:40 PM |
Python Error with Plucker | Horse | Reading and Management | 1 | 04-07-2003 01:57 PM |