| 
			
			 | 
		#1 | 
| 
			
			
			
			 Guru 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 Dave  | 
| 
		 | 
	
	
| 
			
			 | 
		#2 | 
| 
			
			
			
			 Deviser 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.  | 
| 
		 | 
	
	
| 
			
			 | 
		#3 | |
| 
			
			
			
			 Guru 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 918 
				Karma: 3000002 
				Join Date: Jun 2010 
				
				
				
				Device: K3W, PW4 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 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  | 
|
| 
		 | 
	
	
| 
			
			 | 
		#4 | 
| 
			
			
			
			 Deviser 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.  | 
| 
		 | 
	
	
| 
			
			 | 
		#5 | |
| 
			
			
			
			 Guru 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 918 
				Karma: 3000002 
				Join Date: Jun 2010 
				
				
				
				Device: K3W, PW4 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 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  | 
|
| 
		 | 
	
	
| 
			
			 | 
		#6 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,162 
				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.  | 
| 
		 | 
	
	
| 
			
			 | 
		#7 | |
| 
			
			
			
			 Guru 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 918 
				Karma: 3000002 
				Join Date: Jun 2010 
				
				
				
				Device: K3W, PW4 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Dave  | 
|
| 
		 | 
	
	
| 
			
			 | 
		#8 | |
| 
			
			
			
			 Resident Curmudgeon 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,784 
				Karma: 150249619 
				Join Date: Nov 2006 
				Location: Roslindale, Massachusetts 
				
				
				Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Use Windows 10 or Go to the Apprentice Alf blog and ask for help.  | 
|
| 
		
 | 
	
	
| 
			
			 | 
		#9 | |
| 
			
			
			
			 Guru 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 918 
				Karma: 3000002 
				Join Date: Jun 2010 
				
				
				
				Device: K3W, PW4 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 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  | 
|
| 
		 | 
	
	
| 
			
			 | 
		#10 | |
| 
			
			
			
			 Resident Curmudgeon 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,784 
				Karma: 150249619 
				Join Date: Nov 2006 
				Location: Roslindale, Massachusetts 
				
				
				Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
  | 
|
| 
		
 | 
	
	
| 
			
			 | 
		#11 | ||
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,215 
				Karma: 8888888 
				Join Date: Jun 2010 
				
				
				
				Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 https://www.quora.com/What-does-unex...Python?share=1 Quote: 
	
 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 04:19 PM.  | 
||
| 
		 | 
	
	
| 
			
			 | 
		#12 | |
| 
			
			
			
			 Guru 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 918 
				Karma: 3000002 
				Join Date: Jun 2010 
				
				
				
				Device: K3W, PW4 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Dave  | 
|
| 
		 | 
	
	
| 
			
			 | 
		#13 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,215 
				Karma: 8888888 
				Join Date: Jun 2010 
				
				
				
				Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite 
				
				
				 | 
	
	|
| 
		 | 
	
	
| 
			
			 | 
		#14 | 
| 
			
			
			
			 Guru 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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  | 
| 
		 | 
	
	
| 
			
			 | 
		#15 | 
| 
			
			
			
			 Resident Curmudgeon 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,784 
				Karma: 150249619 
				Join Date: Nov 2006 
				Location: Roslindale, Massachusetts 
				
				
				Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 
				
				
				 | 
	
	|
| 
		
 | 
	
	
![]()  | 
            
        
            
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Best way to debug Calibre crash? | DMcCunney | Devices | 8 | 05-14-2017 10:23 PM | 
| Plugin behaving differently with and without debug option | Terisa de morgan | Development | 4 | 03-20-2017 03:10 PM | 
| Plugin debug output | DiapDealer | Development | 4 | 12-04-2016 10:12 AM | 
| How to debug a plugin together with the calibre solution in VS2013? | esvorontsov | Development | 2 | 09-21-2015 09:32 AM | 
| User Interface Plugin Creation/Debug process | ldolse | Development | 15 | 11-04-2011 10:15 AM |