Bug#422937: Spell checking not working

2007-05-09 Thread Rene Engelhard
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

tag 422937 + moreinfo
tag 422937 + unreproducible
thanks

Hi,

Jean Tourrilhes wrote:
   You may think that it's the trivial issue of not having the
 proper language set in the paragraph style. Well, it's not.
   This is what I do in Writer :
   o create a new Text document.
   o type random characters
   o select the text
   o context menu - Characters
   o Language is set to English USA
   o Tools-Spellcheck
   o The spellcheck is complete.
   o Text it not corrected.

Hmm.

   Note that after noticing the problem, the first thing I did
 was to delete the ~/.office* directories. This did not help.

Because they don't exist? :)

   These are random observations leading me to believe that
 this is not an usual problem.
   In the Character-Language selection pulldown, I remember that
 all languages with a dictionaty installed had a ABC tickmark icon in front
 of them. On my install, none of them has that.
   The title of the spellcheck windows has the following title :
   Spellcheck: ()
   The Wizards-Install new dictionaries does not do anything at all.
   In Tools-Options-LanguageSettings-WritingAids, the list of
 Available language module is empty.
   Tools-Language-Thesaurus is grayed out.
   Tools-Language-Hyphenation returned an error the first time
 I ran it that it could not find US/GB stuff. Later, it just does nothing.

Yes, really weird.

 # ls /usr/lib/openoffice/share/wordbook
 en-GB/  en-US/  fr/  it/
 # ll /usr/lib/openoffice/share/wordbook/en-US/
 total 16
 drwxr-xr-x 2 root root 4096 2007-04-20 13:20 ./
 drwxr-xr-x 6 root root 4096 2007-05-08 14:02 ../
 -rw-r--r-- 1 root root   77 2007-03-22 03:38 Debian.dic
 -rw-r--r-- 1 root root  786 2007-03-22 03:38 soffice.dic

wrong, unrelevant dir. This one here is important, though:

$ dpkg -L openoffice.org-common | grep dict
/usr/lib/openoffice/share/dict
/usr/share/myspell/dicts
/usr/share/myspell/dicts/DicOOo.sxw
/usr/lib/openoffice/share/dict/ooo
^^^
/usr/share/myspell/dicts/dictionary.lst

$ ls -l /usr/lib/openoffice/share/dict/ooo
lrwxrwxrwx 1 root root 31 2007-04-10 09:23 /usr/lib/openoffice/share/dict/ooo 
- ../../../../share/myspell/dicts

Do you have that? (If not, i've no idea why it got lost as it *is* in
the package)

 # ls /usr/share/myspell/dicts/
 DicOOo.sxw   en_GB.dic   en_US.dic   it_IT.aff   th_en_US_v2.dat
 dictionary.lst@  en-GB.dic@  en-US.dic@  it-IT.aff@  th_en_US_v2.idx
 en_GB.affen_US.aff   fr.aff  it_IT.dic   th_it_IT_v2.dat
 en-GB.aff@   en-US.aff@  fr.dic  it-IT.dic@  th_it_IT_v2.idx

OK.

 # cat /etc/openoffice/dictionary.lst
 [...]
 ## !!! BEGIN AUTOMATIC SECTION -- DO NOT CHANGE !!!
 ## !!! ADD YOUR ADDITIONAL ENTRIES BELOW THIS SECTION !!!
 DICT en GB en_GB
 DICT en US en_US
 DICT fr FR fr
 DICT fr BE fr
 DICT fr CA fr
 DICT it IT it_IT
 THES en US th_en_US_v2
 THES en GB th_en_US_v2
 THES it IT th_it_IT_v2
 ## !!! END AUTOMATIC SECTION -- DO NOT CHANGE !!!

