domschrei / krunner-symbols

A lightweight KRunner plugin (Plasma 5) to retrieve unicode symbols, or any other string, based on a corresponding keyword.
GNU General Public License v3.0
117 stars 12 forks source link

No results displayed in KRunner #21

Closed rddunphy closed 3 years ago

rddunphy commented 3 years ago

I've tried installing this plugin with both the .deb file and the install script, and in both cases I get the same result: according to the command line output, the installation is successful, and when I go to the KRunner System Settings Module it says the plugin is installed and enabled. But when I type in a symbol name (e.g. I've tried "lambda" and "loremipsum"), no results are displayed from the Symbols plugin. I've not changed anything in the config at this point, so ~/.config/krunner-symbolsrc doesn't exist. When I create the config file and add a test string definition, that isn't displayed in the results either. (Also tried the obvious reinstalling the plugin and rebooting my system.)

image

I'm not really sure how to go about troubleshooting a KRunner plugin - am I missing something obvious?

Operating System: Ubuntu 20.04 KDE Plasma Version: 5.18.5 KDE Frameworks Version: 5.68.0

Here's the output from running the install script:

$ ./install.sh
--2020-12-11 13:19:22--  https://github.com/domschrei/krunner-symbols/releases/download/1.1.0/krunner-symbols-1.1.0-Linux.tar.gz
Resolving github.com (github.com)... 140.82.121.3
Connecting to github.com (github.com)|140.82.121.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/53258671/148acc80-efd3-11ea-94d5-6e0dee73f893?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20201211%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20201211T131922Z&X-Amz-Expires=300&X-Amz-Signature=d156b900a3928c264d73dee1431f2e7d211b6b5646569fc8a4296ae32b03accd&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=53258671&response-content-disposition=attachment%3B%20filename%3Dkrunner-symbols-1.1.0-Linux.tar.gz&response-content-type=application%2Foctet-stream [following]
--2020-12-11 13:19:22--  https://github-production-release-asset-2e65be.s3.amazonaws.com/53258671/148acc80-efd3-11ea-94d5-6e0dee73f893?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20201211%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20201211T131922Z&X-Amz-Expires=300&X-Amz-Signature=d156b900a3928c264d73dee1431f2e7d211b6b5646569fc8a4296ae32b03accd&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=53258671&response-content-disposition=attachment%3B%20filename%3Dkrunner-symbols-1.1.0-Linux.tar.gz&response-content-type=application%2Foctet-stream
Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.216.163.115
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.163.115|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 256746 (251K) [application/octet-stream]
Saving to: ‘krunner-symbols-1.1.0-Linux.tar.gz’

krunner-symbols-1.1.0-Linux.tar.gz                          100%[===========================================================================================================================================>] 250.73K   617KB/s    in 0.4s    

2020-12-11 13:19:23 (617 KB/s) - ‘krunner-symbols-1.1.0-Linux.tar.gz’ saved [256746/256746]

krunner-symbols-1.1.0-Linux/krunner_symbols.so
krunner-symbols-1.1.0-Linux/krunner-symbolsrc
krunner-symbols-1.1.0-Linux/krunner-symbols-full-unicode-index
krunner-symbols-1.1.0-Linux/plasma-runner-symbols.desktop
Installing plugin files into system directories ...
Installation successful. Restarting krunner for the changes to take effect.
domschrei commented 3 years ago

Hi, could you maybe first terminate any running krunner instance (killall krunner) and then type krunner in the terminal and try a query with that krunner instance? That should output some logging info, maybe this helps us to get a clue to what's wrong.

rddunphy commented 3 years ago

If I do that, I get this:

$ killall krunner
$ krunner
Hspell: can't open /usr/share/hspell/hebrew.wgz.sizes.
sonnet.plugins.hspell: HSpellDict::HSpellDict: Init failed
org.kde.plasma: unversioned plugin detected, may result in instability

Not sure if the last line is relevant - I haven't installed any other third party plugins, just enabled the spell checker.

rddunphy commented 3 years ago

Okay, it just occurred to me I can disable the spell checker plugin. That gets rid of the first two lines of output, the third line is still the same. In addition, I get the following line when I click on the Settings button: Couldn't load plugin: "The shared library was not found."

domschrei commented 3 years ago

Sorry that it took me so long to reply.

Did you type anything into krunner after launching it in the terminal? Is there no further output then, e.g. warnings, errors, ...?

rddunphy commented 3 years ago

Sorry for the late reply - I think I need to take a look at my notification settings!

That was the output when typing in "loremipsum" - there are no warnings or errors.

FWIW, on another computer with Kubuntu 20.10 installed, I don't get this issue.

rddunphy commented 3 years ago

So, after a clean install of my OS for unrelated reasons, I'm not able to replicate this and everything works the way it should. Must have been some quirk of my setup, sorry about that!