|
|
View Full Version : 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
kovidgoyal 11-26-2010, 11:44 PM try uninstalling, deleting c:\Program files\calibre2, rebooting and then re-installing
sadievan 11-27-2010, 12:02 AM try uninstalling, deleting c:\Program files\calibre2, rebooting and then re-installing
I too am getting an error message after updating to 7.30.
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
The uninstall and delete of the Calibre2 file worked for me. Thanks Kovid!
kovidgoyal 11-27-2010, 12:34 AM 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).
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 do use Calibre to serve to my ipod. Do I need to do another install of the patched file?
kovidgoyal 11-27-2010, 12:51 AM I do use Calibre to serve to my ipod. Do I need to do another install of the patched file?
Not if you dont have any problems. You will get an error message if the bug affects you, in which case do the re-install. If you dont get the error, just keep motoring :)
Thanks so much for your patient and timely replies!
sadievan 11-27-2010, 01:09 AM 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).
Sorry. It did not work. I don't even have any iTunes or Apple stuff on this computer. It's an Acer Netbook running Win 7 starter.
Anything else to try??
Carol
sadievan 11-27-2010, 10:36 AM 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).
Hi Kovid,
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
kovidgoyal 11-27-2010, 01:39 PM update to 0.7.31 which will be released in about half an hour. That should fix your issue.
Katsuey 01-14-2011, 05:59 PM 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?
theducks 01-14-2011, 06:09 PM 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?
Wait if you need a 39 feature.
Get a older version at the Sourceforge development site :
http://sourceforge.net/projects/calibre/
Andreas 01-14-2011, 06:25 PM Problem with 0.7.39 (python error) does not longer exist in 0.7.40 (At least on my machine)
Thanks :thumbsup:
kovidgoyal 01-14-2011, 06:33 PM Sorry about that guys, I forgot that most users, unlike me, don't have the source code available on their systems, hence the error...
Katsuey 01-14-2011, 09:56 PM AHHHHHHHH! you mean 7.4 will work for me?????????
Happy dance!
kovidgoyal 01-14-2011, 10:49 PM Yes, 0.7.40 fixes the error
ArmorDog 01-15-2011, 12:00 AM For what it's worth: I installed 0.7.39 and got the Python error on startup.
When 0.7.40 came out, I installed it overtop and everything works perfectly. (No uninstalling, deleting, or restarting required.)
Thanks for the quick fix Kovid, you super guy.
kovidgoyal 01-15-2011, 02:07 AM You're welcome :)
mjsiniard 01-15-2011, 12:12 PM Thank you
|