Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 09-30-2020, 08:20 PM   #1531
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 9,280
Karma: 63226963
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Also you can go to Preferences > Plugins > Check for Updated Plugins if the text doesn't show up and you don't use a toolbar button for it.
ownedbycats is offline   Reply With Quote
Old 09-30-2020, 08:27 PM   #1532
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 39,392
Karma: 153780470
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by VelvetElvis View Post
Maybe it's late, or maybe I'm not paying attention, but where can I find v1.6.0?

BTW, thanks a bunch for this. My most oft-used plugin.
If it is placed in the first message in the thread, calibre will automatically offer it as an update or you can simply download it from the link in the first message. I seem to remember that it takes about 30 minutes from when the first message is updated to when calibre offers the update.
DNSB is offline   Reply With Quote
Old 09-30-2020, 09:56 PM   #1533
VelvetElvis
Addict
VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.
 
VelvetElvis's Avatar
 
Posts: 257
Karma: 20028
Join Date: Jan 2011
Location: Canada
Device: Fire HD8, Asus, Sony (T1, PRS-300), Kobo (Glo, Touch, Wireless)
Quote:
Originally Posted by chaley View Post
Use the standard calibre plugin updater.
Thanks all.

Opened the Plugins dialog, and typed in "Modify" in the search box, when I should've opened "Get new plugins". Not the first time I've done this.

Cheers!
VelvetElvis is offline   Reply With Quote
Old 10-01-2020, 02:04 AM   #1534
un_pogaz
Chalut o/
un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.
 
un_pogaz's Avatar
 
Posts: 420
Karma: 145424
Join Date: Dec 2017
Device: Kobo
Thanks you so mush @chaley o/
un_pogaz is offline   Reply With Quote
Old 10-04-2020, 04:11 PM   #1535
fvdham
Connoisseur
fvdham began at the beginning.
 
fvdham's Avatar
 
Posts: 52
Karma: 10
Join Date: Jun 2012
Location: Zaandam, The Netherlands
Device: sony PRS-T1 / Kobo Glo HD
After using the latest version successfully with about 20 books I have got the following error with two books:

calibre, version 5.1.0
ERROR: Modify ePub failed: No ePub files were updated

Modify ePubs version (1, 6, 0)
Logfile for book ID 7579 (De slag in het Kralingse Bos / Vermeulen, Esther)
Job details 7579

Modifying: C:\Users\Fred\AppData\Local\Temp\calibre_l_cvqgyv\ 9nc941ak_modify_epub\7579.epub

Updating metadata and cover

Parsing xml file: OEBPS/content.opf

Parsing xml file: OEBPS/toc.ncx

Looking for html pages containing only broken image links

De slag in het Kralingse Bos - ERROR: Traceback (most recent call last):

File "calibre_plugins.modify_epub.modify", line 78, in process_book

File "calibre_plugins.modify_epub.modify", line 162, in _process_book

File "calibre_plugins.modify_epub.modify", line 842, in _remove_broken_covers

File "calibre_plugins.modify_epub.container", line 728, in is_drm_encrypted

File "src/lxml/etree.pyx", line 3237, in lxml.etree.fromstring

File "src/lxml/parser.pxi", line 1891, in lxml.etree._parseMemoryDocument

ValueError: Unicode strings with encoding declaration are not supported. Please use bytes input or XML fragments without declaration.



ePub not changed after 0.45 seconds

Any idee whats wrong?
fvdham is offline   Reply With Quote
Old 10-04-2020, 06:09 PM   #1536
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: 75,860
Karma: 134368292
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 fvdham View Post
After using the latest version successfully with about 20 books I have got the following error with two books:

calibre, version 5.1.0
ERROR: Modify ePub failed: No ePub files were updated

Modify ePubs version (1, 6, 0)
Logfile for book ID 7579 (De slag in het Kralingse Bos / Vermeulen, Esther)
Job details 7579

Modifying: C:\Users\Fred\AppData\Local\Temp\calibre_l_cvqgyv\ 9nc941ak_modify_epub\7579.epub

Updating metadata and cover

Parsing xml file: OEBPS/content.opf

Parsing xml file: OEBPS/toc.ncx

Looking for html pages containing only broken image links

De slag in het Kralingse Bos - ERROR: Traceback (most recent call last):

File "calibre_plugins.modify_epub.modify", line 78, in process_book

File "calibre_plugins.modify_epub.modify", line 162, in _process_book

File "calibre_plugins.modify_epub.modify", line 842, in _remove_broken_covers

File "calibre_plugins.modify_epub.container", line 728, in is_drm_encrypted

File "src/lxml/etree.pyx", line 3237, in lxml.etree.fromstring

File "src/lxml/parser.pxi", line 1891, in lxml.etree._parseMemoryDocument

ValueError: Unicode strings with encoding declaration are not supported. Please use bytes input or XML fragments without declaration.



ePub not changed after 0.45 seconds

