| 
			
			 | 
		#106 | |
| 
			
			
			
			 Well trained by Cats 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,267 
				Karma: 61916422 
				Join Date: Aug 2009 
				Location: The Central Coast of California 
				
				
				Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A 
				
				
				 | 
	
	
	
		
		
			
			 Quote: 
	
 It identified those that I had previously removed the xpgt stylesheet I selected them and ran Modify ePub (current version. verified via internal change log) It Ran, asked to allow update, Went to view log; ABEND (crash. did not copy down the number). I was going to capture (copy to clipboard) the Log because the XPGT entry was still not being removed from the Manifest. BTW could the prompt be changed to Missing manifested files  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#107 | 
| 
			
			
			
			 Calibre Plugins Developer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,735 
				Karma: 2208556 
				Join Date: Oct 2010 
				Location: Australia 
				
				
				Device: Kindle Oasis 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			No *functionality* in this plugin is going to cause an abend as it is 100% Python. The only things that can cause an abend I can think of is something related to the Qt dialogs or this running as a background job, but none of that has been changed forever. I did get a PM from one user saying they had a memory error running against 566 books, which didn't overly surprise me (they weren't using Quality Check, and just relying on Modify ePub to only change what it needed to). 
		
	
		
		
		
		
		
		
		
		
		
		
	
	It definitely removes the xpgt file now (for me at least) - if you have a problem epub which it isn't feel free to PM me a link.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#108 | |
| 
			
			
			
			 Well trained by Cats 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,267 
				Karma: 61916422 
				Join Date: Aug 2009 
				Location: The Central Coast of California 
				
				
				Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Sending you a file I 'cleaned of Adobe' according to the log. The Manifest shows the XPGT file. Just remove the Zip extension. BTW, if I do a batch update, the Modified Date does not get bumped, but it does if I only do 1 file.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#109 | 
| 
			
			
			
			 Calibre Plugins Developer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,735 
				Karma: 2208556 
				Join Date: Oct 2010 
				Location: Australia 
				
				
				Device: Kindle Oasis 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I've replicated the modified date issue. It seems my "close and cleanup" code is not consistently being called where I was doing the update - which was totally weird. I think there is a funky threading/timing issue to do with the Qt's QProgressDialog. I've rearranged the code for the next version so that should be fixed.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#110 | |
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905 
				Karma: 47303824 
				Join Date: Jul 2011 
				Location: Sydney, Australia 
				
				
				Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 As to a plugin or something to do this, maybe in the future. At the moment, I'll stick with my hacked version of Modify ePub  
		 | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#111 | 
| 
			
			
			
			 Calibre Plugins Developer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,735 
				Karma: 2208556 
				Join Date: Oct 2010 
				Location: Australia 
				
				
				Device: Kindle Oasis 
				
				
				 | 
	
	
	
		
		
			
			 
				
				New beta version
			 
			
			
			A few new features for people to play with and offer feedback on (plus the fix for the modified date column issue reported above): 
		
	
		
		
			
 As always, feedback welcomed. Last edited by kiwidude; 06-18-2012 at 02:45 PM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#112 | 
| 
			
			
			
			 Calibre Plugins Developer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,735 
				Karma: 2208556 
				Join Date: Oct 2010 
				Location: Australia 
				
				
				Device: Kindle Oasis 
				
				
				 | 
	
	
	
		
		
			
			 
				
				v1.1.6 Released
			 
			
			
			Changes in this release: 
		
	
		
		
		
		
		
		
		
		
		
		
	
	
 Anyone who downlaoded the beta version above should be sure to force the download of the latest version which has the same version number, for the unused images fix.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#113 | 
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 295 
				Karma: 109308 
				Join Date: Dec 2009 
				Location: NSW Australia 
				
				
				Device: nook touch a Nook 3g (rooted)  and a nookcolor (rooted) 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I'm now getting this error with Modify ePub running on Linux Ubuntu 12.04 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Modify ePubs Traceback (most recent call last): File "site.py", line 58, in main File "site-packages/calibre/utils/ipc/worker.py", line 191, in main File "site-packages/calibre/utils/ipc/worker.py", line 135, in arbitrary_n File "importlib/__init__.py", line 37, in import_module File "site-packages/calibre/customize/zipplugin.py", line 150, in load_module File "calibre_plugins.modify_epub.jobs", line 14, in <module> File "site-packages/calibre/customize/zipplugin.py", line 150, in load_module File "calibre_plugins.modify_epub.modify", line 21, in <module> ImportError: No module named covers  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#114 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 6 
				Karma: 10 
				Join Date: Nov 2011 
				Location: USA 
				
				
				Device: Libre Pro, Nook Tablet 
				
				
				 | 
	
	
	
		
		
			
			 
			
			I used it this morning, then i updated it. Now i doesn't work. I am running Windows XP. Here is the error message: 
		
	
		
		
		
		
		
		
		
		
		
		
		
			Modify ePubs Python function terminated unexpectedly No module named covers (Error Code: 1) Traceback (most recent call last): File "site.py", line 132, in main File "site.py", line 109, in run_entry_point File "site-packages\calibre\utils\ipc\worker.py", line 191, in main File "site-packages\calibre\utils\ipc\worker.py", line 135, in arbitrary_n File "importlib\__init__.py", line 37, in import_module File "site-packages\calibre\customize\zipplugin.py", line 150, in load_module File "calibre_plugins.modify_epub.jobs", line 14, in <module> File "site-packages\calibre\customize\zipplugin.py", line 150, in load_module File "calibre_plugins.modify_epub.modify", line 21, in <module> ImportError: No module named covers Please Help. I like this plug in. Last edited by abigfan; 05-17-2012 at 09:38 AM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#115 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,269 
				Karma: 16544702 
				Join Date: Sep 2009 
				Location: UK 
				
				
				Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Sorry - repeat post - didn't see the 2 previous ones. I am using WinXP.
		 
		
	
		
		
		
		
		
		
		
		
		
		
		
			Last edited by jackie_w; 05-17-2012 at 09:46 AM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#116 | 
