09-12-2016, 10:34 AM | #1 | |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Error message about testplugin (v. 0.13)
Hi
I had been using the "official" sigil Arch package (v. 0.9.6.1.) for several weeks without any problem when it failed the testplugin (v 0.13). (see lower) I uninstalled it (pacman -R) and installed the sigil-git version. Compilation went perfectly without any single error. All dependencies met. However, it failed also the testplugin (v 0.13) with exactly the same message. According to eschwartz, Quote:
Test plugin error message Code:
Statut :success Verify sys.path settings manually /usr/share/sigil/plugin_launchers/python /usr/lib/python35.zip /usr/lib/python3.5 /usr/lib/python3.5/plat-linux /usr/lib/python3.5/lib-dynload /usr/lib/python3.5/site-packages /home/roger/.local/share/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 False bk.manifest_iter() works False bk.spine_iter() works False bk.other_iter() works False 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 20160605 ePub Version 3.0 adding your own file to the manifest works True basename to id mapping works True deleting our added file works True Failure - 4 Tests of Plugin Operations Failed Code:
[roger@anterg ~]$ sudo pip3 install lxml bs4 [sudo] Mot de passe de roger*:* Requirement already satisfied (use --upgrade to upgrade): lxml in /usr/lib/python3.5/site-packages Requirement already satisfied (use --upgrade to upgrade): bs4 in /usr/lib/python3.5/site-packages Requirement already satisfied (use --upgrade to upgrade): beautifulsoup4 in /usr/lib/python3.5/site-packages (from bs4) [roger@anterg ~]$ |
|
09-12-2016, 10:51 AM | #2 |
Grand Sorcerer
Posts: 27,553
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I'll take a look, but I'm not seeing any issues with the various plugin iter routines using the latest git on Arch.
You ARE running the test plugin on the default, empty epub and not any other epub, right? It has to be the default template epub created when opening Sigil for complete success to be possible. |
Advert | |
|
09-12-2016, 11:04 AM | #3 |
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Like roger64, I also have an Arch machine and wasn't able to reproduce these errors with my home-built Sigil version. (I used DiapDealer's instructions.)
@eschwartz: Does the testplugin also display the same 4 error messages on your machine? |
09-12-2016, 11:13 AM | #4 |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
I had previously tried on a big EPUB. Trying the testplugin on the empty default EPUB as you suggested gives a success.
Code:
Statut :success Verify sys.path settings manually /usr/share/sigil/plugin_launchers/python /usr/lib/python35.zip /usr/lib/python3.5 /usr/lib/python3.5/plat-linux /usr/lib/python3.5/lib-dynload /usr/lib/python3.5/site-packages /home/roger/.local/share/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 3.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 |
09-12-2016, 11:30 AM | #5 |
Grand Sorcerer
Posts: 27,553
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
All's well that ends well.
|
Advert | |
|
09-12-2016, 02:51 PM | #6 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
@roger64,
Well, that certainly explained it. The underlying reason is because the testplugin is testing for the presence of specific, named files -- trying to exactly match the contents of the default empty book. If it could just look at any ebook, then how would it know whether it is correctly interpreting the contents of the book? |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
KindleGen error message: E1003 Unknown error in class String. | Doitsu | Kindle Formats | 1 | 06-25-2014 12:29 PM |
Error message: "TEMPLATE ERROR Single '}' encountered in format string" | frank14612 | Calibre | 22 | 07-02-2013 11:05 AM |
Calibre plugIn Kindle Collections Error message "Value Error:month..." | readee | Plugins | 4 | 10-10-2011 11:21 AM |
error message: ERROR ITMS-4099: "Invalid ISBN: [#] at Book (MZItmspBookPac | NewDay | ePub | 3 | 10-07-2010 01:47 PM |
What does this error message mean? | banjobama | Calibre | 2 | 08-02-2010 09:45 AM |