View Single Post
Old 12-16-2022, 12:46 PM   #455
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,748
Karma: 24032915
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by jcsalomon View Post
Setting "update_check": false in EpubCheck.json does not fix the error, though setting the last_time_checked to a more recent date does work.
There's probably a bug in the update check code. If you also change the following setting to to false, you shouldn't get this error message:
Code:
  "github": false,
I wasn't able to reproduce this issue on my Linux machine. Maybe Sigil picked up a Python 2 interpreter when you clicked the Auto button or the urllib package on your machine is outdated or missing a dependency.

Try the following: Open a terminal, enter python and hit Enter. Then paste the following commands
Code:
from urllib.request import urlopen
github_url = 'https://api.github.com/repos/w3c/epubcheck/releases'
response = urlopen(github_url).read().decode('utf-8')
If you don't get any error mesages also try the following commands:
Code:
href = 'https://www.mobileread.com/forums/showpost.php?p=2950625&postcount=1'
response = urlopen(href).read().decode('utf-8', 'ignore')
Also double-check in Sigil what Python path is shown when you select Plugins > Manage Plugins > Path to Interpreter Executable.

Last edited by Doitsu; 12-17-2022 at 07:54 AM.
Doitsu is offline   Reply With Quote