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

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 11-11-2015, 04:01 PM   #1
Camelot
Enthusiast
Camelot began at the beginning.
 
Posts: 34
Karma: 10
Join Date: Feb 2015
Device: Sony
[Solved] Linux: FlightCrew Plugin don't works with 0.9.0

Hi, today i update Sigil from my Debian/sid repo to 0.9.0.

I notice, Sigil has nothing validator
Now i install FlightCrew as plugin, but not working.

When click on start:
Code:
Traceback (most recent call last):
  File "/usr/share/sigil/plugin_launchers/python/launcher.py", line 301, in <module>

    sys.exit(main())
  File "/usr/share/sigil/plugin_launchers/python/launcher.py", line 262, in main
    bc = ValidationContainer(rk)
  File "/usr/share/sigil/plugin_launchers/python/validationcontainer.py", line 42, in __init__
    super(ValidationContainer, self).__init__(wrapper, debug)
  File "/usr/share/sigil/plugin_launchers/python/outputcontainer.py", line 45, in __init__
    self.hspell=HunspellChecker(wrapper.get_hunspell_path())
  File "/usr/share/sigil/plugin_launchers/python/pluginhunspell.py", line 41, in __init__
    self.hunspell.Hunspell_create.restype = POINTER(c_int)
  File "/usr/lib/python2.7/ctypes/__init__.py", line 378, in __getattr__
    func = self.__getitem__(name)
  File "/usr/lib/python2.7/ctypes/__init__.py", line 383, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /usr/bin/python2: undefined symbol: Hunspell_create
With Sigil 0.8.7 from Debian/testing no Problem/no error with the FlightCrew Plugin.

python2.7: 2.7.10-5
python3.4: 3.4.3-7
libtcl8.6: 8.6.4

Please help.

Last edited by Camelot; 11-17-2015 at 12:44 PM.
Camelot is offline   Reply With Quote
Old 11-11-2015, 04:49 PM   #2
Turtle91
Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 1,066
Karma: 10652336
Join Date: Dec 2012
Location: Altus, Oklahoma today
Device: iPhone 6/5/iPad 1,2 & Air/Surface Pro/Kindle PW
Make sure you check "use Bundled Python" in Preferences/Plugins...that's what did it for me.
Turtle91 is offline   Reply With Quote
Old 11-11-2015, 04:52 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: 11,853
Karma: 63051351
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I have no idea what what your repo maintainer changed when packaging v0.9.0 for Debian/sid, but I do know that the current Flightcrew plugin works fine when Sigil v0.9.0 is built from source (with either Python2.7 or Python3.4).

And building from source is currently the only "officially" supported method of installing Sigil on Linux. As much as we might like to, we can't really work on bugs that someone else may have introduced. You'll probably need to report this to the Debian/sid repo maintainers.
DiapDealer is offline   Reply With Quote
Old 11-11-2015, 04:52 PM   #4
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: 11,853
Karma: 63051351
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by Turtle91 View Post
Make sure you check "use Bundled Python" in Preferences/Plugins...that's what did it for me.
That's not an option on Linux.
DiapDealer is offline   Reply With Quote
Old 11-11-2015, 05:03 PM   #5
Camelot
Enthusiast
Camelot began at the beginning.
 
Posts: 34
Karma: 10
Join Date: Feb 2015
Device: Sony
Quote:
Originally Posted by DiapDealer View Post
As much as we might like to, we can't really work on bugs that someone else may have introduced. You'll probably need to report this to the Debian/sid repo maintainers.
Thanks, i report this bug to Maintainer.
Camelot is offline   Reply With Quote
Old 11-11-2015, 06:16 PM   #6
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: 11,853
Karma: 63051351
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Judging by the error message, unfortunately, I'm guessing that no plugins are going to run for you.

Looks like maybe they've forgotten to enforce the libhunspell dependency. You could try installing libhunspell-1.3-0 to see if that helps, but that's just a wild guess.
DiapDealer is offline   Reply With Quote
Old 11-11-2015, 11:36 PM   #7
eschwartz
Irrational Optimist
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 16,830
Karma: 66654325
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Runs fine for me on ArchLinux, using sigil-git 0.9.0.r2.g6a465dd-1 compiled from the AUR.
Just plain old Sigil, with SYSTEM_LIBS_REQUIRED and a dependency on hunspell and minizip.

So I agree it is probably the debian packaging at fault, though I don't know what.
I don't know how debian determines dependencies (are linked libraries automatically pulled in) but the *.deb lists libhunspell...

