03-19-2017, 04:57 PM | #226 | |
Connoisseur
Posts: 67
Karma: 10
Join Date: Sep 2014
Device: sony prs 2
|
Quote:
|
|
03-19-2017, 05:09 PM | #227 |
Sigil Developer
Posts: 7,645
Karma: 5433388
Join Date: Nov 2009
Device: many
|
Are you saying it works in Sierra but not Yosemite?
If so what exact error messages are you getting? Did you see the python icon in panel (rocket ship blasting off)? If not, please download the testplugin (see its thread here) and install and run it on both Yosemite and on Sierra via Parallels and let us know what it says about each plugin environment. https://www.mobileread.com/forums/sh...d.php?t=267539 |
Advert | |
|
03-19-2017, 05:19 PM | #228 |
Sigil Developer
Posts: 7,645
Karma: 5433388
Join Date: Nov 2009
Device: many
|
One other thing to try is to use ePub3-itizer v0.3.6 and when first invoked, look for the rocketship icon in the Finder's panel.
See this post to see what I am talking about here: https://www.mobileread.com/forums/sh...&postcount=202 Click on that icon. It will force the Python file save as dialog to the front so you can see and interact with it. Does that help? |
03-19-2017, 05:51 PM | #229 | |
Connoisseur
Posts: 67
Karma: 10
Join Date: Sep 2014
Device: sony prs 2
|
Quote:
Status: success Verify sys.path settings manually /Applications/Sigil.app/Contents/plugin_launchers/python /Applications/Sigil.app/Contents/Frameworks/Python.framework/Versions/3.5/lib/python35.zip /Applications/Sigil.app/Contents/Frameworks/Python.framework/Versions/3.5/lib/python3.5 /Applications/Sigil.app/Contents/Frameworks/Python.framework/Versions/3.5/lib/python3.5/plat-darwin /Applications/Sigil.app/Contents/Frameworks/Python.framework/Versions/3.5/lib/python3.5/lib-dynload /Applications/Sigil.app/Contents/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages /Users/john/Library/Application Support/sigil-ebook/sigil/plugins/testplugin Verifying proper Python packages are available Python Package: PIL Found Python Package: cssselect Found Python Package: cssutils Found Python Package: html5lib Found Python Package: lxml Found Python Package: regex Found Python Package: chardet Found Python Package: six Found Verifying Sigil Python Libraries can be found/loaded Sigil Python library: epub_utils Found Sigil Python library: quickparser Found Sigil Python library: compatibility_utils Found Sigil Python library: sigil_bs4 Found Verifying Hunspell Spell Checking Hunspell en_US affix file and dictionary Found Hunspell shared library Found Hunspell spellchecking works True Verifying Sigil Gumbo Library operation Sigil Gumbo BS4 Adapter library Found Sigil BS4/Gumbo Parser works True Verifying selected basic plugin interface elements bk.text_iter() works True bk.manifest_iter() works True bk.spine_iter() works True bk.other_iter() works True reading a non-manifest book file works True reading a specific OPF manifest id works True writing to a specific OPF manifest id works True Launcher Version 20160909 ePub Version 2.0 adding your own file to the manifest works True basename to id mapping works True deleting our added file works True Success - All Tests of Plugin Operations Passed i'll try on sierra but i don't expect a difference with 0.36 there is no busy ball but none of the buttons work, i can drag the dialog box around though. |
|
03-19-2017, 06:09 PM | #230 |
Sigil Developer
Posts: 7,645
Karma: 5433388
Join Date: Nov 2009
Device: many
|
If with 0.3.6 there is no busy ball, then something in version 0.3.7 is causing a crash but only under Yosemite. That is very strange. It appears to be something Tk related (Python's tcl/tk gui toolkit) because that testplugin passes for everything and the only thing not covered by it is Tk.
The fact that with 0.3.6 you can see the file save as dialog and drag it around but NOT use it seems to indicate a broken Python Tk implementation as well. I previously tested 0.3.6 under Yosemite and el Capitan and it worked (although I had to manually hit the Python rocket icon in the Finder panel to get the dialog to appear). So there is nothing special about Yosemite. I would download and install ActiveState's active Tcl/Tk for MacOSX and this time look for an older version 8.5 instead of 8.6 to see if that helps. |
Advert | |
|
03-20-2017, 10:50 PM | #231 | |
Connoisseur
Posts: 67
Karma: 10
Join Date: Sep 2014
Device: sony prs 2
|
Quote:
and with a 500MB epub no less (image files are a tad big) and I have no idea why it worked this time and not before. I was expecting it to fail. |
|
03-21-2017, 03:08 PM | #232 |
Sigil Developer
Posts: 7,645
Karma: 5433388
Join Date: Nov 2009
Device: many
|
Something strange must have been up with the ActiveState ActiveTCL package you installed. That is what makes Python's Tk gui widgets actually work.
No ideas on why but I am glad it is working for you. |
05-03-2017, 03:32 PM | #233 |
Member
Posts: 19
Karma: 10
Join Date: May 2017
Device: None
|
Here is the Aspose epub 2 conversion, straight from a Word 2010 docx document.
EPUB Validator (beta) Results Detected version: EPUB 2.0.1 Results: Congratulations! No problems were found in 9780998967813_The_Seeker's_Storm.epub. Validated using EpubCheck version 4.0.2. After I use the Sigil epubitizer plugin, it's practically perfect. (Sorry if I made it sound like a huge run of errors earlier.) EPUB Validator (beta) Results Detected version: EPUB 3.0.1 Results: The following problems were found in 9780998967813_The_Seeker's_Storm_epub_3.epub: Type File Line Position Message WARNING OEBPS/content.opf 20 84 XHTML Content Document file name 'OEBPS/Text/untitled.html' should have the extension '.xhtml'. ERROR OEBPS/Text/untitled.html 6 59 Error while parsing file 'value of attribute "http-equiv" is invalid; must be a string matching the regular expression "([Dd][Ee][Ff][Aa][Uu][Ll][Tt]\-[Ss][Tt][Yy][Ll][Ee])|([Rr][Ee][Ff][Rr][Ee][Ss][Hh])|([Cc][Oo][Nn][Tt][Ee][Nn][Tt]\-[Tt][Yy][Pp][Ee])"'. Validated using EpubCheck version 4.0.2. ---- I know that this is remarkably simple to y'all, like breathing. Me, I feel like I've been hunting for a can of striped paint since Monday. I really appreciate you being so kind and taking the time to look at the error. |
05-03-2017, 04:36 PM | #234 | |
Sigil Developer
Posts: 7,645
Karma: 5433388
Join Date: Nov 2009
Device: many
|
It is strange your html file is called "untitled.html"? Although legal in epub2 it is probably not a good idea in general.
Yes, epub3 requires .xhtml files not .html files otherwise epubcheck warns you. Once you have loaded your epub into Sigil as an epub2, you can easily globally rename all .html files to be .xhtml files and Sigil will properly handle everything. Then run the epub3-itizer plugin on it and you should be good to go at least for that warning. For details, please see the first post in this thread (where you downloaded the plugin from). Quote:
Hope this helps. Last edited by KevinH; 05-03-2017 at 04:51 PM. |
|
05-03-2017, 04:38 PM | #235 |
Member
Posts: 19
Karma: 10
Join Date: May 2017
Device: None
|
KevinH, it does help, thanks!
|
05-03-2017, 04:46 PM | #236 |
Sigil Developer
Posts: 7,645
Karma: 5433388
Join Date: Nov 2009
Device: many
|
Hi,
Look for something near the top in the untitled.html file that looks similar to the following. <meta http-equiv= The only allowed values are: refresh, content-type, or default-style. What does yours say? If you see something that looks similar. Please copy and paste it here so that we can see what that error message is about. Last edited by KevinH; 05-03-2017 at 04:49 PM. |
05-03-2017, 04:56 PM | #237 |
Member
Posts: 19
Karma: 10
Join Date: May 2017
Device: None
|
<meta http-equiv=Content-Style-Type" content="text/css"/>
|
05-03-2017, 05:03 PM | #238 |
Sigil Developer
Posts: 7,645
Karma: 5433388
Join Date: Nov 2009
Device: many
|
Wow something is very strange. That metadata value is saying untitled.html is a css file NOT an html file. That makes no sense to me.
If it is truly a html file this should read something like: <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> Is this untitled.html really html or is it a css file or .... |
05-03-2017, 05:23 PM | #239 |
Sigil Developer
Posts: 7,645
Karma: 5433388
Join Date: Nov 2009
Device: many
|
After googling around a bit, that content-style-type meta tag inside an html document is not used or needed in epubs and most things just ignore it. Unfortunately, epubcheck is not one of those things that ignore it.
You can safely remove that line from untitled.html before conversion and all should work just fine. I will update epub3-itizer to auto-remove meta tags like that for the next release. For now just remove it in Sigil. So thanks for your bug report! |
05-03-2017, 05:26 PM | #240 | |
Member
Posts: 19
Karma: 10
Join Date: May 2017
Device: None
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Conversion Output] KePub Output Plugin | jgoguen | Plugins | 551 | 07-18-2023 06:22 AM |
Create a javascript quizz for Epub3 in Sigil | BertrandThibaut | Sigil | 3 | 01-26-2014 09:04 AM |
An epub3 version of Sigil ? | apulia03 | Sigil | 9 | 11-28-2012 01:07 AM |
Plugin not customizable: Plugin: HTML Output does not need customization | flyingfoxlee | Conversion | 2 | 02-24-2012 02:24 AM |
epub3 Sigil Poetry(fixed layout) | Giggleton | Sigil | 7 | 04-04-2011 12:58 PM |