You are not logged in.

#1 2018-07-20 15:08:08

Annoyingduck
Member
Registered: 2016-08-02
Posts: 179

[Solved] Libreoffice-Fresh Hunspell Spellcheck No Longer Working

This is happening on 3 of my Arch machines and must have happened in the past 2 weeks because prior to that spellcheck was working as it should. In Libreoffice the red underlining and word replacement options have simply disappeared from all of my documents. Performing a spellcheck from the menu/icon leads to a "Spellcheck Is Complete" without any misspelled words being changed. Hunspell itself is working everywhere else, as I type this post out the word Libreoffice and other misspelled/unrecognized words are underlined in red as they should be. All of the language options and spellcheck options are active and correct in Libreoffice, however on 1 of my machines Hunspell does not appear in Libreoffice/Tools/Options/Language Settings/Writing Aids/Available Language Modules, while on the other 2 machines Hunspell is there and active. All machines do not have spellcheck working regardless if Hunspell is listed as available or not.  I've reinstalled Libreoffice, Hunspell, and Hunspell language packs and also deleted my Libreoffice user data in .config and reconfigured Libreoffice. Also under Tools/Language/For All Text English is listed, but there is not a check box near it, so clicking on English seems to have no impact.  None of these things got the spellcheck to work in Libreoffice. Again, this was all working fine approx. 2 weeks ago so something has changed recently.  Any help on where to start would be very helpful, as I think I've done everything that Google searches have recommended doing.

-All machines have XFCE & Cinnamon installed, result is the same on either DE.
-Linux 4.17.6-1
-Libreoffice-fresh 6.0.5-1
-Libreoffice-fresh-en-gb 6.0.5-1
-Hunspell 1.6.2-1
-Hunspell-en_US 2018.04.16-1

Last edited by Annoyingduck (2018-07-24 13:46:16)

Offline

#2 2018-07-20 16:13:24

TCBear
Member
Registered: 2016-01-22
Posts: 34

Re: [Solved] Libreoffice-Fresh Hunspell Spellcheck No Longer Working

I can confirm this issue. It was from the hunspell updates. I down graded to the 2017...  versions  and the spell check worked.
I have not found any bug reports on this yet, but I'm still looking.

Offline

#3 2018-07-20 16:19:04

Annoyingduck
Member
Registered: 2016-08-02
Posts: 179

Re: [Solved] Libreoffice-Fresh Hunspell Spellcheck No Longer Working

TCBear wrote:

I can confirm this issue. It was from the hunspell updates. I down graded to the 2017...  versions  and the spell check worked.
I have not found any bug reports on this yet, but I'm still looking.

Did you just downgrade hunspell alone, or did you also downgrade your installed hunspell language packs?

Offline

#4 2018-07-20 16:30:13

loqs
Member
Registered: 2014-03-06
Posts: 17,372

Re: [Solved] Libreoffice-Fresh Hunspell Spellcheck No Longer Working

Test fix

# ln -s /usr/share/hunspell/en_US-large.dic /usr/share/hunspell/en_US.dic

Edit:
https://bugs.archlinux.org/task/59401

Last edited by loqs (2018-07-20 16:44:16)

Online

#5 2018-07-20 16:47:20

TCBear
Member
Registered: 2016-01-22
Posts: 34

Re: [Solved] Libreoffice-Fresh Hunspell Spellcheck No Longer Working

I downgraded the language packs, the ones that were in the update before the issue began, which were hunspell-en, hunspell-gb and hunspell-en_US.
I didn't experiment to figure out which one may have caused the actual problem, but it looked like the bunspell-en_US from the Libreoffice setting panel. That was the one that didn't show up.

Offline

#6 2018-07-20 16:55:56

TCBear
Member
Registered: 2016-01-22
Posts: 34

Re: [Solved] Libreoffice-Fresh Hunspell Spellcheck No Longer Working

loqs wrote:

Test fix

# ln -s /usr/share/hunspell/en_US-large.dic /usr/share/hunspell/en_US.dic

Edit:
https://bugs.archlinux.org/task/59401

I had but removed   an AUR hunspell/en_US-large package a while back because it was out of date for an extended time.
Thank you I will try that.

Offline

#7 2018-07-21 15:22:43

Annoyingduck
Member
Registered: 2016-08-02
Posts: 179

Re: [Solved] Libreoffice-Fresh Hunspell Spellcheck No Longer Working

loqs wrote:

Test fix

# ln -s /usr/share/hunspell/en_US-large.dic /usr/share/hunspell/en_US.dic

Edit:
https://bugs.archlinux.org/task/59401

Running that command is fixing the issue for me.  Nice job.

Edit: I spoke to soon. The US dictionary is all screwed up now in Libre. It keeps thinking many common words are misspelled...like the word "is" for example.

Last edited by Annoyingduck (2018-07-21 15:30:23)

Offline

#8 2018-07-22 23:56:12

hibajugala
Member
Registered: 2013-01-12
Posts: 35

Re: [Solved] Libreoffice-Fresh Hunspell Spellcheck No Longer Working

Annoyingduck wrote:
loqs wrote:

Test fix

# ln -s /usr/share/hunspell/en_US-large.dic /usr/share/hunspell/en_US.dic

Edit:
https://bugs.archlinux.org/task/59401

Running that command is fixing the issue for me.  Nice job.

Edit: I spoke to soon. The US dictionary is all screwed up now in Libre. It keeps thinking many common words are misspelled...like the word "is" for example.

Try linking en_US-large.aff to en_US.aff as well. I had the word "is" be underlined in the same sentence without the .aff linked vs with it linked.

Offline

#9 2018-07-24 13:45:06

Annoyingduck
Member
Registered: 2016-08-02
Posts: 179

Re: [Solved] Libreoffice-Fresh Hunspell Spellcheck No Longer Working

hibajugala wrote:
Annoyingduck wrote:
loqs wrote:

Test fix

# ln -s /usr/share/hunspell/en_US-large.dic /usr/share/hunspell/en_US.dic

Edit:
https://bugs.archlinux.org/task/59401

Running that command is fixing the issue for me.  Nice job.

Edit: I spoke to soon. The US dictionary is all screwed up now in Libre. It keeps thinking many common words are misspelled...like the word "is" for example.

Try linking en_US-large.aff to en_US.aff as well. I had the word "is" be underlined in the same sentence without the .aff linked vs with it linked.

Just got around to fiddling with this further.  I can confirm that adding a link to the .aff files as well fixes the issue. For verification running these commands solves the issue:

ln -s /usr/share/hunspell/en_US-large.dic /usr/share/hunspell/en_US.dic
ln -s /usr/share/hunspell/en_US-large.aff /usr/share/hunspell/en_US.aff

I believe someone also posted this fix on the bug tracker link above. Thanks guys, I'll mark the thread as solved.

Last edited by Annoyingduck (2018-07-24 15:16:40)

Offline

#10 2018-07-24 14:01:55

martinmorlot
Member
From: Vancouver, BC, CA
Registered: 2009-07-06
Posts: 14

Re: [Solved] Libreoffice-Fresh Hunspell Spellcheck No Longer Working

I did! You are welcome. I also noticed the same issue for hunspell-en_CA.

Offline

#11 2018-07-24 15:18:22

Annoyingduck
Member
Registered: 2016-08-02
Posts: 179

Re: [Solved] Libreoffice-Fresh Hunspell Spellcheck No Longer Working

martinmorlot wrote:

I did! You are welcome. I also noticed the same issue for hunspell-en_CA.

FYI, in the bug thread you have a missing / in front of usr. Just wanted to point that out if other users are directed there.

Offline

Board footer

Powered by FluxBB