Re: Spellchecker has no dictionaries
Op 23-03-15 om 08:38 schreef Michael Berger: On 03/22/2015 03:36 PM, Cor Blom wrote: Op 22-03-15 om 14:57 schreef Michael Berger: PS: neither did 'sudo' work in that ordinary console BTW: This is strange. What you also could try is make a new user on your system, log in with that user and try lyx and console there. To me it looks like something is wrong in your configuration files and does not have to be lyx related. I hope this helps you. Cor Hi Cor, I am very grateful as you put me (almost) back on track. I created a new user as advised. Now I have: /home/*olduser*/.config/Lyx/lyx.conf (12.0 KiB) with Spellchecker not working and /home/*newuser*/.config/Lyx/lyx.conf (6.2 KiB) with Spellchecker working well - in *newuser* Spellchecker works out of the box as anticipated (tried with a few new Lyx documents) - as root I copied a complete folder with various LyX-Documents from *olduser* into *newuser* (Read-only) and Spellchecker works well - as root I can open the same LyX-Documents (Read-only) in *olduser* and *newuser* with Spellchecker working equally well in both But how can I convince Spellchecker to work in the olduser environment as olduser? I dare not touch the olduser's configuration file! Can you, please, advise how to proceed? Thanks and cheers, Michael Hi Michael, I did not know about the existence of /home/user/.config/LyX. I have it also and it does not contain much that you can use to solve your problem. Spellcheck settings are saved in /home/user/.lyx/preferences Ihave there a SPELLCHECKER SECTION and a LANGUAGE SUPPORT SECTION, where spellcheck settings are stored. The system settings on an openSUSE system can be found in the file /usr/share/lyx/lyxrc.dist Of course, lyx has a nice dialogue to change the settings, but maybe this can help you to locate the problem. Hopefully this helps, Cor
Re: Spellchecker has no dictionaries
On 03/22/2015 03:36 PM, Cor Blom wrote: Op 22-03-15 om 14:57 schreef Michael Berger: PS: neither did 'sudo' work in that ordinary console BTW: This is strange. What you also could try is make a new user on your system, log in with that user and try lyx and console there. To me it looks like something is wrong in your configuration files and does not have to be lyx related. I hope this helps you. Cor Hi Cor, I am very grateful as you put me (almost) back on track. I created a new user as advised. Now I have: /home/*olduser*/.config/Lyx/lyx.conf (12.0 KiB) with Spellchecker not working and /home/*newuser*/.config/Lyx/lyx.conf (6.2 KiB) with Spellchecker working well - in *newuser* Spellchecker works out of the box as anticipated (tried with a few new Lyx documents) - as root I copied a complete folder with various LyX-Documents from *olduser* into *newuser* (Read-only) and Spellchecker works well - as root I can open the same LyX-Documents (Read-only) in *olduser* and *newuser* with Spellchecker working equally well in both But how can I convince Spellchecker to work in the olduser environment as olduser? I dare not touch the olduser's configuration file! Can you, please, advise how to proceed? Thanks and cheers, Michael
Re: Spellchecker has no dictionaries
Op 22-03-15 om 14:57 schreef Michael Berger: PS: neither did 'sudo' work in that ordinary console BTW: This is strange. What you also could try is make a new user on your system, log in with that user and try lyx and console there. To me it looks like something is wrong in your configuration files and does not have to be lyx related. I hope this helps you. Cor
Re: Spellchecker has no dictionaries
Op 22-03-15 om 14:57 schreef Michael Berger: I don't exactly understand what you mean by "start Lyx with a clean configuration" but this is what I tried: lyx saves its configuration in the folder .lyx in your home directory. Back it up and delete this folder and you get a clean start. Then try to start lyx again. Cor From within a Super User Terminal I called a) lyx b) strace -f -e trace=file -o trace.txt lyx In both cases a lyx file opened and spellchecker worked as expected. I could first check the English part of the document and after changing the Language in > Documents Settings to German the German text. The same procedure executed from an ordinary console resulted in 'Spellchecker has no dictionaries' and/or '...no errors found'. I am not sure what the conclusion is or more specifically, what is/went possibly wrong with my current settings. Hope very much you or another member of the list has an idea?! Cheers, Michael PS: neither did 'sudo' work in that ordinary console
Re: Spellchecker has no dictionaries
03/21/2015 10:56 PM, Cor Blom wrote: Op 21-03-15 om 19:00 schreef Michael Berger: Dear all, Lyx Preferences Path is set to: Hunspell dictionaries: /usr/share/hunspell /usr/share/hunspell contains: en_US.aff en_US.dic de_DE.aff de_DE.dic User interface language: English My documents are written in English and/or German. I believe to have everything in place and configured. Yet I am getting : "Spellchecker has no dictionaries" openSUSE 13.2 Lyx 2.1.2 KDE 4.14.6 Everything is up to date. I did report this before but did not get any response. You're using the packages from openSUSE? It should then work out of the box. I use the same system and spelling check works. Can you start lyx with a clean configuration (mv ~/.lyx ~/.lyx.bak) and see if it still happens? Then we know whether it's somewhere in your configuration or in the system. BTW: the default setting, which you have when you don't change anything yoursel, in LyX on openSUSE for spelling dictionaries is /usr/share/myspell, but that directory has the same content as /usr/share/hunspell, so it shoulldn't really matter. Regards, Cor Dear Cor, thanks for your reply (so far the only one). I don't exactly understand what you mean by "start Lyx with a clean configuration" but this is what I tried: From within a Super User Terminal I called a) lyx b) strace -f -e trace=file -o trace.txt lyx In both cases a lyx file opened and spellchecker worked as expected. I could first check the English part of the document and after changing the Language in > Documents Settings to German the German text. The same procedure executed from an ordinary console resulted in 'Spellchecker has no dictionaries' and/or '...no errors found'. I am not sure what the conclusion is or more specifically, what is/went possibly wrong with my current settings. Hope very much you or another member of the list has an idea?! Cheers, Michael PS: neither did 'sudo' work in that ordinary console
Re: Spellchecker has no dictionaries
Op 21-03-15 om 19:00 schreef Michael Berger: Dear all, Lyx Preferences Path is set to: Hunspell dictionaries: /usr/share/hunspell /usr/share/hunspell contains: en_US.aff en_US.dic de_DE.aff de_DE.dic User interface language: English My documents are written in English and/or German. I believe to have everything in place and configured. Yet I am getting : "Spellchecker has no dictionaries" openSUSE 13.2 Lyx 2.1.2 KDE 4.14.6 Everything is up to date. I did report this before but did not get any response. You're using the packages from openSUSE? It should then work out of the box. I use the same system and spelling check works. Can you start lyx with a clean configuration (mv ~/.lyx ~/.lyx.bak) and see if it still happens? Then we know whether it's somewhere in your configuration or in the system. BTW: the default setting, which you have when you don't change anything yoursel, in LyX on openSUSE for spelling dictionaries is /usr/share/myspell, but that directory has the same content as /usr/share/hunspell, so it shoulldn't really matter. Regards, Cor