Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 02-16-2017, 06:44 PM   #1
tarmarajah
Junior Member
tarmarajah began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Feb 2017
Device: Viking 10
Python function terminated unexpectedly...

Hi,

I have very strange problem. Without any reason I cannot open my Calibre and I'm getting a message:

Python function terminated unexpectedly
MemoryLoadLibrary0 failed loading PyQt5\QWidgets.pyd (Error Code: 1)

I unistall my previous Calibre and reinstall again. It didn't help.
Later I uninstall everything connect with Calibre from User\Name\AppData
and still I'm getting the same message.
I don't have completely any idea how to fix this problem.
Please, help me to solve this issue.
Thanks in advance !!!!
tarmarajah is offline  
Old 02-16-2017, 10:33 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: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Things you can try:
1) Uninstall calibre and delte c:\Program Files\Calibre2, then re-install it (this will not affect your calibre books or settings)

2) Temporarily disable your antivirus program and see if ti makes a difference
kovidgoyal is offline  
Advert
Old 02-17-2017, 09:59 PM   #3
tarmarajah
Junior Member
tarmarajah began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Feb 2017
Device: Viking 10
Python function terminated unexpectedly...

Hi,

I did everything what You told me and it didn't help.
Still I'm getting the same message!
tarmarajah is offline  
Old 02-18-2017, 04:16 AM   #4
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: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Something on your computer is preventing those modules from being loaded, if it isn't a corrupted install or an antivirua program then you will basically have to hunt through the programs runnign on your computer one by one to find the problem. Not much I can do to help you with that.
kovidgoyal is offline  
Old 02-18-2017, 09:25 AM   #5
tarmarajah
Junior Member
tarmarajah began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Feb 2017
Device: Viking 10
Python....

Hi,

Please, give me some advice how I can look for this problem in my computer to find a solution.
What I supposed to do. I'm hopeless. I don't know what to start with.
tarmarajah is offline  
Advert
Old 02-18-2017, 01:37 PM   #6
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: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I'm afraid trying to walk you through finding the problem program is more time than I have available, but you can instead try installing one of these calibre builds: https://download.calibre-ebook.com/betas/

they are betas for the upcoming calibre 3.0 release and use a different technique for loading modules that might work on your computer.

As before uninstall calibre, then install one of those builds.
kovidgoyal is offline  
Old 02-18-2017, 03:12 PM   #7
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,749
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Try deleting the Calibre2 directory and reinstall. If that doesn't solve the problem, run windows in safe mode (plenty of information via Google how to do so) and see if Calibre runs. If Calibre runs, then you'll need to find out what's starting with the computer that's causing the problem.
JSWolf is offline  
Old 02-18-2017, 09:35 PM   #8
tarmarajah
Junior Member
tarmarajah began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Feb 2017
Device: Viking 10
Python

Thanks Guys so much for your help. I'm going to try to do what you said.
I hope that something will work.
tarmarajah is offline  
Old 02-18-2017, 09:56 PM   #9
tarmarajah
Junior Member
tarmarajah began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Feb 2017
Device: Viking 10
Python

Hi,

It's me again. I didn't notice that U Mr.Kovidgoyal are a Creator of Calibre.
I want to say that your application is the best, in my opinion, on the market.
I'm not professional, but from the beginning of e-books was dreaming about e-book readers and tablet, of course nobody even was thinking to call them this way because they were not existing yet. In the moment when I found your program (Calibe) I knew that this is what I need it and after this, I never was looking for something else because this is perfect. It is how it looks, how is organized, how works (I never have before any problems with it) just now and for sure was not application error is something about my OS.
I wish You good luck. And one thing more, I don't have luck in my life but already few times I brought Big Things for my friends and for strangers than don't be surprise if something good will happen to U.

Last edited by tarmarajah; 02-18-2017 at 09:59 PM.
tarmarajah is offline  
Old 02-22-2017, 02:26 AM   #10
dhristi
Enthusiast
dhristi began at the beginning.
 
dhristi's Avatar
 
Posts: 26
Karma: 10
Join Date: Jan 2015
Device: Samsung Tab A7
I have been having the same problem. I can't seem to open the calibre. Its saying
Quote:
Python function terminated unexpectedly. (5, createfile, access is denied) error code 1
dhristi is offline  
Old 02-22-2017, 07:13 PM   #11
dhristi
Enthusiast
dhristi began at the beginning.
 
dhristi's Avatar
 
Posts: 26
Karma: 10
Join Date: Jan 2015
Device: Samsung Tab A7
I fixed it.

I went to c:\ and put a search for "calibre" and deleted all the files I could see and then installed the software again and it works...
dhristi is offline  
Old 12-09-2017, 12:18 PM   #12
Kindle3w_Pdfs
Enthusiast
Kindle3w_Pdfs began at the beginning.
 
Posts: 27
Karma: 10
Join Date: Nov 2010
Device: kindle 3 wifi
I have a similar issue: When I try to launch Calibre 3.13 (the latest version, I believe) it fails to launch and displays an error window: "Python function terminated unexpectedly / DLL load failed: A dynamic link library (DLL) initialization routine failed. (Error Code: 1)" However, if I launch calibre-debug -g instead of calibre, calibre launches successfully (along with a separate cmd.exe window that displays some debugging info). Hopefully this will provide a hint to the developer to let him find and fix the issue, and in the meantime will show users how to work around the problem.
Kindle3w_Pdfs is offline  
Old 12-09-2017, 12:22 PM   #13
Kindle3w_Pdfs
Enthusiast
Kindle3w_Pdfs began at the beginning.
 
Posts: 27
Karma: 10
Join Date: Nov 2010
Device: kindle 3 wifi
Does calibre-debug.exe use a different Python than calibre.exe uses? My computer has many versions of Python installed, and perhaps calibre.exe is using a different, older version. I'm just taking a wild guess.
Kindle3w_Pdfs is offline  
Old 12-09-2017, 12:26 PM   #14
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: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
No they all use the same python, which calibre comes bundled with. Your issue is almost certainly caused by an antivirus program that is interfering with calibre.exe but not calibre-debug.exe
kovidgoyal is offline  
Old 12-09-2017, 03:20 PM   #15
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,446
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by kovidgoyal View Post
No they all use the same python, which calibre comes bundled with. Your issue is almost certainly caused by an antivirus program that is interfering with calibre.exe but not calibre-debug.exe
Or perhaps yet another variant of the windows NUL device corruption problem.
chaley is offline  
Closed Thread


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre produces Python function terminated unexpectedly roelvdh Calibre 6 09-09-2013 07:50 PM
Python function terminated unexpectedly Borodin Calibre 2 08-21-2013 03:51 AM
"Python function terminated unexpectedly" on ePub to PDF conversion zunga Conversion 10 03-17-2013 07:18 PM
Running recipe error: Python function terminated unexpectedly (Error Code: 1) jpassarella Recipes 0 10-05-2012 12:54 PM
Error: Python function terminated unexpectedly LastMile Calibre 11 01-14-2011 06:07 PM


All times are GMT -4. The time now is 04:08 PM.


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