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 06-26-2020, 09:41 AM   #91
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: 76,438
Karma: 136564696
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Any idea when we may ge an updated plugin with the new epubcheck? Thanks.
JSWolf is offline   Reply With Quote
Old 06-26-2020, 10:19 AM   #92
thiago.eec
Wizard
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 1,085
Karma: 1221485
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
Quote:
Originally Posted by JSWolf View Post
Any idea when we may ge an updated plugin with the new epubcheck? Thanks.
The current version of the plugin has the ability to download new versions of EPUBCheck directly from Github, so there is no need to update the plugin every time a new version is released.

If you look at your EpubCheck.json, you will find something like this:

{
"check_interval": 7,
"clipboard_copy": false,
"close_cb": true,
"github": true,
"is32bit": false,
"java_path": "java",
"last_time_checked": "2020-06-24 10:10:16.473000",
"locale": "pt-BR",
"usage": true
}

If you want to force an update check, just change the "last_time_checked" key to a date that represents an interval bigger than defined in the "check_interval" key.
thiago.eec is offline   Reply With Quote
Advert
Old 06-26-2020, 10:21 AM   #93
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: 76,438
Karma: 136564696
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 thiago.eec View Post
The current version of the plugin has the ability to download new versions of EPUBCheck directly from Github, so there is no need to update the plugin every time a new version is released.

If you look at your EpubCheck.json, you will find something like this:

{
"check_interval": 7,
"clipboard_copy": false,
"close_cb": true,
"github": true,
"is32bit": false,
"java_path": "java",
"last_time_checked": "2020-06-24 10:10:16.473000",
"locale": "pt-BR",
"usage": true
}

If you want to force an update check, just change the "last_time_checked" key to a date that represents an interval bigger than defined in the "check_interval" key.
Thanks. I've managed to update by replacing the .jar file and lib. But I'll know the better way to update for the next time.
JSWolf is offline   Reply With Quote
Old 09-06-2020, 11:39 PM   #94
helpplease
Member
helpplease began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Jan 2011
Device: Mac, VM solutions
First time using the epubCheck Plugin. Please let me know, if I am posting in wrong place.

I ran epubcheck on my new EPUB created (used a chrome extension to create the epub from web pages). I am a beginner and self-teaching.

I have 32 errors of similar message. How do I work out
a) what it is trying to tell me ?
b) impact if I click "try to FIX automatically" (how do I see the impact before clicking it as I am so green new to EPUBs I doubt I will notice change?)

On LHS of screen, it says
Expected (left | right | center | justify match-paretn | start | end ) but found -webkit-left (OEBPS/style/style208568.css)

On RHS of screen it says when I click on first error
Error [1 / 32]
OEBPS/style/style208568.css (line: 1 column: 19639)
Properties should be known (listed in CSS3 specification) or be a vendor-prefixed property. See detailed description.
Try to correct all fixable errors automatically

Thankyou kindly for any guidance and your time to read this post.
helpplease is offline   Reply With Quote
Old 09-07-2020, 01:40 AM   #95
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,640
Karma: 23191067
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by helpplease View Post
First time using the epubCheck Plugin. Please let me know, if I am posting in wrong place.
In the future, you might want to post general EPUBCheck questions in the EPUB forum. (This forum is intended for reporting plugin bugs.)

Also, it looks like you used the built-in Calibre Editor error checker and not the EPUBCheck plugin.

Quote:
Originally Posted by helpplease View Post
b) impact if I click "try to FIX automatically" (how do I see the impact before clicking it as I am so green new to EPUBs I doubt I will notice change?)
It's always a good idea to have Calibre Editor fix all errors automatically. (You can tell that it worked by re-running the check.)
Doitsu is offline   Reply With Quote
Advert
Old 09-15-2020, 07:41 AM   #96
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: 76,438
Karma: 136564696
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Any chance this can be updated to work with the upcoming Python 3 version of Calibre?
JSWolf is offline   Reply With Quote
Old 09-15-2020, 08:22 AM   #97
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,640
Karma: 23191067
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by JSWolf View Post
Any chance this can be updated to work with the upcoming Python 3 version of Calibre?
Unless Kovid introduces some unexpected last-minute changes, the plugin should also work with the Python 3 version of Calibre.
Doitsu is offline   Reply With Quote
Old 09-15-2020, 08:34 AM   #98
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: 76,438
Karma: 136564696
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
Unless Kovid introduces some unexpected last-minute changes, the plugin should also work with the Python 3 version of Calibre.
This thread says it's not.

https://www.mobileread.com/forums/sh...d.php?t=333166
JSWolf is offline   Reply With Quote
Old 09-15-2020, 12:30 PM   #99
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,040
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I'm guessing there's many calibre plugin authors who have no idea they're expected to notify someone when they've gotten their plugins ready for the next calibre version (or that they even need to modify their plugins). It's not like there's an official plugin-author notification system in place.

So "This thread says it's not" is a tad misleading. It would be more correct to say, "This thread (that many plugin devs may or may not know exists) doesn't know if it is ready or not."

And the bottom line is: THIS thread and its version-history is the definitive authority on what/what not this plugin is, in fact, ready for. As it should be.

Last edited by DiapDealer; 09-15-2020 at 01:13 PM.
DiapDealer is offline   Reply With Quote
Old 09-27-2020, 03:58 AM   #100
senhal
Connoisseur
senhal knows what's going on.senhal knows what's going on.senhal knows what's going on.senhal knows what's going on.senhal knows what's going on.senhal knows what's going on.senhal knows what's going on.senhal knows what's going on.senhal knows what's going on.senhal knows what's going on.senhal knows what's going on.
 
senhal's Avatar
 
Posts: 82
Karma: 25684
Join Date: Sep 2014
Device: Kindle NT
I'm trying to use this plugin with Java portable 64 bit
https://portableapps.com/apps/utilit...va_portable_64



I changed the json file in
Code:
{
  "locale" : "en",
  "usage" : true,
  "java_path": "C:\Portable\Java64\bin\java.exe,"
  "is32bit": false, 
  "github": true, 
  "check_interval": 7 
}
Get this error

Code:
calibre, version 5.0.1
ERROR: Unhandled exception: <b>FileNotFoundError</b>:[WinError 2] Impossibile trovare il file specificato

calibre 5.0.1 Portable embedded-python: True is64bit: False
Windows-10-10.0.18362-SP0 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '10', '10.0.18362')
Python 3.8.5
Windows: ('10', '10.0.18362', 'SP0', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: Amazon.com Multiple Countries (1, 0, 0) && Diaps Editing Toolbag (0, 3, 6) && EpubCheck (0, 2, 3) && EpubMerge (2, 11, 0) && Find Duplicates (1, 7, 2) && KePub Output (3, 2, 15) && KindleUnpack - The Plugin (0, 82, 3) && Kobo Books (1, 8, 0) && Modify ePub (1, 4, 1) && Quality Check (1, 10, 1) && Search The Internet (1, 8, 0)
Traceback (most recent call last):
  File "calibre_plugins.epub_check.main", line 202, in ask_user
  File "calibre_plugins.epub_check.main", line 122, in get_arch
  File "calibre_plugins.epub_check.main", line 113, in jarWrapper
  File "subprocess.py", line 854, in __init__
  File "subprocess.py", line 1307, in _execute_child
FileNotFoundError: [WinError 2] Impossibile trovare il file specificato
Then .json file return to default every time.


Last edited by senhal; 09-27-2020 at 04:04 AM.
senhal is offline   Reply With Quote
Old 09-27-2020, 04:12 AM   #101
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,640
Karma: 23191067
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by senhal View Post
I'm trying to use this plugin with Java portable 64 bit
https://portableapps.com/apps/utilit...va_portable_64
On Windows machines, you'll need to use two backslashes in path names.

Try:

"java_path": "C:\\Portable\\Java64\\bin\\java.exe",

Last edited by Doitsu; 09-27-2020 at 04:59 AM. Reason: Fixed wrong JSON entry.
Doitsu is offline   Reply With Quote
Old 09-27-2020, 04:19 AM   #102
senhal
Connoisseur
senhal knows what's going on.senhal knows what's going on.senhal knows what's going on.senhal knows what's going on.senhal knows what's going on.senhal knows what's going on.senhal knows what's going on.senhal knows what's going on.senhal knows what's going on.senhal knows what's going on.senhal knows what's going on.
 
senhal's Avatar
 
Posts: 82
Karma: 25684
Join Date: Sep 2014
Device: Kindle NT
Quote:
Originally Posted by Doitsu View Post
On Windows machines, you'll need to use two backslashes in path names.

Try:

"java_path": "C:\\Portable\\Java64\\bin\\java.exe,"
Tried, but I get the same error

Code:
{
  "locale" : "en",
  "usage" : true,
  "java_path": "C:\\Portable\\Java64\\bin\\java.exe,"
  "is32bit": false, 
  "github": true, 
  "check_interval": 7 
}
senhal is offline   Reply With Quote
Old 09-27-2020, 04:57 AM   #103
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,640
Karma: 23191067
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by senhal View Post
Tried, but I get the same error
I'm sorry there was a typo in the json entry.
The comma needs to be at the end of the line:

Change:


"java_path": "C:\\Portable\\Java64\\bin\\java.exe,"


To:

"java_path": "C:\\Portable\\Java64\\bin\\java.exe",
Doitsu is offline   Reply With Quote
Old 09-27-2020, 05:54 AM   #104
senhal
Connoisseur
senhal knows what's going on.senhal knows what's going on.senhal knows what's going on.senhal knows what's going on.senhal knows what's going on.senhal knows what's going on.senhal knows what's going on.senhal knows what's going on.senhal knows what's going on.senhal knows what's going on.senhal knows what's going on.
 
senhal's Avatar
 
Posts: 82
Karma: 25684
Join Date: Sep 2014
Device: Kindle NT
Quote:
Originally Posted by Doitsu View Post
I'm sorry there was a typo in the json entry.
The comma needs to be at the end of the line:

Change:


"java_path": "C:\\Portable\\Java64\\bin\\java.exe,"


To:

"java_path": "C:\\Portable\\Java64\\bin\\java.exe",
Great, thanks, it works...
According to you, copying portable java inside Calibre folders, is it possible to refer to a java.exe folder without writing the full path?
Something like this
Code:
  "java_path": "\\Java64\\bin\\java.exe",
copying Java64 folder in the same path oh the .json file (or something like this)
Code:
..\Calibre Portable\Calibre Settings\plugins

Last edited by senhal; 09-27-2020 at 07:57 AM.
senhal is offline   Reply With Quote
Old 09-27-2020, 08:50 AM   #105
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,640
Karma: 23191067
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by senhal View Post
Great, thanks, it works...
According to you, copying portable java inside Calibre folders, is it possible to refer to a java.exe folder without writing the full path?
I haven't tried this, but it might work. You'll probably have to specify the Java path relative to the plugins folder or the Calibre Python interpreter path.
Doitsu is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 10:23 AM.


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