![]() |
#31 | ||
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 984
Karma: 1183425
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
|
Quote:
Quote:
![]() |
||
![]() |
![]() |
![]() |
#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 | |
|
![]() |
#33 |
just an egg
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,636
Karma: 5041066
Join Date: Mar 2015
Device: Kindle, iOS
|
|
![]() |
![]() |
![]() |
#34 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,635
Karma: 23190435
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
The MD5 value should be 040b7ec0fb115afee69441384cb20017. |
|
![]() |
![]() |
![]() |
#35 | |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 176
Karma: 100000
Join Date: Jan 2015
Device: KA1
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#36 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,640
Karma: 134254544
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.
|
![]() |
![]() |
![]() |
#37 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,635
Karma: 23190435
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
If it doesn't, please provide more details. |
|
![]() |
![]() |
![]() |
#38 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 984
Karma: 1183425
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
|
Thank you for the update, @Doitsu. That was fast!
|
![]() |
![]() |
![]() |
#39 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 38,817
Karma: 153006036
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.
|
![]() |
![]() |
![]() |
#40 | |||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,635
Karma: 23190435
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:
|
|||
![]() |
![]() |
![]() |
#41 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 38,817
Karma: 153006036
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
|
![]() |
![]() |
![]() |
#42 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 984
Karma: 1183425
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 12:03 PM. |
![]() |
![]() |
![]() |
#43 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,635
Karma: 23190435
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:
|
||
![]() |
![]() |
![]() |
#44 | ||
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 984
Karma: 1183425
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 12:32 PM. |
||
![]() |
![]() |
![]() |
#45 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,635
Karma: 23190435
Join Date: Dec 2010
Device: Kindle PW2
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
epubcheck plugin for Sigil | Doitsu | Plugins | 519 | 07-22-2024 04:59 PM |
Open Metadata Editor from plugin | notbuu | Development | 5 | 10-05-2016 12:10 AM |
Sample Plugin for the Editor | DiapDealer | Editor | 77 | 12-10-2014 07:16 AM |
Editor plugin question | DiapDealer | Development | 2 | 07-28-2014 10:23 PM |
Web-based epubcheck upgraded to epubcheck 1.0.5 | kjk | ePub | 4 | 02-09-2010 09:53 PM |