Apache OpenOffice (AOO) Bugzilla – Issue 16256
spell checker and Thesaurus does not function on Solaris sparc release
Last modified: 2013-02-24 20:34:28 UTC
OO.org 1.1 rc build 'a'. Win 2000 Open a new text document enter the word 'score' select tools spell BUG-> an error dialog is launched. "error executing the spellchecker. English (USA) is not supported by the spellchecker function or is currently not active. PLease check your installation, and if necessary, install the required language module or activate it under tools options, language settings, writing aids" When user selects to enable the spellchecker uner tools options, the setting is not actually taken. i.e. when user reopens writing aids, it is again not enabled. Further if user does not realise this, spellchecker will now 'appear' to function (no error dialog) but it does not actually work e.g. the word "scoreeeee" does not produce an error.
further, the thesaurus is not enabled and it cannot be enabled under the writing aids section of tools - options
Hi Robert, This is my issue in all likelihood. What is in share/dict/ooo/? You should see: dictionary.lst en_US.dic hyph_en_US.dic README_en_GB.txt en_GB.aff hyph_da_DK.dic hyph_ru_RU.dic README_it_IT.txt en_GB.dic hyph_de_DE.dic it_IT.aff th_en_US.dat en_US.aff hyph_en_GB.dic it_IT.dic th_en_US.idx What does the dictioanry.lst file there show? Mine shows... # List of All Dictionaries to be Loaded by OpenOffice # --------------------------------------------------- # Each Entry in the list have the following space delimited fields # # Field 1: Entry Type "DICT" - spellchecking dictionary # "HYPH" - hyphenation dictionary # "THES" - thesaurus files # # Field 2: Language code from Locale "en" or "de" or "pt" ... # # Field 3: Country Code from Locale "US" or "GB" or "PT" # # Field 4: Root name of file(s) "en_US" or "hyph_de" or "th_en_US # (do not add extensions to the name) DICT en GB en_GB HYPH en GB hyph_en_GB HYPH da DK hyph_da_DK DICT it IT it_IT HYPH ru RU hyph_ru_RU HYPH de DE hyph_de_DE DICT en US en_US HYPH en US hyph_en_US THES en US th_en_US What does the *.Set env file show on the WIN build machine? it should have the equivalent of the following: setenv DIC_DADK "TRUE" setenv DIC_DEDE "TRUE" setenv DIC_ENGB "TRUE" setenv DIC_ENUS "TRUE" setenv DIC_ITIT "TRUE" setenv DIC_RURU "TRUE" Kevin
well, there isn't really a .Set file on windows, there is winenv .bat which is sort of similar the DIC_xxxx enviormnet variables are set, btw
> well, there isn't really a .Set file on windows, there is winenv .bat > which is sort of similar Well, I have to slightly object. W32-tcsh has a winenv.set ;-) > the DIC_xxxx enviormnet variables are set, btw Also in winenv.set
Reassigned to MRU
I think the problem is that the "echo" command seems to have put "quptes" around all of the lines in the dictionary.lst file. "HYPH ru RU hyph_ru_RU" "HYPH da DK hyph_da_DK" "DICT en US en_US" "HYPH en US hyph_en_US" "THES en US th_en_US" "HYPH de DE hyph_de_DE" "DICT en GB en_GB" "HYPH en GB hyph_en_GB" "DICT it IT it_IT" Would you try using Notepad or some text editor and change dictionary.lst to remove all of the quotes on the lines and then exit from OOo and Quickstarter and then start both back up to force the reparsing of the dictionary.lst file. It should look like the following: HYPH ru RU hyph_ru_RU HYPH da DK hyph_da_DK DICT en US en_US HYPH en US hyph_en_US THES en US th_en_US HYPH de DE hyph_de_DE DICT en GB en_GB HYPH en GB hyph_en_GB DICT it IT it_IT Then try testing spellchecking and thesaurus and I bet it works. So the problem is in my use of the "echo" command in dictionaries/en_US/makefile.mk and the like. I think? Kevin
Hi, you are right Kevin, without quotes it works just fine! Greetings, Stefan.
Hi Stefan, Thanks. It seems unix "echo" and WIN "echo" work slightly differently. I have just now committed makefile.mk changes in dictionaries/ Please try the following: cd dictioanries (completely remove the dictionaries WIN output tree) cvs update -dP build deliver -force Then look in output tree in in bin/ and manually inspect the "dictionary.lst" file to make sure it looks good (no extra quotes). This file is stored in the writing_aids.zip file that is delivered and installed. If it works we are good to go. Kevin
sorry, i have no build environment. Sander, Volker?
I'm still at work, will check later if sander doesn't beat me to it.
I did check W32-tcsh: Was OK before! And W32-4nt: OK now! Closing issue.
verified fixed on OO.org 1.1rc build 'b' on win2000 closing issue - thanks Kevin
OO>org 1.1rc2 has failed spellcheck test on Solaris sparc. The corresponding linux and windows build did not fail. Solaris sparc:- Here is the contents of the share/dict/ooo directory. README_en_GB.txt en_GB.aff hyph_da_DK.dic hyph_en_GB.dic dictionary.lst en_GB.dic hyph_de_DE.dic hyph_ru_RU.dic The contents of the dictionary.lst file is empty with the exception of a few comments. Reopening issue
fixed in latest solars sparc respin OO.org 1.1rc2 markin issue as fixed
closing issue