Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 08-05-2017, 12:48 PM   #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,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
Error message about testplugin (v. 0.14)

Hi

I've testplugin v.0.14. on ArchLinux.

I could not install the relink plugin for xml non compliance (cryptic message). About this.

Code:
plugin.xml is invalid or cannot be installed on your operating system

So I checked with testplugin (I have nearly ten plugins already installed and working).

Spoiler:

Statut :success


Verify sys.path settings manually
/usr/share/sigil/plugin_launchers/python
/usr/lib/python36.zip
/usr/lib/python3.6
/usr/lib/python3.6/lib-dynload
/usr/lib/python3.6/site-packages
/home/roger/.local/share/sigil-ebook/sigil/plugins/testplugin

Verifying proper Python packages are available
Checking GUI modules
Python Package: PyQt5 (/usr/lib/python3.6/site-packages/PyQt5/QtWidgets.so) Found
Python Package: tkinter (/usr/lib/python3.6/tkinter/__init__.py) Found
Python Package: PIL (/usr/lib/python3.6/site-packages/PIL/__init__.py) Found
Python Package: cssselect (/usr/lib/python3.6/site-packages/cssselect/__init__.py) Found
Python Package: cssutils (/usr/lib/python3.6/site-packages/cssutils/__init__.py) Found
Python Package: html5lib (/usr/lib/python3.6/site-packages/html5lib/__init__.py) Found
Python Package: lxml (/usr/lib/python3.6/site-packages/lxml/__init__.py) Found
Python Package: regex (/usr/lib/python3.6/site-packages/regex.py) Found
Python Package: chardet (/usr/lib/python3.6/site-packages/chardet/__init__.py) Found
Python Package: six (/usr/lib/python3.6/site-packages/six.py) 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
Listing manifested files...
Images/cover.jpg
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 20170227
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


Failure - 4 Tests of Plugin Operations Failed



There is a part wth bk items which is reported to "work False". Is this the reason?

Last edited by roger64; 08-05-2017 at 12:52 PM.
roger64 is offline   Reply With Quote
Old 08-05-2017, 01:00 PM   #2
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,630
Karma: 5433388
Join Date: Nov 2009
Device: many
You need to always run the testplugin from an empty start-up of Sigil (not with an epub already loaded. This is explained here:

https://www.mobileread.com/forums/sh...d.php?t=267539

See point 2 of instructions for using testplugin.
KevinH is online now   Reply With Quote
Advert
Old 08-05-2017, 01:15 PM   #3
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,546
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by roger64 View Post
I could not install the relink plugin for xml non compliance (cryptic message). About this.

Code:
plugin.xml is invalid or cannot be installed on your operating system
That warning has nothing to do with XML compliance. The extension of the file in question just happens to be .xml.

Now, what exactly is "the relink plugin" ? I'm seeing no Sigil plugin with a name like that.
Never mind, I found it. It needs to be added to the index apparently.

It's not configured to work on your platform (Linux if I recall correctly). The creator hasn't specified it in his plugin thread/description, but the plugin is configured to only install on Windows and OSX. So the error message is appropriate: "cannot be installed on your operating system."

Last edited by DiapDealer; 08-05-2017 at 01:21 PM.
DiapDealer is offline   Reply With Quote
Old 08-05-2017, 03:58 PM   #4
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,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
Quote:
Originally Posted by DiapDealer View Post
It's not configured to work on your platform (Linux if I recall correctly). The creator hasn't specified it in his plugin thread/description, but the plugin is configured to only install on Windows and OSX. So the error message is appropriate: "cannot be installed on your operating system."
OK. Thanks for your reply.

Quote:
Originally Posted by KevinH View Post
You need to always run the testplugin from an empty start-up of Sigil (not with an epub already loaded. This is explained here:

https://www.mobileread.com/forums/sh...d.php?t=267539

See point 2 of instructions for using testplugin.
OK. I'll do better.
roger64 is offline   Reply With Quote
Old 08-05-2017, 05:42 PM   #5
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,630
Karma: 5433388
Join Date: Nov 2009
Device: many
Using Sigil's default empty epub, those testplugin failures will go away and testplugin should pass all tests.
KevinH is online now   Reply With Quote
Advert
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error message about testplugin (v. 0.13) roger64 Plugins 5 09-12-2016 02:51 PM
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


All times are GMT -4. The time now is 10:10 PM.


MobileRead.com is a privately owned, operated and funded community.