Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 03-09-2020, 09:13 AM   #1
dhdurgee
Guru
dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.
 
Posts: 918
Karma: 3000002
Join Date: Jun 2010
Device: K3W, PW4
debug plugin for crash adding book to library

I am encountering a problem adding an epub book to my calibre library. I am getting a pop-up:

Code:
calibre, version 4.12.0
ERROR: Cannot add books: Failed to add some books, click "Show details" for more information.

Worker process crashed while executing job
Traceback (most recent call last):
  File "site-packages/calibre/utils/ipc/pool.py", line 108, in recv
  File "site-packages/calibre/utils/ipc/__init__.py", line 23, in eintr_retry_call
EOFError
How can I debug this further? Can I execute this in a linux terminal window with some additional debugging to determine how to correct the problem?

Dave
dhdurgee is offline  
Old 03-09-2020, 09:54 AM   #2
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
Disable any plugins that automatically run when a new book is added, and retry. That will narrow the scope of your research. Also, check your Auto-Add settings under Preferences > Add Books.

Note that Calibre has built-in plugins for certain specific tasks. You can disable only 3d party plugins.
DaltonST is offline  
Advert
Old 03-09-2020, 10:58 AM   #3
dhdurgee
Guru
dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.
 
Posts: 918
Karma: 3000002
Join Date: Jun 2010
Device: K3W, PW4
Quote:
Originally Posted by DaltonST View Post
Disable any plugins that automatically run when a new book is added, and retry. That will narrow the scope of your research. Also, check your Auto-Add settings under Preferences > Add Books.

Note that Calibre has built-in plugins for certain specific tasks. You can disable only 3d party plugins.
I know which 3rd party plugin is crashing. The question is how do I correct it? This plugin has worked fine in the past with similar books, so I am puzzled at the problem wth it now.

The maintainer of the plugin appears to be leaving it to me to solve, so I am looking for direction on how to do so.

Dave
dhdurgee is offline  
Old 03-09-2020, 12:40 PM   #4
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
No one can help you fix a secret plugin error. Since you are intentionally withholding everything that is important, you are on your own.

Also, your post does not belong under Library Management since its cause is a plugin.
DaltonST is offline  
Old 03-09-2020, 12:54 PM   #5
dhdurgee
Guru
dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.
 
Posts: 918
Karma: 3000002
Join Date: Jun 2010
Device: K3W, PW4
Quote:
Originally Posted by DaltonST View Post
No one can help you fix a secret plugin error. Since you are intentionally withholding everything that is important, you are on your own.

Also, your post does not belong under Library Management since its cause is a plugin.

My error if I neglected to include necessary information, this is my first such instance of a problem with a plugin. The plugin crashing is DeDRM v6.7.0 and as it is designed to be run by the calibre library management software at a minimum I need to understand how I can debug it. If there are additional debug options that can be used within the calibre einvironment that would be helpful. If there is a way to run it outside of the calibre environment this might be helpful. If there additional debugging tools available that would be helpful.

All that I know from the debug options documented with the plugin is that the crash is occurring at the point of trying the encryption key.

Dave
dhdurgee is offline  
Advert
Old 03-09-2020, 01:25 PM   #6
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,143
Karma: 92500001
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
I suggest using the official calibre release for Linux if you are not already doing so.

The calibre software included with various Linux distros can be buggy. Some of them use Python 3 which is not yet supported by many of the calibre plugins.
jhowell is offline  
Old 03-09-2020, 01:51 PM   #7
dhdurgee
Guru
dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.
 
Posts: 918
Karma: 3000002
Join Date: Jun 2010
Device: K3W, PW4
Quote:
Originally Posted by jhowell View Post
I suggest using the official calibre release for Linux if you are not already doing so.

The calibre software included with various Linux distros can be buggy. Some of them use Python 3 which is not yet supported by many of the calibre plugins.
I am using the official release 4.12 here and after hitting the problem with the installed plugin the latest release of that as well.

Dave
dhdurgee is offline  
Old 03-09-2020, 01:57 PM   #8
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: 80,523
Karma: 150249619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by dhdurgee View Post
My error if I neglected to include necessary information, this is my first such instance of a problem with a plugin. The plugin crashing is DeDRM v6.7.0 and as it is designed to be run by the calibre library management software at a minimum I need to understand how I can debug it. If there are additional debug options that can be used within the calibre einvironment that would be helpful. If there is a way to run it outside of the calibre environment this might be helpful. If there additional debugging tools available that would be helpful.

