Bug 395107

Summary: Spell check does not work + missing language
Product: [Applications] kile Reporter: Petr Velan <petr.velan>
Component: editorAssignee: Michel Ludwig <michel.ludwig>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: Andreas.Feldmann, fabian, lbeltrame, rigo
Priority: NOR    
Version First Reported In: 2.1.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Petr Velan 2018-06-07 13:22:02 UTC
In the current version of OpenSUSE Tumbleweed the Kile spellchecking does not work. Czech language option disappeared from the dictionary menu and no words are underlined for US and GB dictionaries either.

Kwrite and Kate are both working fine. My KDE version is 4.14.38.
Comment 1 Petr Velan 2018-06-07 14:48:15 UTC
I forgot to add that the console shows:

No language dictionaries for the language :  "en_US"
Comment 2 Rigo Wenning 2019-02-15 19:19:58 UTC
I can confirm this for Opensuse Tumbleweed 2019-02-05. Started in a terminal, it gives a lot of errors. 
kile(22592) DCD::startServer: unable to start completion-server: 0
kile(22592)/Kate (On-The-Fly Spellcheck) KateOnTheFlyChecker::KateOnTheFlyChecker: created
Object::connect: No such signal KateBuffer::respellCheckBlock(KateDocument*,int,int)
kile(22592)/Kate (On-The-Fly Spellcheck) KateOnTheFlyChecker::updateConfig:
kile(22592): No language dictionaries for the language :  "en_US"
Comment 3 Michel Ludwig 2019-02-23 10:56:13 UTC
*** Bug 400575 has been marked as a duplicate of this bug. ***
Comment 4 Michel Ludwig 2019-02-23 10:59:42 UTC
It looks like something is wrong with the openSUSE package for Kile.

There's unfortunately nothing we can do here.

I'm currently trying to create an AppImage of the latest Kile beta release. Once it works you should be able to run it on openSUSE as well.
Comment 5 Rigo Wenning 2019-02-23 11:52:03 UTC
Thanks, I will report back to the opensuse folks who told me to go upstream first
Comment 6 Luca Beltrame 2019-02-25 16:32:01 UTC
This is actually a problem of the KDE4 version of kile: kdelibs is not compatible with enchant 2, so it won't build the spell checking support.

As for why openSUSE Tumbleweed ships the KDE4 version, it's because the KF5 version of kile hasn't had a proper release yet. We do offer snapshots from git in a separate repository, and that would be a workaround for this issue.
Comment 7 Andreas.Feldmann 2019-02-26 11:59:58 UTC
Installing a git snapshot of kile from a separate repository sounds great! Where can I find this OpenSUSE repository though?
Comment 8 Rigo Wenning 2019-02-26 19:32:19 UTC
I installed from http://download.opensuse.org/repositories/KDE:Unstable:Extra/openSUSE_Tumbleweed/

I've uninstalled kile and kile-lang first, added the repo with priority 102 and installed kile5. It works like a charm. But I assume they will soon integrate kile5 into Tumbleweed anyway.
Comment 9 Andreas.Feldmann 2019-02-27 09:36:50 UTC
(In reply to Rigo Wenning from comment #8)
> I installed from
> http://download.opensuse.org/repositories/KDE:Unstable:Extra/
> openSUSE_Tumbleweed/
> 
> I've uninstalled kile and kile-lang first, added the repo with priority 102
> and installed kile5. It works like a charm. But I assume they will soon
> integrate kile5 into Tumbleweed anyway.

That works like a charm indeed! Thanks.