11-17-2019, 09:16 PM | #286 |
Sigil Developer
Posts: 7,644
Karma: 5433388
Join Date: Nov 2009
Device: many
|
Jon, you are wrong yet again! Actually read the post before responding!
An xpgt file is an adobe page template file not an adobe page map file as the media type indicates. Flightcrew correctly detects this issue by fingerprinting the file contents and comparing it to the declared media type. The poster is asking if epubcheck can be made to validate opf manifest media types. Jon, you really should stop responding to posts in the Sigil forums that you really know nothing about, especially if you do not bother to actually read the post first. Last edited by KevinH; 11-18-2019 at 08:06 AM. Reason: get his name right at the very least |
12-20-2019, 04:00 AM | #287 |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Hi
I had these two same messages trying to launch the epubcheck and prince PDF plugins with Sigil 1.0. Epubcheck Code:
Statut : failed Update check skipped: no Internet. Traceback (most recent call last): File "/usr/share/sigil/plugin_launchers/python/launcher.py", line 135, in launch self.exitcode = target_script.run(container) File "/home/roger/.local/share/sigil-ebook/sigil/plugins/EpubCheck/plugin.py", line 321, in run f = open(opf_path, 'r', encoding='utf-8') FileNotFoundError: [Errno 2] No such file or directory: '/tmp/Sigil-YbGhgE/OEBPS/content.opf' Error: [Errno 2] No such file or directory: '/tmp/Sigil-YbGhgE/OEBPS/content.opf' Prince PDF Code:
Statut : failed Traceback (most recent call last): File "/usr/share/sigil/plugin_launchers/python/launcher.py", line 135, in launch self.exitcode = target_script.run(container) File "/home/roger/.local/share/sigil-ebook/sigil/plugins/PrincePDF/plugin.py", line 126, in run tree = ET.parse(opf_path) File "/usr/lib/python3.8/xml/etree/ElementTree.py", line 1202, in parse tree.parse(source, parser) File "/usr/lib/python3.8/xml/etree/ElementTree.py", line 584, in parse source = open(source, "rb") FileNotFoundError: [Errno 2] No such file or directory: '/tmp/Sigil-YbGhgE/OEBPS/content.opf' Error: [Errno 2] No such file or directory: '/tmp/Sigil-YbGhgE/OEBPS/content.opf' Note ; the "no internet message" is unrelated. |
Advert | |
|
12-20-2019, 04:45 AM | #288 | |
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Please download and re-install the latest versions of the EpubCheck and PrincePDF plugins. Note that the PrincePDF plugin doesn't support non-standard .epub files; you'll have to select Tools > Restructure to Sigil Norm before running the plugin. |
|
12-20-2019, 05:20 AM | #289 |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
thank you.
|
12-30-2019, 02:15 PM | #290 | |
Resident Curmudgeon
Posts: 73,975
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
Advert | |
|
12-30-2019, 03:30 PM | #291 |
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Had you actually tested the latest version of the plugin, you'd noticed that it can handle both standard and non-standard epubs
|
12-30-2019, 03:47 PM | #292 |
Grand Sorcerer
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
And of course, this should happen overnight. Are you volunteering to fix up all of the plugins that aren't yet updated? Please stay out of things that don't concern you, Jon.
|
01-27-2020, 12:40 PM | #293 |
Enthusiast
Posts: 30
Karma: 10
Join Date: Oct 2017
Location: where is my heart
Device: Kobo Glo, and...
|
problem with Python and UFT8
Hi,
Have un sudden disfunction with this plugin. No change in my computed, except a "fatal error" yesterday which may have endomaged some files. When using bundled python i get : Code:
Statut : failed EPUBCheck v4.2.2 en cours d'exécution ... veuillez patienter. 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\franc\AppData\Local\sigil-ebook\sigil\plugins\EpubCheck\plugin.py", line 507, in run stdout = result[0].decode(os_encoding) File "encodings\cp65001.py", line 17, in decode UnicodeDecodeError: 'CP_UTF8' codec can't decode bytes in position 0--1: No mapping for the Unicode character exists in the target code page. Error: 'CP_UTF8' codec can't decode bytes in position 0--1: No mapping for the Unicode character exists in the target code page. Installing the last version of python, same problem with epubcheck : Code:
EPUBCheck v4.2.2 en cours d'exécution ... veuillez patienter. 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\franc\AppData\Local\sigil-ebook\sigil\plugins\EpubCheck\plugin.py", line 507, in run stdout = result[0].decode(os_encoding) File "C:\Users\franc\AppData\Local\Programs\Python\Python38\lib\encodings\utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position 19: invalid continuation byte Error: 'utf-8' codec can't decode byte 0xe9 in position 19: invalid continuation byte Editing the files mentionned in the code line, I see nothing wrong and the same code as the other computer... Have Epubcheck 0.4.3 and reinstalled it with no change May you help me ? Last edited by Julie34; 01-27-2020 at 12:42 PM. Reason: add info |
01-27-2020, 01:19 PM | #294 |
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Most likely some of the files in the epub are encoded as Windows-1252 files instead of UTF-8 files (in Windows-1252 encoded files, 0xe9 is the French character é).
Try the following: 1. Locate the Sigil plugin folder, by selecting Edit > Preferences > Open Preferences Location. 2. In the EpubCheck plugin folder, open plugin.py with a text editor. 3. Change the following lines (507 & 508): Code:
stdout = result[0].decode(os_encoding) stderr = result[1].decode(os_encoding) Code:
stdout = result[0].decode(os_encoding, "ignore") stderr = result[1].decode(os_encoding, "ignore") |
01-27-2020, 01:42 PM | #295 |
Enthusiast
Posts: 30
Karma: 10
Join Date: Oct 2017
Location: where is my heart
Device: Kobo Glo, and...
|
Thanks !!! Works.
Great... Msoft is perseverent, it seems : opted for uft8 encoding in the linguistic prefs of windows, in the Ms Office encoding (checked : new docs are in uft8) but still I find characters in windows encoding... after converting to odt and epub. Dont enderstand, by the way, why not the same problem with the same epubs on another computer in W10 too. Doesnt' matter... Problem solved ! |
02-11-2020, 09:47 PM | #296 |
Gregg Bell
Posts: 2,264
Karma: 3917588
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
|
Zip download failed.
I opened the latest Sigil on a new computer and the Epub check was in Sigil but it failed to work. So I tried to download the zip file on the first page of this thread and it said it would take 38 minutes and was downloading it incredibly slowly until it failed. I've downloaded the Epub zips before and they went quickly. Has something changed or is there something wrong with my computer? I also had an incredibly hard time logging into MR earlier today. Could the slowness downloading be on MR's end?
|
02-12-2020, 12:00 AM | #297 | |
Bibliophagist
Posts: 35,401
Karma: 145435140
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
|
|
02-12-2020, 07:12 AM | #298 |
Guru
Posts: 878
Karma: 2457540
Join Date: Nov 2011
Device: none
|
Did you attempt to transfer your programs and settings from the old computer, or did you install them afresh onto a clean system?
|
02-12-2020, 08:14 PM | #299 | |
Gregg Bell
Posts: 2,264
Karma: 3917588
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
|
Quote:
Code:
Status: failed Launcher: missing or incorrect paths passed in |
|
02-12-2020, 08:15 PM | #300 |
Gregg Bell
Posts: 2,264
Karma: 3917588
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
|
|
|
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 |