Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 07-15-2023, 03:08 AM   #136
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
The plugin has been updated for EPUBCheck 5.1.0. Those who downgraded to EPUBCheck 5.0.1 can do the following to have the plugin download and install EPUBCheck 5.1.0:

Select Preferences > Miscellaneous > Open Calibre configuration folder > plugins
Then either delete the EPUBCheck folder or edit EpubCheck.json and change the last_time_checked entry.
Doitsu is offline   Reply With Quote
Old 07-15-2023, 04:53 AM   #137
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,998
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Doitsu View Post
The plugin has been updated for EPUBCheck 5.1.0. Those who downgraded to EPUBCheck 5.0.1 can do the following to have the plugin download and install EPUBCheck 5.1.0:

Select Preferences > Miscellaneous > Open Calibre configuration folder > plugins
Then either delete the EPUBCheck folder or edit EpubCheck.json and change the last_time_checked entry.
Well done! Thank you.
JSWolf is online now   Reply With Quote
Advert
Old 07-15-2023, 05:08 PM   #138
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,102
Karma: 4911876
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Quote:
Originally Posted by Doitsu View Post
The plugin has been updated for EPUBCheck 5.1.0. Those who downgraded to EPUBCheck 5.0.1 can do the following to have the plugin download and install EPUBCheck 5.1.0:

Select Preferences > Miscellaneous > Open Calibre configuration folder > plugins
Then either delete the EPUBCheck folder or edit EpubCheck.json and change the last_time_checked entry.
That's great. Thank you @Doitsu for the quick fix.
I changed the "last_time_checked data and ran check for new updates and it installed. Seems to be all working now.
Karellen is online now   Reply With Quote
Old 07-19-2023, 12:38 PM   #139
CanuckT
Junior Member
CanuckT began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jul 2022
Device: Kobo Libra 2
How do you actually run the check in Calibre? I installed it but it doesn't seem to do anything or have a way to run a check.
CanuckT is offline   Reply With Quote
Old 07-19-2023, 01:06 PM   #140
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by CanuckT View Post
How do you actually run the check in Calibre? I installed it but it doesn't seem to do anything or have a way to run a check.
Since it's an editor plugin, you'll have to select the book, right-click it and select Edit Book. In the editor, click the green check mark button or select Plugins > Run EpubCheck.
Doitsu is offline   Reply With Quote
Advert
Old 07-19-2023, 03:09 PM   #141
CanuckT
Junior Member
CanuckT began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jul 2022
Device: Kobo Libra 2
Quote:
Originally Posted by Doitsu View Post
Since it's an editor plugin, you'll have to select the book, right-click it and select Edit Book. In the editor, click the green check mark button or select Plugins > Run EpubCheck.

Thank you, would not have guessed that. If the First post is editable, it might be a good thing to add there?
CanuckT is offline   Reply With Quote
Old 07-19-2023, 06:23 PM   #142
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 35,464
Karma: 145525534
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by CanuckT View Post
Thank you, would not have guessed that. If the First post is editable, it might be a good thing to add there?
I suspect that is why when you look at the title of the thread, it reads:

[Editor Plugin] EpubCheck
DNSB is offline   Reply With Quote
Old 09-06-2023, 03:20 PM   #143
fogice
Groupie
fogice is a glorious beacon of lightfogice is a glorious beacon of lightfogice is a glorious beacon of lightfogice is a glorious beacon of lightfogice is a glorious beacon of lightfogice is a glorious beacon of lightfogice is a glorious beacon of lightfogice is a glorious beacon of lightfogice is a glorious beacon of lightfogice is a glorious beacon of lightfogice is a glorious beacon of light
 
Posts: 156
Karma: 12092
Join Date: May 2014
Device: Kobo Libra 2
New user of EPUBCheck, thought I'd see how it differs from the built-in editor. When I run this plugin, the report looks like:
Code:
NA Line: 29 Col: 75 ERROR.......
and when I click on one, a popup message says:
Code:
EPUBCheck didn't report the name of the file that caused this error
which makes it rather difficult to figure out what to fix. Any suggestions on what's going wrong? This happens with every EPUB where this plugin finds a problem.

Calibre 6.25, MacOS 13.5.1, EPUBCheck 0.2.5, Java 1.8.0_381
fogice is offline   Reply With Quote
Old 09-06-2023, 05:21 PM   #144
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by fogice View Post
[...]
Code:
EPUBCheck didn't report the name of the file that caused this error
which makes it rather difficult to figure out what to fix.
This is a limitation/bug of the EPUBCheck Java tool which sometimes reports an error message without a file name.
Usually, it'll display other error messages for the same file before this error message. If you fix them, the error message without a file name will also go away.

Using the following options in Calibre Editor before running the EpubCheck plugin might also help:

Tools > Fix HTML - all files
Tools > Arrange into folders

Last edited by Doitsu; 09-06-2023 at 05:23 PM.
Doitsu is offline   Reply With Quote
Old 09-06-2023, 06:10 PM   #145
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,998
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by fogice View Post
New user of EPUBCheck, thought I'd see how it differs from the built-in editor. When I run this plugin, the report looks like:
Code:
NA Line: 29 Col: 75 ERROR.......
and when I click on one, a popup message says:
Code:
EPUBCheck didn't report the name of the file that caused this error
which makes it rather difficult to figure out what to fix. Any suggestions on what's going wrong? This happens with every EPUB where this plugin finds a problem.

Calibre 6.25, MacOS 13.5.1, EPUBCheck 0.2.5, Java 1.8.0_381
Is that the full error message?
JSWolf is online now   Reply With Quote
Old 09-07-2023, 09:22 AM   #146
fogice
Groupie
fogice is a glorious beacon of lightfogice is a glorious beacon of lightfogice is a glorious beacon of lightfogice is a glorious beacon of lightfogice is a glorious beacon of lightfogice is a glorious beacon of lightfogice is a glorious beacon of lightfogice is a glorious beacon of lightfogice is a glorious beacon of lightfogice is a glorious beacon of lightfogice is a glorious beacon of light
 
Posts: 156
Karma: 12092
Join Date: May 2014
Device: Kobo Libra 2
Quote:
Originally Posted by Doitsu View Post
Tools > Fix HTML - all files
Tools > Arrange into folders
"Fix HTML" made a bunch of changes, and I also did "arrange into folders", but the NAs still appear.
Quote:
Originally Posted by JSWolf View Post
Is that the full error message?
I didn't feel like typing the full message. All of the errors for this particular epub are complaints about "border", but I'm more concerned about the NA file id.
Code:
NA Line:10 Col:36 ERROR(RSC-005): Error while parsing file: attribute "border" not allowed here; expected attribute "class", "dir", "id", "lang", "style", "title" or "xml:lang"
The other message is complete as displayed.
Code:
EPUBCheck didn't report the name of the file that caused this error. (OK)
fogice is offline   Reply With Quote
Old 09-07-2023, 01:43 PM   #147
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by fogice View Post
I didn't feel like typing the full message. All of the errors for this particular epub are complaints about "border", but I'm more concerned about the NA file id.
Like I said, it's most likely an EPUBCheck bug, and since you'll need to delete all border attributes anyway, it doesn't really matter.
To be on the safe side, you can also check your book with Sigil and Sigil EPUBCheck plugin.
Since the Calibre plugin parses the .txt output and the Sigil plugin parses the .json output, you might get different results.
Doitsu is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
epubcheck plugin for Sigil Doitsu Plugins 502 02-20-2024 06:58 AM
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


All times are GMT -4. The time now is 04:39 AM.


MobileRead.com is a privately owned, operated and funded community.