05-09-2024, 03:49 PM | #16 |
Member
Posts: 19
Karma: 10
Join Date: Dec 2016
Device: mobi
|
"... DNSB wrote: Instead of Check Book which is a rather simplistic check, try using epubcheck. As for the re-import? You do not save a backup copy before editing? ..." . Two things: 1 - I'm not asking for support as much as I'm trying to present to Kovid Goyal that the various EPUB checking algorithms in the Calibre Ebook program disagree with each other: make all Calibre Ebook check routines equivalent. 2 - 'Help'-wise, yes, once I've completely edited an EPUB, I'm chagrinned that those edits are lost and I have to re-do them, hence the query if it's possible to re-import THE SUPOSEDLY OK BUT REALLY DAMAGED EPUB without it's apparently munged metadata, other wise, I either re-edit after re-importing the original, or in this case, Amazon converted it to MOBI ( and KFX ) no problem - in other words, instead of Calibre saying "I can't open this for editing", how about Calibre saying "This appears damaged, please wait a moment while I fix it". So this thread is more of a report to Kovid Goyal than it is a request for specific EPUB repair for me, more of a general "once an EPUB becomes corrupt, in spite of the Calibre Edit book Check book saying "no problems", but then the EPUB cannot be re-opened for editing, for polishing, for converting, only for reading ( funny that ), or for sending to Amazon, who converts it just fine, no problem. Regarding epubcheck, I presume from W3.org, do you expect that program to FIX malformatted metadata? Thanks. . |
05-09-2024, 04:52 PM | #17 | |
Bibliophagist
Posts: 40,579
Karma: 157444380
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Expecting the same results from a standards compliancy checker and a renderer is a bit of a stretch. The calibre ebook-viewer is Chrome based and is very forgiving of errors as most web browsers tend to be. The calibre ebook-editor BooK Check tool is not as forgiving and epubcheck is basically that martinet who screamed at you over a misplaced comma. I also use the W3C CSS validation service to check the CSS files for errors such as using a CSS3 (ePub3 uses that flavour) in an ePub2 (CSS 2.1 flavour). It helps to prevent unpleasant surprises for the end user. |
|
05-09-2024, 07:42 PM | #18 | |
null operator (he/him)
Posts: 21,006
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
You will get a direct response from Kovid there. BR |
|
05-09-2024, 11:49 PM | #19 |
creator of calibre
Posts: 44,562
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Jesus, what a load of noise over nothing. There was a bug which caused calibre to choke on a particular type of malformed metadata in EPUB3 files. That was fixed, as I indicated in my post days ago. All you have to do is wait for the next calibre preview/release and you will be able to import your EPUB with no issues.
|
05-10-2024, 11:25 AM | #20 |
Member
Posts: 19
Karma: 10
Join Date: Dec 2016
Device: mobi
|
"BetterRed wrote: . . . I suggest you report your issue as a Bug/Enhancement, see ==>> *calibre - Bugs* (https://calibre-ebook.com/bugs) You will get a direct response from Kovid there. BR . . ." Oh, great to know a https://calibre-ebook.com/bugs site exists. "Kovid Goyal wrote: . . . There was a bug which caused calibre to choke on a particular type of malformed metadata in EPUB3 files . . . fixed . . . wait for the next calibre preview/release and you will be able to import your EPUB with no issues . . ." There is no response to a search for "AttributeError: Custom field name '' must begin with '#'" at https://calibre-ebook.com/bugs - what "Bug" is this situation listed under? Anyway, glad to know this was noticed and will be addressed via a subsequent release. As ever, thank you, Kovid Goyal - and all the folks at https://calibre-ebook.com/about#contributors - for the superlative Calibre Ebook universe of programs for eBook reading, converting, library management, editing, emailing, researching, and more! . |
05-10-2024, 12:31 PM | #21 | |
Grand Sorcerer
Posts: 12,760
Karma: 75000002
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
The canonical location for fixes is the calibre GitHub repository. You maybe overlooked an earlier response from Kovid
Quote:
Sent from my Pixel 7a using Tapatalk |
|
05-10-2024, 12:44 PM | #22 |
Member
Posts: 19
Karma: 10
Join Date: Dec 2016
Device: mobi
|
"PeterT wrote: The canonical location for fixes is the calibre GitHub repository. You maybe overlooked an earlier response from Kovid: ". . . Kovid Goyal wrote: Somebody has tampered with that epub file leaving behind invalid metadata in its OPF. https://github.com/kovidgoyal/calibr...2b080895ad476f . . ." That link he includes is to the change made to fix the issue which will be included in the next calibre release. Sent from my Pixel 7a using Tapatalk"How would an end user know what all that meant? However: "Kovid Goyal wrote: . . . There was a bug which caused calibre to choke on a particular type of malformed metadata in EPUB3 files . . . fixed . . . wait for the next calibre preview/release and you will be able to import your EPUB with no issues . . ." . . . works for me. Thanks. . |
05-10-2024, 04:01 PM | #23 |
Bibliophagist
Posts: 40,579
Karma: 157444380
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
|
05-10-2024, 06:09 PM | #24 |
the rook, bossing Never.
Posts: 12,375
Karma: 92073397
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Indeed life is too short for that. I do click on "fix filename" of a font file. That's rare.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
custom field based on multiple value field for export | nindotza | Calibre | 0 | 01-02-2021 09:37 AM |
CC - custom field not displaying | SgtDave | Calibre Companion | 6 | 01-04-2019 10:43 AM |
Question about populating custom field | jmricker | Plugins | 3 | 08-09-2014 03:10 PM |
Custom field for 'original language' | wladdy | Library Management | 1 | 08-08-2014 02:26 PM |
Custom Metadata Field | gpp | Sigil | 6 | 02-22-2011 09:39 AM |