![]() |
#1771 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 477
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#1772 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,758
Karma: 168959600
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
I think I've complained about the before but when Remove non-DC metadata elements is checked, the DC Modified item is removed. It is the only mandatory for ePub3 property that does not start with <dc: but it's an annoyance having to restore it.
Code:
<meta property="dcterms:modified">2025-03-23T18:40:12Z</meta> |
![]() |
![]() |
![]() |
#1773 | |
Calibre Plugins Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,728
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
Quote:
Obviously ePub3 didn't exist back in 2011 when this plugin feature was written. To change this will require not just a change in this plugin, but also a change to the Quality Check plugin to make it skip this attribute. It shouldn't be a majorly difficult change (I hope), will put it on the list. |
|
![]() |
![]() |
![]() |
#1774 |
Calibre Plugins Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,728
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
Modify ePub v1.8.6
Release Notes
https://github.com/kiwidude68/calibr...fy_epub-v1.8.6 I still need to make the matching change to Quality Check later... |
![]() |
![]() |
![]() |
#1775 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,758
Karma: 168959600
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Thanks for the change! |
|
![]() |
![]() |
![]() |
#1776 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,758
Karma: 168959600
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Got around to doing more testing with the updated plugin and it spits out an error message when I attempt to modify more that one file at a time. My test was with 3 files and got the error message after clicking Yes to replace the versions in the library (the log file prior to clicking yes did not show any errors). Doing those 3 files one at a time did not generate the error message.
Code:
calibre, version 8.0.1 ERROR: Unhandled exception: <b>AttributeError</b>:'NoneType' object has no attribute 'update_last_modified' ... Traceback (most recent call last): File "calibre_plugins.modify_epub.dialogs", line 291, in do_book_check File "calibre_plugins.modify_epub.dialogs", line 310, in do_close AttributeError: 'NoneType' object has no attribute 'update_last_modified' |
![]() |
![]() |
![]() |
#1777 |
Calibre Plugins Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,728
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
@DNSB - that isn't something I have been able to replicate, nor does it look in any way related to the change I made. That error message looks like somehow the plugin dialog has been unable to find the current database object. TBH I haven't even seen the prompt for so long (I have it turned off in configuration options for that plugin), but I selected 3 books, did an add/replace cover, and it all worked fine.
Is it only on specific Modify ePub options being ticked? In which case there must be more error messages or log somewhere, PM me the full log. |
![]() |
![]() |
![]() |
#1778 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,758
Karma: 168959600
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Getting rather weird. It only happened on my Intake library. So I created a new library copying the structure of the Intake library and copied the contents of my Intake library there. After the copy, I could happily Modify ePub the contents of Intake2 without getting the error message after clicking on yes. I then deleted the original Intake library, created a new one after deleting the contents of the Intake directory, copied everything back from the Intake2 library and no issues running Modify ePub.
When I was playing with my original Intake library after moving the contents to Intake2, I copied 5 files from my Main library and they came up with the same error message. So something in the library or it's structure caused the issue but, as the old sign I had above my desk at work said, We don't believe in miracles, we just depend on them. I've attached my Modify ePub configuratin screen and the calibre debug error logs. Once again, thanks for your help and feedback. |
![]() |
![]() |
![]() |
Tags |
modify epub |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Quality Check | kiwidude | Plugins | 1247 | 04-18-2025 01:51 AM |
[GUI Plugin] Open With | kiwidude | Plugins | 404 | 02-21-2025 05:42 AM |
[GUI Plugin] Manage Series | kiwidude | Plugins | 167 | 07-28-2024 03:07 PM |
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 |