09-19-2018, 08:48 AM | #1 |
Zealot
Posts: 120
Karma: 5276
Join Date: Feb 2013
Device: Asus Zen Pad
|
[solved] Plugins throw an error
Greetings,
I am new to Sigil. I have been trying to install and run some plugins, and they do not work. The plugins appear to install OK, and they appear in the plugins menu, but when I try to run them I get an error that says Code:
Error: A plugin by that name does not exist. The plugin is installed in the directory Code:
/home/brian/.local/share/sigil-ebook/sigil/plugins . └── testplugin ├── plugin.py └── plugin.xml Anybody know how to fix this? Thanks, Banjo (_)=='=~ |
09-19-2018, 09:34 AM | #2 |
Grand Sorcerer
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
KDE Desktop?
|
Advert | |
|
09-19-2018, 10:09 AM | #3 |
Zealot
Posts: 120
Karma: 5276
Join Date: Feb 2013
Device: Asus Zen Pad
|
Yes. KDE Plasma 5.8.9
Code:
System: Host: LinuxMain Kernel: 4.4.0-135-generic x86_64 (64 bit) Desktop: KDE Plasma 5.8.9 Distro: Linux Mint 18.1 Serena |
09-19-2018, 10:30 AM | #4 |
Grand Sorcerer
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Thought as much. There's a bug in KDE's KDEPlatformTheme plugin that affects Qt programs (https://bugs.kde.org/show_bug.cgi?id=337491). The short of it is that it injects accelerator shortcuts (&) into the menu text of applications. That menu text is what we (Sigil) use to know which plugin to launch from the menu--so this messes with that functionality (and the functionality of a lot of other Qt applications affected by it).
I added a workaround for it in Sigil 0.9.8 that seems to do the trick, but unfortunately, the version of Sigil included in Xenial-based repositories is Sigil 0.9.5. There are a few things you can do. 1) Assign plugins to the plugin menu button shortcuts and launch them that way (you only have 3 plugin shortcut buttons available on 0.9.5, though). 2) Build/install a newer version of Sigil yourself from source. 3) Install a newer version of Sigil from a third-party repository (there are several reputable launchpad repos that provide newer versions of Sigil). There's also some mention of something that can be added to a "kdeglobals" file (in the above bug report comments), but I cannot vouch for its accuracy or effectiveness. Last edited by DiapDealer; 09-19-2018 at 10:49 AM. |
09-19-2018, 10:46 AM | #5 |
Grand Sorcerer
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Further info (untested by me) on that kdeglobals workaround is that adding:
Code:
[Development] AutoCheckAccelerators=false |
Advert | |
|
09-19-2018, 10:49 AM | #6 |
Zealot
Posts: 120
Karma: 5276
Join Date: Feb 2013
Device: Asus Zen Pad
|
Thanks for the quick response.
I will look into your solutions. I am investigating how to build from source, but I have not worked through the details yet. I would like to build inside an IDE, but the instructions online address command line builds. I will see if one of the other workarounds will suffice until I can get my act together on a build. |
09-19-2018, 10:58 AM | #7 | |
Grand Sorcerer
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
I suppose it could all be set up within QtCreator (configured to use CMake instead of .pro files), but I see no real advantage in doing so. *shrug* |
|
09-19-2018, 12:59 PM | #8 |
Zealot
Posts: 120
Karma: 5276
Join Date: Feb 2013
Device: Asus Zen Pad
|
All very true, but I like to poke around in things and see how they work. I spent too many years looking through core dumps with gdb.
Banjo (_)=='=~ |
09-19-2018, 01:06 PM | #9 |
Grand Sorcerer
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
C++ code is a far cry from core dumps, but I get your drift.
|
09-21-2018, 04:51 PM | #10 |
Zealot
Posts: 120
Karma: 5276
Join Date: Feb 2013
Device: Asus Zen Pad
|
I thought that I would update this thread to follow up on what has worked for me to solve this problem, just in case someone else is having the same issue.
Running plugins from the buttons did work, but as mentioned, there are only three buttons, and the tooltips do not identify which plugin is assigned to which button. So I tried the workaround, adding the following: Code:
[Development] AutoCheckAccelerators=false Once again, here are my system specs Code:
Host: LinuxMain Kernel: 4.4.0-135-generic x86_64 (64 bit) Desktop: KDE Plasma 5.8.9 Distro: Linux Mint 18.1 Serena Banjo (_)=='=~ |
09-21-2018, 05:19 PM | #11 |
Grand Sorcerer
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Thanks for verifying that the ~/.config/kdeglobals entry workaround does in fact work! I'll try to remember to make a note of it in the Linux section of Sigil's github wiki.
|
09-21-2018, 08:51 PM | #12 |
Zealot
Posts: 120
Karma: 5276
Join Date: Feb 2013
Device: Asus Zen Pad
|
How do I mark this SOLVED? On most forums you edit the first post, but that doesn't seem to work here.
|
09-22-2018, 07:38 AM | #13 |
Grand Sorcerer
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error adding books and plugins | sininenkuu | Calibre | 8 | 03-13-2018 09:16 AM |