Issue 16256 - spell checker and Thesaurus does not function on Solaris sparc release
Summary: spell checker and Thesaurus does not function on Solaris sparc release
Status: CLOSED FIXED
Alias: None
Product: Infrastructure
Classification: Infrastructure
Component: Website general issues (show other issues)
Version: current
Hardware: Sun Solaris
: P2 Trivial (vote)
Target Milestone: ---
Assignee: khendricks
QA Contact: issues@lingucomponent
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-30 16:37 UTC by robert.kinsella
Modified: 2013-02-24 20:34 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description robert.kinsella 2003-06-30 16:37:02 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.
Comment 1 robert.kinsella 2003-06-30 16:40:17 UTC
further, the thesaurus is not enabled and it cannot be enabled under
the writing aids section of tools - options
Comment 2 khendricks 2003-06-30 17:02:36 UTC
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 
 
Comment 3 sander_traveling 2003-06-30 23:47:35 UTC
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
Comment 4 quetschke 2003-07-01 07:47:14 UTC
> 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
Comment 5 h.ilter 2003-07-01 11:40:22 UTC
Reassigned to MRU
Comment 6 khendricks 2003-07-01 13:12:46 UTC
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 
 
Comment 7 stx123 2003-07-01 13:23:42 UTC
Hi, you are right Kevin, without quotes it works just fine!
Greetings, Stefan.
Comment 8 khendricks 2003-07-01 13:31:04 UTC
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 
 
 
Comment 9 stx123 2003-07-01 13:37:00 UTC
sorry, i have no build environment. Sander, Volker?
Comment 10 quetschke 2003-07-01 16:04:13 UTC
I'm still at work, will check later if sander doesn't beat me to it.
Comment 11 quetschke 2003-07-01 19:20:16 UTC
I did check W32-tcsh: Was OK before!
And W32-4nt: OK now!

Closing issue.
Comment 12 robert.kinsella 2003-07-02 15:22:58 UTC
verified fixed on OO.org 1.1rc build 'b' on win2000
closing issue - thanks Kevin
Comment 13 robert.kinsella 2003-07-18 17:35:39 UTC
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
Comment 14 robert.kinsella 2003-07-21 12:01:05 UTC
fixed in latest solars sparc respin OO.org 1.1rc2
markin issue as fixed
Comment 15 robert.kinsella 2003-07-21 12:01:29 UTC
closing issue