Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 01-01-2025, 04:54 AM   #166
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,680
Karma: 23983815
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by Karellen View Post
When I ran EpubCheck earlier today, a message popped up stating that v5.2.6 was available and to upgrade. I dismissed the notice as I was in the process of working on a file, but now I can't seem to get that message back, nor is there an update in the first post of this thread.

Does anybody know where I can download the update?
In Calibre, select Preferences > Miscellaneous > Open Calibre Configuration Folder > Plugins. Locate EpubCheck.json and change this line to an earlier date and re-run the plugin. For example,

Code:
  "last_time_checked": "2023-12-25 13:47:16.570619",
Alternatively, download the official .zip file, unzip it and extract the jar file and the lib folder to the EPUBCheck folder in the plugin directory.
Doitsu is offline   Reply With Quote
Old 01-01-2025, 05:09 AM   #167
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,608
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Quote:
Originally Posted by Doitsu View Post
In Calibre, select Preferences > Miscellaneous > Open Calibre Configuration Folder > Plugins. Locate EpubCheck.json and change this line to an earlier date and re-run the plugin. For example,
Thank you @Doitsu, that worked perfectly. Now running...

EPUBCheck v5.2.0
Validating using EPUB version 3.3 rules.
No errors or warnings detected.
Messages: 0 fatals / 0 errors / 0 warnings / 0 infos

EPUBCheck completed
Karellen is offline   Reply With Quote
Advert
Old 01-08-2025, 03:57 PM   #168
ryder
Member
ryder began at the beginning.
 
Posts: 23
Karma: 10
Join Date: May 2024
Device: Clara 2E
Hey everybody, when I use the epubcheck in the calibre editor I get an error massage:
FileNotFoundError: [WinError 2]
So unfortunately it's not working for me. I am on win11, calibre 7.23. Is this a known bug with the current calibre version or was my plugin installation not successful? Thanks a lot
ryder is offline   Reply With Quote
Old 01-08-2025, 04:01 PM   #169
ryder
Member
ryder began at the beginning.
 
Posts: 23
Karma: 10
Join Date: May 2024
Device: Clara 2E
Hey everybody, I can't get the epubcheck plugin to work. Running on win11, calibre 7.23. I get the error massage:
calibre, version 7.23.0
FEHLER: Unbehandelter Ausnahmefehler: <b>FileNotFoundError</b>:[WinError 2] Das System kann die angegebene Datei nicht finden

calibre 7.23 embedded-python: True
Windows-10-10.0.26100-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.26100')
Python 3.11.5
Windows: ('10', '10.0.26100', 'SP0', 'Multiprocessor Free')
Interface language: de
EXE path: C:\Program Files\Calibre2\calibre-parallel.exe
Successfully initialized third party plugins: DeACSM (0, 0, 16) && Gather KFX-ZIP (from KFX Input) (2, 19, 0) && DeDRM (10, 0, 9) && Package KFX (from KFX Input) (2, 19, 0) && EpubCheck (0, 2, 5) && KFX metadata reader (from KFX Input) (2, 19, 0) && From KFX (2, 19, 0) && KFX Input (2, 19, 0) && Set KFX metadata (from KFX Output) (2, 13, 0) && KFX Output (2, 13, 0) && KePub Output (3, 7, 3) && KoboTouchExtended (3, 7, 3) && Obok DeDRM (10, 0, 9)
Traceback (most recent call last):
File "calibre_plugins.epub_check.main", line 199, in ask_user
File "calibre_plugins.epub_check.main", line 123, in get_arch
File "calibre_plugins.epub_check.main", line 114, in jarWrapper
File "subprocess.py", line 1026, in __init__
File "subprocess.py", line 1538, in _execute_child
FileNotFoundError: [WinError 2]

What could be the problem of this? Thanks a lot
ryder is offline   Reply With Quote
Old 01-08-2025, 04:25 PM   #170
ryder
Member
ryder began at the beginning.
 
