05-27-2018, 06:33 AM | #31 |
Witchman
Posts: 628
Karma: 788808
Join Date: May 2013
Location: Philippines
Device: Android S5
|
@Thasaidon...Thanks for spotting that problem. I've fixed that problem and tested it fairly thoroughly so hopefully you shouldn't have that problem anymore when you use the plugin.
Last edited by slowsmile; 05-27-2018 at 06:41 AM. |
05-27-2018, 08:46 PM | #32 | |
Hedge Wizard
Posts: 802
Karma: 19999999
Join Date: May 2011
Location: UK/Philippines
Device: Kobo Touch, Nook Simple
|
Quote:
One more nuisance tackled. I will keep you posted on how things go. I still have hundreds of books to process. |
|
05-30-2018, 06:17 AM | #33 |
Junior Member
Posts: 2
Karma: 10
Join Date: Apr 2018
Device: kindle paperwhite
|
Hi slowsmile,
just to report you this error your plugin gaves me on few epubs: Spoiler:
In a short "Error: local variable 'new_aid' referenced before assignment" Thank you for you help. Last edited by Lucsart; 05-30-2018 at 07:16 AM. |
05-31-2018, 11:54 PM | #34 |
Witchman
Posts: 628
Karma: 788808
Join Date: May 2013
Location: Philippines
Device: Android S5
|
Update: Fixed a bug and removed some unnecessary code in the checkOPFID() function (v0.2.0).
Last edited by slowsmile; 06-01-2018 at 12:09 AM. |
05-31-2018, 11:56 PM | #35 |
Witchman
Posts: 628
Karma: 788808
Join Date: May 2013
Location: Philippines
Device: Android S5
|
@Lucsart...The above update(v0.2.0) should hopefully fix the problem that you reported. Thanks for reporting this problem.
Last edited by slowsmile; 06-01-2018 at 12:09 AM. |
06-01-2018, 04:13 AM | #36 |
Junior Member
Posts: 2
Karma: 10
Join Date: Apr 2018
Device: kindle paperwhite
|
|
06-08-2020, 01:02 PM | #37 |
Groupie
Posts: 166
Karma: 91148
Join Date: Jun 2010
Device: Sony 350
|
Hello, thanks for this plugin.
I am converting some epub2 files to epub3 and cleaning them up a bit. The original epub2 files have a BookID in the form of a url. I want to replace them with a standard urn:uuid. This plugin seems like it could perfectly do that but when I tried it on a test file (open epub2 file, run plugin, no other actions), this problem is found and the log says it has been replaced, but in fact the uuid is not added to the opf and instead almost all the metadata has been removed. Here is an example using a Project Gutenberg file. IDErrorCheck Log: Spoiler:
Original metadata in the opf: Spoiler:
Opf Metadata after the plugin: Spoiler:
Am I missing something? Is there different way I should do this? |
10-27-2020, 01:46 AM | #38 |
Hedge Wizard
Posts: 802
Karma: 19999999
Join Date: May 2011
Location: UK/Philippines
Device: Kobo Touch, Nook Simple
|
[QUOTE=slowsmile;3596476]
Checks, repairs and reports all id errors in the epub Hi Slowsmile I just got the error message below when I ran IDErrorCheck. The book passed ePubcheck and the well formed HTML tests. Also sometimes IDErrorCheck seems to hang and does not finish. It is not a big problem so I have not bothered about it before but as I am reporting this error.... When it hangs again I will capture the details and let you have them. I am running Windows 10 Enterprise, Sigil V1.1 and the latest version of IDCheck. On a personal note - we senior citizens are still locked down in LapuLapu but many shops are now open. How are you faring? Spoiler:
|
10-30-2020, 01:37 AM | #39 |
Witchman
Posts: 628
Karma: 788808
Join Date: May 2013
Location: Philippines
Device: Android S5
|
@Thasaidon...I can see that this problem has arisen from my plugin trying to copy the epub toc.ncx file to a temp work dir because there is a problem recognizing the id of your toc.ncx file in the content.opf manifest. According to the error message, it seems that the NCX id(as 'Nonetype') doesn't exist in the content.opf manifest of your epub. I obtained the NCX id in my code using bk.basename_to_id('toc.ncx') in the normal way.
Can you please check that the toc.ncx line in your OPF manifest section has an NCX id equal to "ncx" and let me know? The NCX id in the OPF manifest section is normally always equal to "ncx". Personal Note: Yes, things have also greatly improved in the Cebu provinces where I live. I can now travel unhindered anywhere I like, whenever I like. I've also heard that Cebu city has the covid-19 virus well under control now. In Metro Manila the virus is still fairly rampant by all accounts. So glad I'm living in the south!! Also very thankful that I'm not living in the West anymore. It's a tragic, political and clueless covid-19 mess in all western countries at the moment. Last edited by slowsmile; 10-30-2020 at 09:18 AM. |
10-31-2020, 09:26 AM | #40 |
Hedge Wizard
Posts: 802
Karma: 19999999
Join Date: May 2011
Location: UK/Philippines
Device: Kobo Touch, Nook Simple
|
Thanks for that @Slowsmile.
I will do some more investigation and get back to you. I haven't found any of your favourite coffee yet but I keep looking. |
11-01-2020, 05:28 AM | #41 | |||
Hedge Wizard
Posts: 802
Karma: 19999999
Join Date: May 2011
Location: UK/Philippines
Device: Kobo Touch, Nook Simple
|
Quote:
To help I have attached the OPF, and NCX concerned. I had to change the name of the NCX file to get it to upload. Its original name was fb.ncx I am also running IDCheck on another book and it is taking forever. It stayed at Quote:
It has now reached Quote:
This is must unusual and only started a few days ago. Normally ID check only takes a few seconds to a minute or so to run. ( from memory not timed ) |
|||
11-01-2020, 10:10 PM | #42 |
Witchman
Posts: 628
Karma: 788808
Join Date: May 2013
Location: Philippines
Device: Android S5
|
@Thasaidon...Thanks for sending the opf and ncx files.
The problem that you have is my fault. The plugin only looks for the NCX file as "toc.ncx" which is hard coded in the plugin. That's why my plugin can't find the "fb.ncx" file in your epub. I can fix that problem quite easily. Meanwhile, if you want your problem epub to go through the IDErrorCheck plugin without any problems then, in Sigil's Book Browser, just rename your "fb.ncx" file to "toc.ncx" and the plugin should hopefully run without any problems. I'll put out a fix for that as soon as I can. Last edited by slowsmile; 11-01-2020 at 11:22 PM. |
11-02-2020, 01:45 AM | #43 | |
Hedge Wizard
Posts: 802
Karma: 19999999
Join Date: May 2011
Location: UK/Philippines
Device: Kobo Touch, Nook Simple
|
Quote:
It is NOT your fault. You cannot be expected to think of everything. I will change fb.ncx to toc.ncx and give it a whirl. |
|
11-03-2020, 02:52 AM | #44 |
Witchman
Posts: 628
Karma: 788808
Join Date: May 2013
Location: Philippines
Device: Android S5
|
New Plugin Update(version 0.2.1):
-- Fixed a problem with the "TOC.ncx" filename which was hard coded in the plugin causing problems. My thanks to Thasaidon.
|
11-03-2020, 09:56 AM | #45 |
Hedge Wizard
Posts: 802
Karma: 19999999
Join Date: May 2011
Location: UK/Philippines
Device: Kobo Touch, Nook Simple
|
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[FileType Plugin] YVES Bible Plugin | ClashTheBunny | Plugins | 27 | 01-16-2023 01:25 AM |
Goodread Perception Expander plugin not shown on plugin list (kobo h2o) | www | KOReader | 4 | 09-28-2017 10:34 AM |
Problem with my ScrambleEbook plugin and the Plugin Updater tool | jackie_w | Development | 14 | 01-19-2017 10:49 PM |
Plugin not customizable: Plugin: HTML Output does not need customization | flyingfoxlee | Conversion | 2 | 02-24-2012 02:24 AM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |