06-01-2019, 06:47 PM | #61 | |
Wizard
Posts: 1,089
Karma: 1221485
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
|
Quote:
Code:
if returncode == 1 and 'EPUBCheck' not in stdout: QApplication.restoreOverrideCursor() QMessageBox.critical(self.gui, "Fatal Java error", stdout + '\n' + stderr) return If you let me, I have a suggestion to deal with the 32/64-Bit java versions: Code:
# check java version import subprocess check = subprocess.check_output(["java", "-version"], stderr=subprocess.STDOUT) # define epubcheck command line parameters if '64-Bit' not in check: args = [java_path, '-Xss1024k', '-jar', epc_path, '--version'] else: args = [java_path, '-jar', epc_path, '--version'] P.S.: I've also tested on a PC with Windows 10 x64 and Java 32-Bit and the error happens. Looks like any PC with a Java 32-Bit may have this problem. |
|
07-19-2019, 11:36 AM | #62 |
Grand Sorcerer
Posts: 5,640
Karma: 23191067
Join Date: Dec 2010
Device: Kindle PW2
|
I've attached a new version bundled with EPUBCheck 4.2.2. to the first topic. Note that the new version has an auto-update feature. (It'll check the EPUBCheck Github website once a week and automatically download the latest version.)
For more information on how to customize or disable this feature, see the first post. The new version should also automatically detect 32bit JVMs and adjust the stack size. Last edited by Doitsu; 07-19-2019 at 05:45 PM. |
Advert | |
|
07-19-2019, 05:39 PM | #63 |
Wizard
Posts: 1,089
Karma: 1221485
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
|
The auto-update feature is great! Thanks a lot.
|
07-21-2019, 03:48 PM | #64 | |
Resident Curmudgeon
Posts: 76,491
Karma: 136564766
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
07-21-2019, 04:38 PM | #65 |
Wizard
Posts: 1,086
Karma: 6719822
Join Date: Jul 2012
Device: Palm Pilot M105
|
|
Advert | |
|
07-21-2019, 06:09 PM | #66 | |
Grand Sorcerer
Posts: 5,640
Karma: 23191067
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Also please check whether EpubCheck.json has an is32bit entry. If the JVM detection was uccessful, it should look like this: Code:
"is32bit": true, If that entry is present, Java is invoked with the -Xss1024k parameter as per the recommendation of the EPUBCheck developers. |
|
07-22-2019, 03:04 PM | #67 | |
Resident Curmudgeon
Posts: 76,491
Karma: 136564766
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
09-10-2019, 02:03 PM | #68 |
Resident Curmudgeon
Posts: 76,491
Karma: 136564766
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
What are the bug fixes and minor enhancements to version 0.2.0 and 0.2.1? Thanks.
|
12-19-2019, 12:21 AM | #69 |
Junior Member
Posts: 9
Karma: 10
Join Date: Jun 2014
Device: samsung galaxy s2
|
Hi with the introduction of the dark theme in Calibre the epubcheck result text is hard to read i use OSX
Last edited by theducks; 12-19-2019 at 01:32 AM. Reason: attach oversized image |
12-19-2019, 06:10 PM | #70 |
Grand Sorcerer
Posts: 5,640
Karma: 23191067
Join Date: Dec 2010
Device: Kindle PW2
|
I don't have access to my PC right now. I'll try to add dark mode support early next week.
|
12-19-2019, 06:11 PM | #71 |
Resident Curmudgeon
Posts: 76,491
Karma: 136564766
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
12-27-2019, 02:15 PM | #72 |
Resident Curmudgeon
Posts: 76,491
Karma: 136564766
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
@Doitsu, I have found a bug.
When using dark mode with Calibre 4.7, the text from the epubcheck plugin is black on black. A fix would be appreciated. Thanks. |
01-26-2020, 12:33 PM | #73 |
Junior Member
Posts: 5
Karma: 10
Join Date: Jan 2020
Device: Kindle Paperwhite
|
No results
Hi. I am using EpubCheck 0.1.3 in Calibre 4.9.1 on a Windows 7 machine. I have updated EpubCheck to later versions several times but I always go back to 0.1.3. The newer version seems to install, but when I try to use it to check a book I get no results. Is there some setting that I have missed? Also, is there an archive of old versions so I can figure out the latest version that works for me? Any help would be greatly appreciated. Thanks for a great plugin.
|
01-26-2020, 01:36 PM | #74 | |
Grand Sorcerer
Posts: 5,640
Karma: 23191067
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Code:
{
"locale" : "en",
"clipboard_copy" : true,
"usage" : false,
"is32bit": false,
"github": true,
"check_interval": 7
}
Run the EPUBCheck plugin and paste the results into your message (wrapped in spoiler tags). Also try changing the following entry from: Code:
"is32bit": false, Code:
"is32bit": true,
|
|
01-26-2020, 02:29 PM | #75 |
Junior Member
Posts: 5
Karma: 10
Join Date: Jan 2020
Device: Kindle Paperwhite
|
Hi. Thanks for your reply. I copied the json text into my EpubCheck.json file. I ran the plugin on a book. No results. Nothing in the clipboard. Now my json file looked like this:
Code:
{ "check_interval": 7, "clipboard_copy": true, "close_cb": false, "github": true, "is32bit": false, "java_path": "java", "last_time_checked": "2020-01-26 13:11:28.010000", "locale": "en", "usage": false } I changed the "is32bit" setting to true and ran it again. Still no results. Clipboard empty. I'm not sure if I posted the code correctly. These are my first posts here. Sorry. Thanks for your help |
|
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 |