All that I know from the debug options documented with the plugin is that the crash is occurring at the point of trying the encryption key.

Dave
Two choices...

Use Windows 10 or Go to the Apprentice Alf blog and ask for help.
JSWolf is offline  
Old 03-09-2020, 03:04 PM   #9
dhdurgee
Guru
dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.
 
Posts: 918
Karma: 3000002
Join Date: Jun 2010
Device: K3W, PW4
Quote:
Originally Posted by JSWolf View Post
Two choices...

Use Windows 10 or Go to the Apprentice Alf blog and ask for help.
"I don't do Windows!"

I just asked as suggested at Appretice Alf's blog. Only time will tell what response I get there. The only other possible approach I could try at the moment would be to install one of the earlier releases of the plugin to see if that works.

Dave
dhdurgee is offline  
Old 03-09-2020, 03:07 PM   #10
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: 80,523
Karma: 150249619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by dhdurgee View Post
"I don't do Windows!"

I just asked as suggested at Appretice Alf's blog. Only time will tell what response I get there. The only other possible approach I could try at the moment would be to install one of the earlier releases of the plugin to see if that works.

Dave
I'm using an older version because it still works. I have no need yet to update.
JSWolf is offline  
Old 03-09-2020, 03:13 PM   #11
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,213
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Quote:
Originally Posted by dhdurgee View Post
"I don't do Windows!"

I just asked as suggested at Appretice Alf's blog. Only time will tell what response I get there. The only other possible approach I could try at the moment would be to install one of the earlier releases of the plugin to see if that works.

Dave
Yes try one of the earlier releases, but you are getting an EOF error. I would say re-download the epub and try also try other epubs to see if it is only the one that gives the error. I suspect a bad epub or download.


https://www.quora.com/What-does-unex...Python?share=1

Quote:
It means you ran out of data while you were parsing you file, it usually means that there is a syntax error in your input which has confused the parser and its has tried to complete a production but eventually hit the end of file. Another possibility is the file is truncated and there is missing data.
bernie

Edit
OK I just added a recently downloaded drm epub to calibre using the latest tools, worked.

using:
Linux Mint 19.3 Tricia
Kernel: 5.3.0-40-generic x86_64 bits
Cinnamon 4.4.8

Last edited by gbm; 03-09-2020 at 03:19 PM.
gbm is offline  
Old 03-09-2020, 03:19 PM   #12
dhdurgee
Guru
dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.
 
Posts: 918
Karma: 3000002
Join Date: Jun 2010
Device: K3W, PW4
Quote:
Originally Posted by gbm View Post
Yes try one of the earlier releases, but you are getting an EOF error. I would say re-download the epub and try also try other epubs to see if it is only the one that gives the error. I suspect a bad epub or download.


https://www.quora.com/What-does-unex...Python?share=1


bernie
I will try an earlier release of the plugin and see what happens. I doubt the book is truncated, as an epub is also a zip file and a zip check returns no errors detected.

Dave
dhdurgee is offline  
Old 03-09-2020, 03:20 PM   #13
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,213
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Quote:
Originally Posted by JSWolf View Post
Two choices...

Use Windows 10 or Go to the Apprentice Alf blog and ask for help.
Some of us do not like using a system that is nothing but spyware.

bernie
gbm is offline  
Old 03-09-2020, 03:32 PM   #14
dhdurgee
Guru
dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.
 
Posts: 918
Karma: 3000002
Join Date: Jun 2010
Device: K3W, PW4
I installed an older plugin from 2017 and attempted to add the book again. THIS WORKED!

Dave
dhdurgee is offline  
Old 03-09-2020, 04:48 PM   #15
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: 80,523
Karma: 150249619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by dhdurgee View Post
I installed an older plugin from 2017 and attempted to add the book again. THIS WORKED!

Dave
Whenever the Python 3 version of the DeDRM plugin is released, it's going to be based on the latest version. So go report it as a problem so it can be fixed.
JSWolf is offline  
Closed Thread


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Best way to debug Calibre crash? DMcCunney Devices 8 05-14-2017 09:23 PM
Plugin behaving differently with and without debug option Terisa de morgan Development 4 03-20-2017 02:10 PM
Plugin debug output DiapDealer Development 4 12-04-2016 09:12 AM
How to debug a plugin together with the calibre solution in VS2013? esvorontsov Development 2 09-21-2015 08:32 AM
User Interface Plugin Creation/Debug process ldolse Development 15 11-04-2011 09:15 AM


All times are GMT -4. The time now is 02:36 PM.


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