Last edited by eschwartz; 11-11-2015 at 11:42 PM.
eschwartz is online now   Reply With Quote
Old 11-12-2015, 07:27 AM   #8
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: 11,853
Karma: 63051351
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I'm not sure what they've done either, to be honest. I just know that that particular error means that the python plugin framework can't find (or can't load with ctypes.cdll) the libhunspell shared library. Which means the ctypes hunspell interface can't be inialized.

The framework first tries to locate hunspell in the same directory as the Sigil executable (where it's put when the bundled hunspell is built). If that fails, it attempts to locate a system hunspell using ctypes.util.find_library.
DiapDealer is offline   Reply With Quote
Old 11-12-2015, 11:04 AM   #9
eschwartz
Irrational Optimist
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 16,830
Karma: 66654325
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Vanilla python 3.5.0-2 here also.

*Maybe* debian did something amusing with python instead?

...

Considering it is debian which requested for system libhunspell to be an option with the plugin launcher, it is interesting that their package is the one that won't run a plugin properly.

Last edited by eschwartz; 11-12-2015 at 11:14 AM.
eschwartz is online now   Reply With Quote
Old 11-12-2015, 11:39 AM   #10
KevinH
Wizard
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: 1,711
Karma: 627092
Join Date: Nov 2009
Device: many
Hi eschwartz,

Good point but that might be partially my fault. Many packagers may not be users of Sigil and therefore do not have an easy way to test plugin use. I think we shoudl include an official testwithme.zip plugin in the docs and have it exercise the plugin interface and include a sample of what the output should look like so that they can more easily test their build works with plugins.

We have a testme3 plugin that could easily be modified to do that. I will add this to my to-do list.

KevinH
KevinH is offline   Reply With Quote
Old 11-12-2015, 11:48 AM   #11
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: 11,853
Karma: 63051351
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
That's not a bad idea.

In addition, I have a change I'd like to make to the pluginhunspell.py file so that in the event that the libhunspell shared flibrary can't be found and/or loaded at runtime, it will only affect plugins that actually attempt to USE libhunspell. Other plugins would still be functional.

Does that make sense? Or would it only make plugin troubleshooting more complicated?
DiapDealer is offline   Reply With Quote
Old 11-12-2015, 12:12 PM   #12
Doitsu
Wizard
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 2,868
Karma: 6334908
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by eschwartz View Post
*Maybe* debian did something amusing with python instead?
Actually, the official debian Sigil 0.9.0 packages (sigil & sigil_data) are only available for the unstable Debian version, "sid." They can't be installed on Debian 8 "jessie" machines. However, if you build Sigil on a Debian 8 machine, it works just fine.

@Camelot: Have a look at DiapDealer's very detailed Linux build instructions and try to build Sigil 0.9.0 from source. (It requires only moderate technical skills.)
Doitsu is offline   Reply With Quote
Old 11-12-2015, 12:15 PM   #13
eschwartz
Irrational Optimist
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 16,830
Karma: 66654325
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by KevinH View Post
Hi eschwartz,

Good point but that might be partially my fault. Many packagers may not be users of Sigil and therefore do not have an easy way to test plugin use. I think we shoudl include an official testwithme.zip plugin in the docs and have it exercise the plugin interface and include a sample of what the output should look like so that they can more easily test their build works with plugins.

We have a testme3 plugin that could easily be modified to do that. I will add this to my to-do list.

KevinH
That sounds like an excellent idea.
eschwartz is online now   Reply With Quote
Old 11-12-2015, 12:17 PM   #14
eschwartz
Irrational Optimist
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 16,830
Karma: 66654325
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by Doitsu View Post
Actually, the official debian Sigil 0.9.0 packages (sigil & sigil_data) are only available for the unstable Debian version, "sid." They can't be installed on Debian 8 "jessie" machines. However, if you build Sigil on a Debian 8 machine, it works just fine.
So you're saying it might have something to do with sid.
Whatever it is that debian packagers may or may not be doing.
eschwartz is online now   Reply With Quote
Old 11-12-2015, 02:11 PM   #15
Camelot
Enthusiast
Camelot began at the beginning.
 
Posts: 34
Karma: 10
Join Date: Feb 2015
Device: Sony
Thanks for your replies, i reported the bug and downgrade to Sigil 0.8.7.
Camelot is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Install of simple plugin works on Linux and Win but not on OSX kabirmaar Development 9 07-26-2014 08:49 PM
Calibre Catalog Plugin No Longer Works country0129 Library Management 5 02-01-2013 09:52 PM
Help with plugin dev - get_resources() works funny GaryJonston Development 2 12-09-2012 05:23 AM
PRS-505 Looking to buy... if it works with Linux richrock Sony Reader 7 03-11-2011 02:05 PM
No eReader for Linux in the works nekokami News 5 01-06-2007 11:21 AM


All times are GMT -4. The time now is 02:12 AM.


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