LyXSpell checker has no dictionaries !!

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
lyxer
Posts: 47
Joined: Mon May 10, 2010 5:17 pm

Spell checker has no dictionaries !!

Post by lyxer »

Hi,

I've been using using Lyx for a while and the spell checker was
working fine. But after the last update it stopped working.
The error I get is: “Spell checker has no dictionaries”.

I searched the web for some remedies but nothing seems to work.

I'm using Lyx 2.1.2 on MacBook pro (Mavericks). In the preferences, the spellchecker engine is set to “Hunspell”. However, under Paths
I'm not sure what to put for the “Hunspell dictionaries”.

So, first of all, how can I know if the dictionaries are installed?
Secondly, how do I locate where the dictionaries are installed?

I have tried the following paths with no success:

/Users/.../Library/Spelling
/Users/.../Library/Dictionaries
/Users/..../Library/Dictionaries/CoreDataUbiquitySupport/..../UserDictionary/local/store

Thanks,

sas

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Spell checker has no dictionaries !!

Post by Johannes_B »

Type

Code: Select all

man hunspell
in a terminal. Under FILES near the bottom the searched directories are listed.

You can also do a find for the *.dic and *.aff files.

If spell checking is broken since the last update of LyX, i think LyX is the problem here. I would start looking at the LyX Bug Tracker. I see there is a problem with spell checking on Macs, but i don't know if it is related to your problem. I am neither a LyX nor a Mac user.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
lyxer
Posts: 47
Joined: Mon May 10, 2010 5:17 pm

Re: Spell checker has no dictionaries !!

Post by lyxer »

Thanks for the info. But frankly, I'm not sure if I understand what I need to do. I typed the command "man hunspell" at the terminal in Mac but got a message which says:
"No manual entry for hunspell".

I'll keep trying anyway.

Thnx
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Spell checker has no dictionaries !!

Post by Johannes_B »

try hunspell --help.
If there isn't any reasonable output, you don't have hunspell installed.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
lyxer
Posts: 47
Joined: Mon May 10, 2010 5:17 pm

Re: Spell checker has no dictionaries !!

Post by lyxer »

It seems Hunspell is not installed. But how come the spell checker was working before? Anyways, I tried installing Hunspell from http://sourceforge.net/ but still the problem persists.
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Re: Spell checker has no dictionaries !!

Post by Johannes_B »

Was installing Hunspell succesfull? Did the right Paths got set?
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply