|
|
#1 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,088
Karma: 11562565
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
|
Plugin problem under Linux
Linux Mint 22.2 Cinnamon, Sigil v. 2.0.1 AppImage.
When I run various plugins, e. g. Epub2LegacyMetadata or EpubCheck, I receive the following message: Code:
Traceback (most recent call last):
File "/usr/lib/python3.12/ctypes/__init__.py", line 450, in __getattr__
dll = self._dlltype(name)
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/ctypes/__init__.py", line 379, in __init__
self._handle = _dlopen(self._name, mode)
^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: /usr/lib/x86_64-linux-gnu/sigil/libhunspell.so: cannot open shared object file: No such file or directory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/share/sigil/plugin_launchers/python/launcher.py", line 317, in <module>
sys.exit(main())
^
^
^
^
^
^
File "/usr/share/sigil/plugin_launchers/python/launcher.py", line 277, in main
bc = BookContainer(rk)
^
^
^^^^^^^^^^^^^^^
File "/usr/share/sigil/plugin_launchers/python/bookcontainer.py", line 42, in __init__
self.hspell = HunspellChecker(wrapper.get_hunspell_path())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/sigil/plugin_launchers/python/pluginhunspell.py", line 49, in __init__
self.hunspell = cdll[hunspell_dllpath]
~~~~^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/ctypes/__init__.py", line 457, in __getitem__
return getattr(self, name)
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/ctypes/__init__.py", line 452, in __getattr__
raise AttributeError(name)
AttributeError
:
/usr/lib/x86_64-linux-gnu/sigil/libhunspell.so
|
|
|
|
|
|
#2 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,912
Karma: 207182180
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Those paths show that you're not actually using the Sigil AppImage, but rather a repo-installed version of Sigil. I thought at first that your "Use Bundled Python" checkbox had come unchecked in Preferences but the paths indicate that you're using a plugin framework from /usr/share/sigil/plugin_launchers. That's not the path the AppImage would display on an error in it's plugin framework. The paths also show that your system Python (3.12) is being used. That version of Python is not bundled with the Sigil AppImage.
How are you launching Sigil? If you don't have the AppImage properly integrated into your desktop with a .desktop file, using the context menu's "Open With" on an epub file (or simply double-clicking an epub file) isn't going to open the epub with the AppImage. The first thing you need to do is uninstall the repo version of Sigil so there's no confusion over which version you're using. To test that the AppImage is working: double-click the Sigil AppImage to launch Sigil; go to your Plugin Preferences and make sure the "Use Bundled Python" box is checked; open an epub using Sigil's File->Open menu; launch the EpubCheck plugin. That should work without error. Last edited by DiapDealer; 10-25-2025 at 06:41 AM. |
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,088
Karma: 11562565
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
|
Ah, you are completely right! I looked for the directory where I had stored the AppImage, douple-clicked it, it opened, and I could correctly edit my epub, and also run the plug-ins.
I then un-installed the version that appeared in the menu and that seems to come from a repository (from where I had taken it at first). Now, is there a way to make the AppImage-version appear in the Linux-menu? |
|
|
|
|
|
#4 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,912
Karma: 207182180
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Yes. There are multiple ways. We've had the discussion here before. Give me some time to find it. Others can feel free to chime in with their solutions as well.
|
|
|
|
|
|
#5 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,912
Karma: 207182180
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
This is what I do for AppImage desktop integration.
https://www.mobileread.com/forums/sh...65&postcount=5 |
|
|
|
| Advert | |
|
|
|
|
#6 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,088
Karma: 11562565
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
|
Alright, I found it out by myself! Everything works fine now. Thank you so much once more!
|
|
|
|
|
|
#7 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,912
Karma: 207182180
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Good deal!
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Where might I find the plugin folder on linux? | OregaNooo | Plugins | 1 | 05-13-2024 09:50 PM |
| Text to Speech plugin on linux? | ezwebby | General Discussions | 4 | 01-21-2017 10:19 PM |
| Problem with my ScrambleEbook plugin and the Plugin Updater tool | jackie_w | Development | 14 | 01-19-2017 11:49 PM |
| [Linux] FlightCrew Plugin don't works with 0.9.0 | Camelot | Sigil | 35 | 11-17-2015 01:42 PM |
| iDevice iBooks plugin for Linux. | oharab | Plugins | 2 | 09-27-2010 07:10 PM |