02-13-2020, 05:58 PM | #301 |
Gregg Bell
Posts: 2,264
Karma: 3917588
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
|
|
03-09-2020, 07:15 AM | #302 |
Junior Member
Posts: 2
Karma: 10
Join Date: Jun 2016
Device: Kindle Paperwhite 2gen (fw 5.6.5)
|
But does work on linux?
once installed, it gave me this error: Error: Interpreter python3.4,python2.7 has no path set any suggestions? my machine has python 2.7 inside. i tried to install python 3.7 but nada |
03-09-2020, 07:35 AM | #303 |
Grand Sorcerer
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
You have to go into Sigil's plugin preferences and tell it the python interpreter (must be 3.4+) to use. Auto should work, but you may have to Browse and select it manually.
|
03-12-2020, 06:50 AM | #304 |
Junior Member
Posts: 2
Karma: 10
Join Date: Jun 2016
Device: Kindle Paperwhite 2gen (fw 5.6.5)
|
|
03-17-2020, 11:30 AM | #305 |
mostly an observer
Posts: 1,515
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
This is a neat addition, so a belated thank you! I only now read the discussion.
|
03-20-2020, 03:59 PM | #306 |
Guru
Posts: 657
Karma: 4568205
Join Date: Jan 2010
Location: Sweden
Device: Kobo Forma
|
I'm a linux user, on a windows laptop there is something wrong when I try to run epubcheck. It seems to be the same error no matter which epub, so I'm guessing it's something with the installation.
Code:
Status: failed Traceback (most recent call last): File "C:\Program Files\Sigil\plugin_launchers\python\launcher.py", line 135, in launch self.exitcode = target_script.run(container) File "C:\Users\Patrik\AppData\Local\sigil-ebook\sigil\plugins\EpubCheck\plugin.py", line 228, in run arch = get_arch(java_path, os_encoding) File "C:\Users\Patrik\AppData\Local\sigil-ebook\sigil\plugins\EpubCheck\plugin.py", line 39, in get_arch _, stderr = jar_wrapper(*args) File "C:\Users\Patrik\AppData\Local\sigil-ebook\sigil\plugins\EpubCheck\plugin.py", line 49, in jar_wrapper process = Popen(args, stdout=PIPE, stderr=PIPE, shell=False) File "subprocess.py", line 775, in __init__ File "subprocess.py", line 1178, in _execute_child FileNotFoundError: [WinError 2] The system cannot find the file specified Error: [WinError 2] The system cannot find the file specified I think python is included in (windows)-sigil? I just went and downloaded and installed latest Python, no change. Ideas? |
03-20-2020, 04:04 PM | #307 |
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
|
03-21-2020, 08:34 AM | #308 |
Guru
Posts: 657
Karma: 4568205
Join Date: Jan 2010
Location: Sweden
Device: Kobo Forma
|
|
03-21-2020, 09:10 AM | #309 |
Grand Sorcerer
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
|
03-21-2020, 10:58 AM | #310 |
Guru
Posts: 657
Karma: 4568205
Join Date: Jan 2010
Location: Sweden
Device: Kobo Forma
|
Yes, that's a rational true statement.
But as an irrational human being, it's easy to conflate everything sigil-ish. |
07-29-2020, 06:41 PM | #311 |
Zealot
Posts: 121
Karma: 10
Join Date: Nov 2015
Location: Europe EEC
Device: none
|
I have just loaded this plugin to check an epub2 file because I haven't been able to get any response from http://validator.idpf.org/ - every attempt over the past few days has just timed out without any connection to the server. Is the online checker still in business?
The check with this plugin worked fine with 'No problems found'. Then I tried setting 'usage' to true and this produced a few errors (or suggestions) such as : USAGE(HTM-021): Content file doesn’t contain lang attribute. Col: 151: USAGE(ACC-013): Content file contains at least one inline style declaration. Can you point me to a reference where I can find the key to stuff like ACC-013 and HTM-021 ? |
07-29-2020, 08:14 PM | #312 |
Sigil Developer
Posts: 7,644
Karma: 5433388
Join Date: Nov 2009
Device: many
|
They appear to me to be quite well defined. The first means neither your html tag nor the body tag has an lang="en" (or whatever language the page is in). Unless multiple languages are used, this is not an error or even a warning as the epub metadata defines the lang for the book.
The second says you are using inline styles, in other words a style defined in a style attribute of a html tag. This is not an error or warning as it is completely legal but many epub developers do not like them and they prefer standalone stylesheets for all styles. Neither of these matter in any way. |
07-30-2020, 10:20 AM | #313 | |
Zealot
Posts: 121
Karma: 10
Join Date: Nov 2015
Location: Europe EEC
Device: none
|
Hi Kevin - I realised from the first post in this thread that the info revealed by setting 'usage' to true was advisory for those seeking perfection and not critical. I was hoping for a quick lead to the source documentation which listed all these 'events' like CSS-024.
Quote:
<html xml:lang="en-GB" xmlns="http://www.w3.org/1999/xhtml"> generated by export from LO Writer w. writer2epub a couple of years' ago. Should I replace "en-GB" with a plain "en"? I am happy to learn that inline styles are inoffensive. |
|
07-30-2020, 10:29 AM | #314 |
Guru
Posts: 878
Karma: 2457540
Join Date: Nov 2011
Device: none
|
There's two possible items, lang and xml:lang. Epubcheck only seems to like one of them.
|
07-30-2020, 12:19 PM | #315 |
Sigil Developer
Posts: 7,644
Karma: 5433388
Join Date: Nov 2009
Device: many
|
The current epub spec looks for just the lang attribute not xml::lang and if both are present lang takes precedence.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Plugin] PunctuationSmarten Sigil plugin | DiapDealer | Plugins | 138 | 07-11-2023 11:22 AM |
[Plugin] KindleImport Sigil plugin | DiapDealer | Plugins | 187 | 07-04-2022 10:11 AM |
Sigil Plugin Index | Thasaidon | Plugins | 0 | 10-04-2014 07:41 AM |
FC and Sigil 0.5.3 ePUBcheck failure | Hitch | Sigil | 32 | 04-17-2012 02:56 AM |
Web-based epubcheck upgraded to epubcheck 1.0.5 | kjk | ePub | 4 | 02-09-2010 09:53 PM |