Posts: 23
Karma: 10
Join Date: May 2024
Device: Clara 2E
Edit: I found some interessting method to get rid of all epub errors. At least the one which are shown by the internal calibre bugchecker. Maybe somebody can confirm if this is also working for epubcheck as well, because as mentioned in this thread, epubcheck finds more bugs than the internal bugcheck. So all I do is this:
Select around 50 ebooks already in epub format (with various bugs), convert them from epub to mobi, delete all epub formats, convert them back from mobi to epub, delete all mobi formats and there will be no more bugs found in the internal bugcheck scan. I read somewhere here that it could help to convert epub to epub again, but there were still some bugs in the scan afterwards. With this method I see none. This method takes less than two minutes for 50 books (depending on your pc power of course). So let me know if this fixes most of the errors in epubcheck as well. That would be great. Thanks again
ryder is offline   Reply With Quote
Advert
Old 01-08-2025, 04:52 PM   #171
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,309
Karma: 78876004
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Quote:
Originally Posted by ryder View Post
Hey everybody, I can't get the epubcheck plugin to work. Running on win11, calibre 7.23. I get the error massage:
calibre, version 7.23.0
FEHLER: Unbehandelter Ausnahmefehler: <b>FileNotFoundError</b>:[WinError 2] Das System kann die angegebene Datei nicht finden

calibre 7.23 embedded-python: True
Windows-10-10.0.26100-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.26100')
Python 3.11.5
Windows: ('10', '10.0.26100', 'SP0', 'Multiprocessor Free')
Interface language: de
EXE path: C:\Program Files\Calibre2\calibre-parallel.exe
Successfully initialized third party plugins: DeACSM (0, 0, 16) && Gather KFX-ZIP (from KFX Input) (2, 19, 0) && DeDRM (10, 0, 9) && Package KFX (from KFX Input) (2, 19, 0) && EpubCheck (0, 2, 5) && KFX metadata reader (from KFX Input) (2, 19, 0) && From KFX (2, 19, 0) && KFX Input (2, 19, 0) && Set KFX metadata (from KFX Output) (2, 13, 0) && KFX Output (2, 13, 0) && KePub Output (3, 7, 3) && KoboTouchExtended (3, 7, 3) && Obok DeDRM (10, 0, 9)
Traceback (most recent call last):
File "calibre_plugins.epub_check.main", line 199, in ask_user
File "calibre_plugins.epub_check.main", line 123, in get_arch
File "calibre_plugins.epub_check.main", line 114, in jarWrapper
File "subprocess.py", line 1026, in __init__
File "subprocess.py", line 1538, in _execute_child
FileNotFoundError: [WinError 2]

What could be the problem of this? Thanks a lot
Have you followed the install instructions (ie see the first post in this thread).

Java IS required.
PeterT is offline   Reply With Quote
Old 01-08-2025, 05:04 PM   #172
ryder
Member
ryder began at the beginning.
 
Posts: 23
Karma: 10
Join Date: May 2024
Device: Clara 2E
I thought java is always preinstalled on windows since win10. Turns out it's not. Thanks it's working now
ryder is offline   Reply With Quote
Old 01-08-2025, 05:21 PM   #173
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: 79,157
Karma: 144284184
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 ryder View Post
I thought java is always preinstalled on windows since win10. Turns out it's not. Thanks it's working now
You need 64-bit Java.
JSWolf is offline   Reply With Quote
Old 01-08-2025, 05:38 PM   #174
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,608
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Quote:
Originally Posted by ryder View Post
So all I do is this:
Select around 50 ebooks already in epub format (with various bugs), convert them from epub to mobi, delete all epub formats, convert them back from mobi to epub, delete all mobi formats and there will be no more bugs found in the internal bugcheck scan. I read somewhere here that it could help to convert epub to epub again, but there were still some bugs in the scan afterwards. With this method I see none. This method takes less than two minutes for 50 books (depending on your pc power of course). So let me know if this fixes most of the errors in epubcheck as well. That would be great. Thanks again
Sorry to butt in, but this is a terrible thing to do. Your epubs must be a mess code-wise.
Karellen is offline   Reply With Quote
Old 01-08-2025, 05:52 PM   #175
ryder
Member
ryder began at the beginning.
 
