|
|
#106 | |
|
Staff to 4 Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,690
Karma: 2485828
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
|
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
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
|
|
|
|
|
|
|
#107 |
|
calibre/Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,087
Karma: 1211084
Join Date: Oct 2010
Location: London, UK
Device: Kindle 3 3G, iPad 2, iPad 3
|
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.
__________________
Like my calibre plugins or Sigil work? Say thanks with PayPal |
|
|
|
|
Enthusiast
|
|
|
|
#108 | |
|
Staff to 4 Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,690
Karma: 2485828
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
|
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.
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
|
|
|
|
|
|
|
#109 |
|
calibre/Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,087
Karma: 1211084
Join Date: Oct 2010
Location: London, UK
Device: Kindle 3 3G, iPad 2, iPad 3
|
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.
__________________
Like my calibre plugins or Sigil work? Say thanks with PayPal |
|
|
|
|
|
#110 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,976
Karma: 1780441
Join Date: Jul 2011
Location: Australia
Device: Kobo Touch, Kobo Glo
|
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/Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,087
Karma: 1211084
Join Date: Oct 2010
Location: London, UK
Device: Kindle 3 3G, iPad 2, iPad 3
|
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.
__________________
Like my calibre plugins or Sigil work? Say thanks with PayPal Last edited by kiwidude; 06-18-2012 at 01:45 PM. |
|
|
|
|
|
#112 |
|
calibre/Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,087
Karma: 1211084
Join Date: Oct 2010
Location: London, UK
Device: Kindle 3 3G, iPad 2, iPad 3
|
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.
__________________
Like my calibre plugins or Sigil work? Say thanks with PayPal |
|
|
|
|
|
#113 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 294
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
__________________
============== Free online storage with Dropbox. Sign up with my link and we both get an extra 500MB free. |
|
|
|
|
|
#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 08:38 AM. |
|
|
|
|
|
#115 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,094
Karma: 3332928
Join Date: Sep 2009
Location: UK
Device: Sony PRS-350/650/T1, PB360, KoboGlo, KoboAuraHD
|
Sorry - repeat post - didn't see the 2 previous ones. I am using WinXP.
Last edited by jackie_w; 05-17-2012 at 08:46 AM. |
|
|
|
|
|
#116 |
|
calibre/Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,087
Karma: 1211084
Join Date: Oct 2010
Location: London, UK
Device: Kindle 3 3G, iPad 2, iPad 3
|
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...
__________________
Like my calibre plugins or Sigil work? Say thanks with PayPal |
|
|
|
|
|
#117 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,094
Karma: 3332928
Join Date: Sep 2009
Location: UK
Device: Sony PRS-350/650/T1, PB360, KoboGlo, KoboAuraHD
|
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/Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,087
Karma: 1211084
Join Date: Oct 2010
Location: London, UK
Device: Kindle 3 3G, iPad 2, iPad 3
|
@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...
__________________
Like my calibre plugins or Sigil work? Say thanks with PayPal |
|
|
|
|
|
#119 | ||
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,094
Karma: 3332928
Join Date: Sep 2009
Location: UK
Device: Sony PRS-350/650/T1, PB360, KoboGlo, KoboAuraHD
|
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: 818
Karma: 300102
Join Date: Dec 2011
Location: Midwest USA
Device: Nook STR w/Glowlight, Kindle 3g, Droid
|
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 |
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [GUI Plugin] Quality Check | kiwidude | Plugins | 631 | 05-10-2013 04:10 PM |
| [GUI Plugin] Manage Series | kiwidude | Plugins | 105 | 05-06-2013 01:43 PM |
| [GUI Plugin] Open With | kiwidude | Plugins | 183 | 04-22-2013 02:25 PM |
| Modify ePub plugin dev thread | kiwidude | Development | 343 | 11-22-2012 07:35 AM |
| [GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |