Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 11-26-2010, 10:11 PM   #1
Beau
Connoisseur
Beau doesn't litterBeau doesn't litter
 
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.
Beau is offline   Reply With Quote
Old 11-26-2010, 11:44 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,839
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
try uninstalling, deleting c:\Program files\calibre2, rebooting and then re-installing
kovidgoyal is offline   Reply With Quote
Advert
Old 11-27-2010, 12:02 AM   #3
sadievan
Wizard
sadievan ought to be getting tired of karma fortunes by now.sadievan ought to be getting tired of karma fortunes by now.sadievan ought to be getting tired of karma fortunes by now.sadievan ought to be getting tired of karma fortunes by now.sadievan ought to be getting tired of karma fortunes by now.sadievan ought to be getting tired of karma fortunes by now.sadievan ought to be getting tired of karma fortunes by now.sadievan ought to be getting tired of karma fortunes by now.sadievan ought to be getting tired of karma fortunes by now.sadievan ought to be getting tired of karma fortunes by now.sadievan ought to be getting tired of karma fortunes by now.
 
sadievan's Avatar
 
Posts: 1,931
Karma: 5456284
Join Date: Nov 2010
Device: Kindle Paperwhite 2, iPhone, Kindle Fire HD 6
Quote:
Originally Posted by kovidgoyal View Post
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
sadievan is offline   Reply With Quote
Old 11-27-2010, 12:22 AM   #4
Beau
Connoisseur
Beau doesn't litterBeau doesn't litter
 
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!
Beau is offline   Reply With Quote
Old 11-27-2010, 12:34 AM   #5
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,839
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).
kovidgoyal is offline   Reply With Quote
Advert
Old 11-27-2010, 12:50 AM   #6
Beau
Connoisseur
Beau doesn't litterBeau doesn't litter
 
Posts: 77
Karma: 132
Join Date: Jul 2007
Device: Sony 700, ipod Touch, iphone, Galaxy Tab
Quote:
Originally Posted by kovidgoyal View Post
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?
Beau is offline   Reply With Quote
Old 11-27-2010, 12:51 AM   #7
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,839
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by Beau View Post
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
kovidgoyal is offline   Reply With Quote
Old 11-27-2010, 12:57 AM   #8
Beau
Connoisseur
Beau doesn't litterBeau doesn't litter
 
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!
Beau is offline   Reply With Quote
Old 11-27-2010, 01:09 AM   #9
sadievan
Wizard
sadievan ought to be getting tired of karma fortunes by now.sadievan ought to be getting tired of karma fortunes by now.sadievan ought to be getting tired of karma fortunes by now.sadievan ought to be getting tired of karma fortunes by now.sadievan ought to be getting tired of karma fortunes by now.sadievan ought to be getting tired of karma fortunes by now.sadievan ought to be getting tired of karma fortunes by now.sadievan ought to be getting tired of karma fortunes by now.sadievan ought to be getting tired of karma fortunes by now.sadievan ought to be getting tired of karma fortunes by now.sadievan ought to be getting tired of karma fortunes by now.
 
sadievan's Avatar
 
Posts: 1,931
Karma: 5456284
Join Date: Nov 2010
Device: Kindle Paperwhite 2, iPhone, Kindle Fire HD 6
Quote:
Originally Posted by kovidgoyal View Post
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 is offline   Reply With Quote
Old 11-27-2010, 10:36 AM   #10
sadievan
Wizard
sadievan ought to be getting tired of karma fortunes by now.sadievan ought to be getting tired of karma fortunes by now.sadievan ought to be getting tired of karma fortunes by now.sadievan ought to be getting tired of karma fortunes by now.sadievan ought to be getting tired of karma fortunes by now.sadievan ought to be getting tired of karma fortunes by now.sadievan ought to be getting tired of karma fortunes by now.sadievan ought to be getting tired of karma fortunes by now.sadievan ought to be getting tired of karma fortunes by now.sadievan ought to be getting tired of karma fortunes by now.sadievan ought to be getting tired of karma fortunes by now.
 
sadievan's Avatar
 
Posts: 1,931
Karma: 5456284
Join Date: Nov 2010
Device: Kindle Paperwhite 2, iPhone, Kindle Fire HD 6
Quote:
Originally Posted by kovidgoyal View Post
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
sadievan is offline   Reply With Quote
Old 11-27-2010, 01:39 PM   #11
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,839
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.
kovidgoyal is offline   Reply With Quote
Old 01-14-2011, 05:59 PM   #12
Katsuey
Junior Member
Katsuey began at the beginning.
 
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?
Katsuey is offline   Reply With Quote
Old 01-14-2011, 06:09 PM   #13
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,778
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:
Originally Posted by Katsuey View Post
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/
theducks is offline   Reply With Quote
Old 01-14-2011, 06:25 PM   #14
Andreas
Member
Andreas began at the beginning.
 
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
Andreas is offline   Reply With Quote
Old 01-14-2011, 06:33 PM   #15
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,839
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...
kovidgoyal is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 07:41 PM.


MobileRead.com is a privately owned, operated and funded community.