OK

 # dpkg -l \*openoffice\* | grep '^ii'
 ii  openoffice.org   2.0.4.dfsg.2-5etch1 OpenOffice.org 
 Office suite version 2.0
 ii  openoffice.org-base  2.0.4.dfsg.2-5etch1 OpenOffice.org 
 office suite - database
 ii  openoffice.org-calc  2.0.4.dfsg.2-5etch1 OpenOffice.org 
 office suite - spreadsheet
 ii  openoffice.org-common2.0.4.dfsg.2-5etch1 OpenOffice.org 
 office suite architecture ind
 ii  openoffice.org-core  2.0.4.dfsg.2-5etch1 OpenOffice.org 
 office suite architecture dep
 ii  openoffice.org-draw  2.0.4.dfsg.2-5etch1 OpenOffice.org 
 office suite - drawing
 ii  openoffice.org-gcj   2.0.4.dfsg.2-5etch1 OpenOffice.orgs 
 Java libraries (native for u
 ii  openoffice.org-help-en-us2.0.4.dfsg.2-5etch1 English_american 
 help for OpenOffice.org
 ii  openoffice.org-impress   2.0.4.dfsg.2-5etch1 OpenOffice.org 
 office suite - presentation
 ii  openoffice.org-java-common   2.0.4.dfsg.2-5etch1 OpenOffice.org 
 office suite Java support arc
 ii  openoffice.org-l10n-en-gb2.0.4.dfsg.2-5etch1 English_british 
 language package for OpenOff
 ii  openoffice.org-l10n-fr   2.0.4.dfsg.2-5etch1 French language 
 package for OpenOffice.org
 ii  openoffice.org-l10n-it   2.0.4.dfsg.2-5etch1 Italian language 
 package for OpenOffice.org
 ii  openoffice.org-math  2.0.4.dfsg.2-5etch1 OpenOffice.org 
 office suite - equation edito
 ii  openoffice.org-thesaurus-en-us   2.0.4~rc1-3 English 
 Thesaurus for OpenOffice.org
 ii  openoffice.org-thesaurus-it  0+20050726  Italian 
 Thesaurus for OpenOffice.org 2
 ii  openoffice.org-writer2.0.4.dfsg.2-5etch1 OpenOffice.org 
 office suite - word 

Bug#422937: Spell checking not working

2007-05-09 Thread Jean Tourrilhes
On Wed, May 09, 2007 at 10:37:33AM +0200, Rene Engelhard wrote:
 tag 422937 + moreinfo
 tag 422937 + unreproducible
 thanks
 
 Hi,
 
 Jean Tourrilhes wrote:
  You may think that it's the trivial issue of not having the
  proper language set in the paragraph style. Well, it's not.
  This is what I do in Writer :
  o create a new Text document.
  o type random characters
  o select the text
  o context menu - Characters
  o Language is set to English USA
  o Tools-Spellcheck
  o The spellcheck is complete.
  o Text it not corrected.
 
 Hmm.
 
  Note that after noticing the problem, the first thing I did
  was to delete the ~/.office* directories. This did not help.
 
 Because they don't exist? :)

Yeah, I meant the following directories :
~/.openoffice
~/.openoffice.org2/

[...]
 wrong, unrelevant dir. This one here is important, though:
 
 $ dpkg -L openoffice.org-common | grep dict
 /usr/lib/openoffice/share/dict
 /usr/share/myspell/dicts
 /usr/share/myspell/dicts/DicOOo.sxw
 /usr/lib/openoffice/share/dict/ooo
 ^^^
 /usr/share/myspell/dicts/dictionary.lst
 
 $ ls -l /usr/lib/openoffice/share/dict/ooo
 lrwxrwxrwx 1 root root 31 2007-04-10 09:23 /usr/lib/openoffice/share/dict/ooo 
 - ../../../../share/myspell/dicts
 
 Do you have that? (If not, i've no idea why it got lost as it *is* in
 the package)

#  dpkg -L openoffice.org-common | grep dict
/usr/share/myspell/dicts
/usr/share/myspell/dicts/DicOOo.sxw
/usr/lib/openoffice/share/dict/ooo
/usr/share/myspell/dicts/dictionary.lst
# ls -l /usr/lib/openoffice/share/dict/ooo
total 4
-rw-r--r-- 1 root root 88 2007-05-08 14:27 dictionary.lst
# ls -l /usr/lib/openoffice/share/dict
total 4
drwxr-xr-x 2 root root 4096 2007-05-08 14:27 ooo/

Thanks. I think I can see the problem.
I've fixed the symlink and it's all working now.

 Regards,
 
 Rene

Thanks a lot for your help !

Jean


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#422937: Spell checking not working

2007-05-08 Thread Jean Tourrilhes
Package: openoffice.org-dictionaries
Version: 1:2.0.2.99.2.0.3rc5-3

I'm using a standard installation of OpenOffice on
stable/etch, and my spellchecking is no longer working. I've upgraded
recently to etch from sarge, and I don't remember is the spell check
was working post upgrade or not.

You may think that it's the trivial issue of not having the
proper language set in the paragraph style. Well, it's not.
This is what I do in Writer :
o create a new Text document.
o type random characters
o select the text
o context menu - Characters
o Language is set to English USA
o Tools-Spellcheck
o The spellcheck is complete.
o Text it not corrected.

Note that after noticing the problem, the first thing I did
was to delete the ~/.office* directories. This did not help.

These are random observations leading me to believe that
this is not an usual problem.
In the Character-Language selection pulldown, I remember that
all languages with a dictionaty installed had a ABC tickmark icon in front
of them. On my install, none of them has that.
The title of the spellcheck windows has the following title :
Spellcheck: ()
The Wizards-Install new dictionaries does not do anything at all.
In Tools-Options-LanguageSettings-WritingAids, the list of
Available language module is empty.
Tools-Language-Thesaurus is grayed out.
Tools-Language-Hyphenation returned an error the first time
I ran it that it could not find US/GB stuff. Later, it just does nothing.

A few details on my system.
I'm not using Gnome or KDE, but fvwm2.
My locales :
locale
LANG=en_US
LANGUAGE=en_US:en_GB:en
LC_CTYPE=en_US
LC_NUMERIC=en_US
LC_TIME=en_US
LC_COLLATE=en_US
LC_MONETARY=en_US
LC_MESSAGES=en_US
LC_PAPER=en_US
LC_NAME=en_US
LC_ADDRESS=en_US
LC_TELEPHONE=en_US
LC_MEASUREMENT=en_US
LC_IDENTIFICATION=en_US
LC_ALL=
# ls /usr/lib/openoffice/share/wordbook
en-GB/  en-US/  fr/  it/
# ll /usr/lib/openoffice/share/wordbook/en-US/
total 16
drwxr-xr-x 2 root root 4096 2007-04-20 13:20 ./
drwxr-xr-x 6 root root 4096 2007-05-08 14:02 ../
-rw-r--r-- 1 root root   77 2007-03-22 03:38 Debian.dic
-rw-r--r-- 1 root root  786 2007-03-22 03:38 soffice.dic
# ls /usr/share/myspell/dicts/
DicOOo.sxw   en_GB.dic   en_US.dic   it_IT.aff   th_en_US_v2.dat
dictionary.lst@  en-GB.dic@  en-US.dic@  it-IT.aff@  th_en_US_v2.idx
en_GB.affen_US.aff   fr.aff  it_IT.dic   th_it_IT_v2.dat
en-GB.aff@   en-US.aff@  fr.dic  it-IT.dic@  th_it_IT_v2.idx
# cat /etc/openoffice/dictionary.lst
[...]
## !!! BEGIN AUTOMATIC SECTION -- DO NOT CHANGE !!!
## !!! ADD YOUR ADDITIONAL ENTRIES BELOW THIS SECTION !!!
DICT en GB en_GB
DICT en US en_US
DICT fr FR fr
DICT fr BE fr
DICT fr CA fr
DICT it IT it_IT
THES en US th_en_US_v2
THES en GB th_en_US_v2
THES it IT th_it_IT_v2
## !!! END AUTOMATIC SECTION -- DO NOT CHANGE !!!
# dpkg -l \*openoffice\* | grep '^ii'
ii  openoffice.org   2.0.4.dfsg.2-5etch1 OpenOffice.org 
Office suite version 2.0
ii  openoffice.org-base  2.0.4.dfsg.2-5etch1 OpenOffice.org 
office suite - database
ii  openoffice.org-calc  2.0.4.dfsg.2-5etch1 OpenOffice.org 
office suite - spreadsheet
ii  openoffice.org-common2.0.4.dfsg.2-5etch1 OpenOffice.org 
office suite architecture ind
ii  openoffice.org-core  2.0.4.dfsg.2-5etch1 OpenOffice.org 
office suite architecture dep
ii  openoffice.org-draw  2.0.4.dfsg.2-5etch1 OpenOffice.org 
office suite - drawing
ii  openoffice.org-gcj   2.0.4.dfsg.2-5etch1 OpenOffice.orgs 
Java libraries (native for u
ii  openoffice.org-help-en-us2.0.4.dfsg.2-5etch1 English_american 
help for OpenOffice.org
ii  openoffice.org-impress   2.0.4.dfsg.2-5etch1 OpenOffice.org 
office suite - presentation
ii  openoffice.org-java-common   2.0.4.dfsg.2-5etch1 OpenOffice.org 
office suite Java support arc
ii  openoffice.org-l10n-en-gb2.0.4.dfsg.2-5etch1 English_british 
language package for OpenOff
ii  openoffice.org-l10n-fr   2.0.4.dfsg.2-5etch1 French language 
package for OpenOffice.org
ii  openoffice.org-l10n-it   2.0.4.dfsg.2-5etch1 Italian language 
package for OpenOffice.org
ii  openoffice.org-math  2.0.4.dfsg.2-5etch1 OpenOffice.org 
office suite - equation edito
ii  openoffice.org-thesaurus-en-us   2.0.4~rc1-3 English Thesaurus 
for OpenOffice.org
ii  openoffice.org-thesaurus-it  0+20050726  Italian Thesaurus 
for OpenOffice.org 2
ii  openoffice.org-writer2.0.4.dfsg.2-5etch1 OpenOffice.org 
office suite - word processor
# dpkg -l \*spell\* | grep '^ii'
ii  aspell  0.60.4-4   GNU Aspell spell-checker
ii  aspell-en