Posts: 23
Karma: 10
Join Date: May 2024
Device: Clara 2E
Quote:
Originally Posted by Karellen View Post
Sorry to butt in, but this is a terrible thing to do. Your epubs must be a mess code-wise.
Why is that? I checked them already on my ereader and the format style looks better than before. No problems discovered while reading either. Why do you think this could be code-wise a mess? Maybe I'm missing something here
ryder is offline   Reply With Quote
Old 01-08-2025, 06:07 PM   #176
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,608
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Sure, I have no doubt that they will work in an ereader, but I mean the code inside the book I imagine to be excessive and redundant. Have you opened one of the chapters in the editor? How does it look? Maybe post a screenshot?
Karellen is offline   Reply With Quote
Old 01-08-2025, 06:21 PM   #177
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: 79,157
Karma: 144284184
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 ryder View Post
Why is that? I checked them already on my ereader and the format style looks better than before. No problems discovered while reading either. Why do you think this could be code-wise a mess? Maybe I'm missing something here
Who knows what code is not buggered because it's something Mobi does not support and it's been changed.

Do not convert your ePub to Mobi. It's a really bad idea. The problem is that Mobi is an old obsolete format and does not support everything that ePub does. So you could be screwing up some of your ePub.

It's best to learn HTML/CSS and edit any ePub you need to make changes to.

Last edited by JSWolf; 01-08-2025 at 06:23 PM.
JSWolf is offline   Reply With Quote
Old 01-08-2025, 08:18 PM   #178
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,909
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Karellen View Post
Sorry to butt in, but this is a terrible thing to do. Your epubs must be a mess code-wise.
↑ ↑ ↑ ✔

Mobi is an old format and did not support modern stylesheets.

The conversion makes no attempt (because it is very difficult) to do all the tricks, those early publishers did to fake styling in Mobi. So once you pass thru Mobi, you lose all those styling. You might as well convert to plain text
theducks is offline   Reply With Quote
Old 01-09-2025, 02:52 AM   #179
ryder
Member
ryder began at the beginning.
 
Posts: 23
Karma: 10
Join Date: May 2024
Device: Clara 2E
Quote:
Originally Posted by Karellen View Post
Sure, I have no doubt that they will work in an ereader, but I mean the code inside the book I imagine to be excessive and redundant. Have you opened one of the chapters in the editor? How does it look? Maybe post a screenshot?
Here are screenshots. While there are no bugs found by the internal calibre scan, there are more bugs afterwards found by epubcheck. The thing is I don't like to fiddle around with every epub in sigil. I just like to read books and since calibre does a great job converting epubs I don't see the point in learning stuff about css. But I have noticed some severe battery drain on my Clara 2E and there was a thread on reddit where some guys talked about bad css in epubs could cause a massive drain of the ereader battery somehow. So the question is: are the bugs mentioned by epubcheck huge or just mild to be ignored (index_split for example)? I mean if you look at the outcome of the epub style: there is no wasting space after the chapter number, the formating looks clean. And maybe the battery drain will be gone too. I hadn't time to check about that yet. Do you see a huge problem with this method other than the mess code-wise?
Attached Thumbnails
Click image for larger version

Name:	epub before mobi.jpg
Views:	94
Size:	596.4 KB
ID:	212960   Click image for larger version

Name:	epub after mobi.jpg
Views:	86
Size:	549.6 KB
ID:	212961  
ryder is offline   Reply With Quote
Old 01-09-2025, 03:38 AM   #180
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,608
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Quote:
Originally Posted by ryder View Post
So the question is: are the bugs mentioned by epubcheck huge or just mild to be ignored (index_split for example)?
I don't know. I can't see what the error is. Nor can I really see the code in the body of the chapter.

Quote:
Originally Posted by ryder View Post
I mean if you look at the outcome of the epub style: there is no wasting space after the chapter number, the formating looks clean. And maybe the battery drain will be gone too. I hadn't time to check about that yet. Do you see a huge problem with this method other than the mess code-wise?
Yes, I see a problem. But I am a bit OCD about tidy and logical code. If it works for you, and you would rather read instead of tidying up formatting, then ignore what I said. Just be mindful, you will eventually come across issues with some books. Things like text that should be in tables, but the tables are missing, maybe ordered or unordered lists have been stripped, or blockquotes no longer showing.
Karellen is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
epubcheck plugin for Sigil Doitsu Plugins 539 04-19-2025 08:45 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 12:08 AM.


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