11-05-2018, 09:11 PM | #31 | |
Wizard
Posts: 1,082
Karma: 1221485
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
|
Quote:
Thanks Doitsu for the quick correction. It works perfectly now! |
|
11-26-2018, 10:40 PM | #32 |
Groupie
Posts: 176
Karma: 100000
Join Date: Jan 2015
Device: KA1
|
The 0.1.4 update causes Calibre to hang and never update on my Mac.
|
Advert | |
|
11-27-2018, 12:28 AM | #33 |
just an egg
Posts: 1,696
Karma: 5514284
Join Date: Mar 2015
Device: Kindle, iOS
|
|
11-27-2018, 05:26 AM | #34 | |
Grand Sorcerer
Posts: 5,640
Karma: 23191067
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
The MD5 value should be 040b7ec0fb115afee69441384cb20017. |
|
11-27-2018, 09:40 AM | #35 | |
Groupie
Posts: 176
Karma: 100000
Join Date: Jan 2015
Device: KA1
|
Quote:
|
|
Advert | |
|
11-27-2018, 12:08 PM | #36 |
Resident Curmudgeon
Posts: 76,421
Karma: 136564696
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I've just run the new version for the first time with the Calibre editor. I have gotten 18 warnings. Would it be possible to fix the plugin so we can see the warnings and fix them if we want? Thanks.
|
11-27-2018, 01:27 PM | #37 | |
Grand Sorcerer
Posts: 5,640
Karma: 23191067
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
If it doesn't, please provide more details. |
|
11-27-2018, 07:37 PM | #38 |
Wizard
Posts: 1,082
Karma: 1221485
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
|
Thank you for the update, @Doitsu. That was fast!
|
11-28-2018, 12:41 AM | #39 |
Bibliophagist
Posts: 40,549
Karma: 157444380
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
When I played with it, I detached the postage stamp sized window used for epubcheck's output and dumped it on a second monitor where I resized it to a more useful size. I used a couple of test files and had 5 more errors using the new version than the old version generated.
|
11-28-2018, 04:07 AM | #40 | |||
Grand Sorcerer
Posts: 5,640
Karma: 23191067
Join Date: Dec 2010
Device: Kindle PW2
|
Hi David,
Quote:
Quote:
BTW, the only additional message that I got for files created by very old Calibre/Sigil versions was: Code:
ERROR(NCX-001): temp.epub/OEBPS/toc.ncx(-1,-1): NCX identifier ('xxx') does not match OPF identifier ('urn:uuid:xxx'). Quote:
|
|||
11-28-2018, 07:19 PM | #41 |
Bibliophagist
Posts: 40,549
Karma: 157444380
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
|
12-01-2018, 10:45 AM | #42 |
Wizard
Posts: 1,082
Karma: 1221485
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
|
Pass further arguments do EPUBCheck
Hi, @Doitsu
Altough I'm a complete noob to python (an to programming in general), I was trying to modify your plugin so I could pass the "--usage" argument to epubcheck. I've tried changing this lines: Spoiler:
Spoiler:
Spoiler:
But I got no luck... Is this possible? Am I just missing some other reference or it would need a more profound change to the code? EDIT: Of course this wouldn't be default behavior. It could be enabled by another entry to EpubCheck.json. Somethin like "usage": true. Last edited by thiago.eec; 12-01-2018 at 01:03 PM. |
12-01-2018, 12:33 PM | #43 | ||
Grand Sorcerer
Posts: 5,640
Karma: 23191067
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
However, you (and I) underestimated the EPUBCheck developers. Since they don't consider USAGE messages errors, all USAGE messages are written to stdout not stderr. Since the plugin only checked stderr for error messages, they were ignored. Your changes should work if you also add the following line: Code:
stderr = result[1].decode(os_encoding)
stderr += stdout
(I've also attached an updated version of main.py for your convenience.) Quote:
|
||
12-01-2018, 01:03 PM | #44 | ||
Wizard
Posts: 1,082
Karma: 1221485
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
|
Quote:
Quote:
EDIT: Got it reading from EpubCheck.json now. Last edited by thiago.eec; 12-01-2018 at 01:32 PM. |
||
12-01-2018, 02:46 PM | #45 |
Grand Sorcerer
Posts: 5,640
Karma: 23191067
Join Date: Dec 2010
Device: Kindle PW2
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
epubcheck plugin for Sigil | Doitsu | Plugins | 533 | 10-24-2024 04:32 PM |
Open Metadata Editor from plugin | notbuu | Development | 5 | 10-05-2016 01:10 AM |
Sample Plugin for the Editor | DiapDealer | Editor | 77 | 12-10-2014 08:16 AM |
Editor plugin question | DiapDealer | Development | 2 | 07-28-2014 11:23 PM |
Web-based epubcheck upgraded to epubcheck 1.0.5 | kjk | ePub | 4 | 02-09-2010 10:53 PM |