When I execute "Kate" in console, it shows several messages: sonnet.core: Sonnet: Unable to load plugin "/usr/lib/qt/plugins/kf5/sonnet/sonnet_hspell.so" Error: "Cannot load library /usr/lib/qt/plugins/kf5/sonnet/sonnet_hspell.so: (libhspell.so.0: cannot open shared object file: No such file or directory)" sonnet.core: Sonnet: Unable to load plugin "/usr/lib/qt/plugins/kf5/sonnet/sonnet_voikko.so" Error: "Cannot load library /usr/lib/qt/plugins/kf5/sonnet/sonnet_voikko.so: (libvoikko.so.1: cannot open shared object file: No such file or directory)" "libvoikko" and "hspell" are the packages that contain (in Arch Linux) these libraries but they are optional. "hspell" is a Hebrew spell-checker. "libvoikko" is a spelling and grammar checker, hyphenator and collection of related linguistic data for Finnish language. Nothing in my system indicates that I use these languages, why does "sonnet" alert me to the lack of these libraries if they are optional and I don't need to use them? SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.19.3 KDE Frameworks Version: 5.72.0 Qt Version: 5.15.0 Kernel Version: 5.7.10-zen1-1-zen OS Type: 64-bit
Same issue here.
apparently this is a krunner bug. it is displayed to me as soon as I type anything into krunner after its first run. If the dictionary and spell check runners are disabled, these messages are not displayed. In fact, that seems to be the reason the dictionary runner doesn't work for me. The spelling checker works perfectly. In addition, although the log reports that the files exist, it is possible to find them in the folder. $ ls /usr/lib/qt/plugins/kf5/sonnet/ sonnet_aspell.so sonnet_hspell.so sonnet_hunspell.so sonnet_voikko.so
>apparently this is a krunner bug. >it is displayed to me as soon as I type anything into krunner after its first run. That is because then the KRunner plugins are loaded. >In fact, that seems to be the reason the dictionary runner doesn't work for me. Why do you think so? Have you checked the KRunner settings for the dictionary runner to make sure you have typed the right Trigger Word?
> Why do you think so? Have you checked the KRunner settings for the dictionary runner to make sure you have typed the right Trigger Word? Yes. for my language (pt-br), the word that activates the dictionary is "definir", but typing anything after that does not display any results. on the console, no errors other than those listed here are displayed.
If support for these languages is optional then sonnet shouldn't complain about missing files unless some kind of debug/verbose output is enabled. When user doesn't have these libraries he would never install them if he doesn't need Hebrew or Finnish language checking. That being said, these errors become quite annoying after a while.
https://invent.kde.org/frameworks/sonnet/-/merge_requests/53