|  06-01-2019, 05:47 PM | #61 | |
| Wizard            Posts: 1,291 Karma: 1428263 Join Date: Dec 2016 Location: Goiânia - Brazil Device: iPad, Kindle Paperwhite, Kindle Oasis | Quote: 
 Code:       if returncode == 1 and 'EPUBCheck' not in stdout:
          QApplication.restoreOverrideCursor()
          QMessageBox.critical(self.gui, "Fatal Java error", stdout + '\n' + stderr)
          returnIf 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, 10:36 AM | #62 | 
| Grand Sorcerer            Posts: 5,763 Karma: 24088559 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 04:45 PM. | 
|   |   | 
|  07-19-2019, 04:39 PM | #63 | 
| Wizard            Posts: 1,291 Karma: 1428263 Join Date: Dec 2016 Location: Goiânia - Brazil Device: iPad, Kindle Paperwhite, Kindle Oasis | 
			
			The auto-update feature is great! Thanks a lot.
		 | 
|   |   | 
|  07-21-2019, 02:48 PM | #64 | |
| Resident Curmudgeon            Posts: 80,740 Karma: 150249619 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, 03:38 PM | #65 | 
| Wizard            Posts: 1,086 Karma: 6719822 Join Date: Jul 2012 Device: Palm Pilot M105 | |
|   |   | 
|  07-21-2019, 05:09 PM | #66 | |
| Grand Sorcerer            Posts: 5,763 Karma: 24088559 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, 02:04 PM | #67 | |
| Resident Curmudgeon            Posts: 80,740 Karma: 150249619 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, 01:03 PM | #68 | 
| Resident Curmudgeon            Posts: 80,740 Karma: 150249619 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-18-2019, 11:21 PM | #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 12:32 AM. Reason: attach oversized image | 
|   |   | 
|  12-19-2019, 05:10 PM | #70 | 
| Grand Sorcerer            Posts: 5,763 Karma: 24088559 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, 05:11 PM | #71 | 
| Resident Curmudgeon            Posts: 80,740 Karma: 150249619 Join Date: Nov 2006 Location: Roslindale, Massachusetts Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 | |
|   |   | 
|  12-27-2019, 01:15 PM | #72 | 
| Resident Curmudgeon            Posts: 80,740 Karma: 150249619 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, 11:33 AM | #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, 12:36 PM | #74 | |
| Grand Sorcerer            Posts: 5,763 Karma: 24088559 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, 01: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 | 542 | 09-03-2025 06:28 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 |