Any idee whats wrong?
Nothing wrong with Modify ePub. The problem is that the DeDRM plugin does not work with Calibre 5.x. Your ePub still has DRM. You will have to reinstall Calibre 4.23 in order to remove DRM.
JSWolf is offline   Reply With Quote
Old 10-04-2020, 06:37 PM   #1537
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: 11,938
Karma: 7219261
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by fvdham View Post
Any idee whats wrong?
This appears to be yet another incompatibility caused by the switch to calibre 5/Python 3. I think I can fix it but it would help a lot if you could send me a book that fails so I can test the fix. Please send the book to calibre-bugs-mod [at] charleshaley [dot] org (make the replacements.
chaley is offline   Reply With Quote
Old 10-04-2020, 09:29 PM   #1538
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: 75,860
Karma: 134368292
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 chaley View Post
This appears to be yet another incompatibility caused by the switch to calibre 5/Python 3. I think I can fix it but it would help a lot if you could send me a book that fails so I can test the fix. Please send the book to calibre-bugs-mod [at] charleshaley [dot] org (make the replacements.
Did you not notice that one of the lines in the error output says that the eBook has DRM?

Code:
File "calibre_plugins.modify_epub.container", line 728, in is_drm_encrypted
JSWolf is offline   Reply With Quote
Old 10-04-2020, 10:21 PM   #1539
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: 6,677
Karma: 86234809
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by JSWolf View Post
Did you not notice that one of the lines in the error output says that the eBook has DRM?
It appears that there is a bug in the part of the plugin that checks whether or not an EPUB is encrypted. The plugin is failing while trying to determine the encryption type.
jhowell is offline   Reply With Quote
Old 10-05-2020, 06:07 AM   #1540
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: 11,938
Karma: 7219261
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
This version might fix the problem. I don't have any books with adobe obfuscation to test it.

EDIT: [test version released]

Last edited by chaley; 10-05-2020 at 07:56 AM. Reason: Removed test version that was released
chaley is offline   Reply With Quote
Old 10-05-2020, 07:34 AM   #1541
fvdham
Connoisseur
fvdham began at the beginning.
 
fvdham's Avatar
 
Posts: 52
Karma: 10
Join Date: Jun 2012
Location: Zaandam, The Netherlands
Device: sony PRS-T1 / Kobo Glo HD
I have tested version 1.6.1 The 2 books that failed before give no error anymore.
Thanks for the quick response.

Is DRM causing the problem? None of the Adobe options were ticked

Last edited by fvdham; 10-05-2020 at 07:38 AM.
fvdham is offline   Reply With Quote
Old 10-05-2020, 07:52 AM   #1542
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: 11,938
Karma: 7219261
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by fvdham View Post
Is DRM causing the problem? None of the Adobe options were ticked
The problem was caused by the presence of a file with a name ending in "encryption.xml". The plugin checks that file to see how encryption is used. It allows what I think is font obfuscation. It gives up on anything else.

If the plugin gives up then you should see messages in the log of the form "ERROR - cannot [do some operation] in DRM encrypted book'
chaley is offline   Reply With Quote
Old 10-05-2020, 08:23 AM   #1543
fvdham
Connoisseur
fvdham began at the beginning.
 
fvdham's Avatar
 
Posts: 52
Karma: 10
Join Date: Jun 2012
Location: Zaandam, The Netherlands
Device: sony PRS-T1 / Kobo Glo HD
You are right. There is a file encription.xml in these 2 books although the books are not encripted.
fvdham is offline   Reply With Quote
Old 10-05-2020, 10:31 AM   #1544
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: 75,860
Karma: 134368292
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Using Sigil, I was able to obfuscate embedded fonts and test the plugin. 1.6.1 did not generate an error.
JSWolf is offline   Reply With Quote
Old 12-03-2020, 02:50 PM   #1545
moehong
Junior Member
moehong began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jul 2019
Device: Kobo Aura One
Thumbs up feature request – and thanks for a great plugin!

Fantastic plugin! One feature I'd find fantastically useful:

The ability to bulk-compress. Right now, the reader portion of the app includes under tools the ability to compress images either losslessly or lossy. The latter often can cut larger books (and image-intensive kids or textbooks) by 95%+ in size while keeping the images perfectly acceptable at tablet size. I generally use a 40 or 50 setting and can pretty reliably cut at least 75% off the size of cookbooks even. That said, it's incredibly time-consuming to do this over and over when you have 100+ books to compress. Being able to compress directly from Calibre, without having to open every single book individually, run the tool, and save each book ... that would be a dream!
moehong is offline   Reply With Quote
Reply

Tags
modify epub


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Quality Check kiwidude Plugins 1197 08-05-2024 06:06 AM
[GUI Plugin] Manage Series kiwidude Plugins 167 07-28-2024 03:07 PM
[GUI Plugin] Open With kiwidude Plugins 403 04-01-2024 08:39 AM
Modify ePub plugin dev thread kiwidude Development 346 09-02-2013 05:14 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 07:47 PM.


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