| 
			
			
			
			 Calibre Plugins Developer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,735 
				Karma: 2208556 
				Join Date: Oct 2010 
				Location: Australia 
				
				
				Device: Kindle Oasis 
				
				
				 | 
	
	
	
		
		
			
			 
				
				v1.1.7 Released
			 
			
			
			Changes in this release: 
		
	
		
		
		
		
		
		
		
		
		
		
	
	
 Sorry folks, I rushed the release out this morning before a meeting. It had some work in progress code for a future release in there which shouldn't have caused a problem ... except for if I missed a file out... doh...  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#117 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,269 
				Karma: 16544702 
				Join Date: Sep 2009 
				Location: UK 
				
				
				Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Thanks for this. The 'remove unused images' and 'remove broken TOC entries' were very useful when splitting a book bundle omnibus into single books. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	I used Sigil to remove unused css files physically and from the opf <manifest> and (for completeness) other references to missing files from the opf <guide>. This was easy enough, but if you were looking for potential extra work features ...  
		 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#118 | 
| 
			
			
			
			 Calibre Plugins Developer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,735 
				Karma: 2208556 
				Join Date: Oct 2010 
				Location: Australia 
				
				
				Device: Kindle Oasis 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			@jackie_w - cleaning up after splitting omnibus editions is *exactly* the primary use case I had in mind for the remove unused images feature in particular. That and the situation where you have a duplicate inner cover and in Sigil you remove the html page but forget to remove the associated image as well... 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Out of curiosity, what do you mean by an "unused" css file - I'm assuming you mean one that is not linked from html pages? How often does that happen? Unused guide entries would be no great difficult, would need a QC check for it as well. Again not sure how prevalent it is/what causes it...  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#119 | ||
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,269 
				Karma: 16544702 
				Join Date: Sep 2009 
				Location: UK 
				
				
				Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Quote: 
	
   In any case I'm not sure where I'd use it other than when splitting book bundles.In fact, I can almost imagine a spin-off plugin aimed solely at splitting bundles or other omnibuses (omnibi???) which let you select the first html file for each individual book then did the split plus all necessary clean-up operations. Do we know any talented developers who are kind and generous enough to create such a useful item?  
		 | 
||
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#120 | |
| 
			
			
			
			 Plugin Developer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,136 
				Karma: 5005503 
				Join Date: Dec 2011 
				Location: Midwest USA 
				
				
				Device: Kobo Clara Colour running KOReader 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 I've been thinking about an epub extractor/splitter ever since it was suggested on the thread for my EpubMerge plugin. And I've had some time work on it this week. Don't expect it for a bit yet, but there is something coming. Jim  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
            
| Tags | 
| modify epub | 
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| [GUI Plugin] Quality Check | kiwidude | Plugins | 1277 | 10-21-2025 11:04 AM | 
| [GUI Plugin] Open With | kiwidude | Plugins | 404 | 02-21-2025 06:42 AM | 
| [GUI Plugin] Manage Series | kiwidude | Plugins | 167 | 07-28-2024 04:07 PM | 
| Modify ePub plugin dev thread | kiwidude | Development | 346 | 09-02-2013 06:14 PM | 
| [GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 01:27 PM |