View Single Post
Old 09-12-2016, 10:34 AM   #1
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,625
Karma: 3120635
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:
That isn't a dependency error, it is an error somewhere in the internals of the plugin launcher.

Possibly in /usr/share/sigil/plugin_launchers/python/opf_parser.py it is failing to build the list of files according to type somehow, though I have no idea why not.
Here we are.

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
About dependencies

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 ~]$
roger64 is offline   Reply With Quote