spell check doesnt work in openoffice.org2

Bug #14663 reported by Marcos Pinto
20
Affects Status Importance Assigned to Milestone
openoffice.org2-amd64 (Ubuntu)
Fix Released
Medium
Matthias Klose

Bug Description

spell check doesnt work in any of openoffice.org2 applications. it runs
through, says it's completed, but finds 0 spelling mistakes (even if all you
have in the document is "dkfjlsfjsdlfajklj"). i have myspell-en-us installed,
so i'm not sure why this isnt working. any ideas?

here's the relavent output of dpkg -l
ii myspell-en-us 20030813-3ubuntu1 English (US)
dictionary for myspell
ii openoffice.org2 1.9.76-0ubuntu4 Office suite core,
version 2.0
ii openoffice.org2-calc 1.9.76-0ubuntu4 OpenOffice.org
office suite - spreadsheet
ii openoffice.org2-common 1.9.76-0ubuntu4 OpenOffice.org
office suite architecture independent files
ii openoffice.org2-core 1.9.76-0ubuntu4 OpenOffice.org
office suite architecture independent files
ii openoffice.org2-debian-file 1.9.76-0ubuntu1 Debian specific
parts of OpenOffice.org
ii openoffice.org2-draw 1.9.76-0ubuntu4 OpenOffice.org
office suite - drawing
ii openoffice.org2-evolution 1.9.76-0ubuntu4 Evolution 2
Addressbook support for OpenOffice.org
un openoffice.org2-help <none> (no description
available)
ii openoffice.org2-impress 1.9.76-0ubuntu4 OpenOffice.org
office suite - presentation
ii openoffice.org2-l10n-en-us 1.9.76-0ubuntu4 english_american
language package for OpenOffice.org
ii openoffice.org2-math 1.9.76-0ubuntu4 OpenOffice.org
office suite - equation editor
ii openoffice.org2-writer 1.9.76-0ubuntu4 OpenOffice.org
office suite - word processor

Revision history for this message
Marcos Pinto (markybob) wrote :

ok, so i found out that the openoffice.org2 debs dont create a symlink in
/usr/lib/openoffice2/share/dict/ooo -> /usr/share/myspell/dicts
obviously a problem. i created the symlink myself and it worked fine. then i
removed openoffice.org from the system (didnt need 1.1.4 since i now had 2), but
that stopped the spell checker from working in openoffice.org2. no idea why and
i dont know how to fix it.

Revision history for this message
Matthias Klose (doko) wrote :

fixed the directory in 1.9.79.2-0ubuntu2, although we still depend on the the
OO.o1 installation. that's post hoary

Revision history for this message
Jeremy Wells (jeremy) wrote :

Problem is also happening to me with OpenOffice 1.9.125 from Colony 3.

Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

I can confirm this on a colony 3 install fully updated just now.

Revision history for this message
Matthew Elder (sseses) wrote :

I have the same problem in the latest breezy.

Here is example text in an OOo2 Writer Document:
lajfdkl
jfklasjfd
klj
faskl'dj fjajhfaew

I get this message:
"The spellcheck is complete" - it doesn't find any errors.

This might be useful:
mae@sinai:~$ apt-cache showpkg openoffice.org2-writer
Package: openoffice.org2-writer
Versions:
1.9.125+2.0beta2-1ubuntu1(/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_breezy_main_binary-i386_Packages)(/var/lib/dpkg/status)

Reverse Depends:
  openoffice.org2,openoffice.org2-writer
Dependencies:
1.9.125+2.0beta2-1ubuntu1 - openoffice.org2-core (4 1.9.125+2.0beta2-1) libc6 (2
2.3.4-1) libgcc1 (2 1:4.0.1) libstdc++6 (2 4.0.1) libstlport4.6c2 (0 (null))
libwpd8c2 (0 (null)) zlib1g (2 1:1.2.1) python-uno (4 1.9.125) java-gcj-compat
(16 (null)) j2re1.4 (16 (null)) java2-runtime (0 (null))
Provides:
1.9.125+2.0beta2-1ubuntu1 -
Reverse Provides:

Revision history for this message
Matthias Klose (doko) wrote :

- which language do you use?
- please could you make sure, that the corresponding myspell-<lang> package is
installed?
- It should help to set the language explicitely in the preferences.

Revision history for this message
Scott Dier (sdier) wrote :
Revision history for this message
Miguel Rodríguez (migrax) wrote :

After manually creating the link mentioned in debian bug #320831 spellchecking
has started working for me.

Revision history for this message
Dave Meikle (dmk-uk) wrote :

The same for me as Miguel. Had to create /usr/lib/openoffice2/share/dict/ooo
first, so:

sudo mkdir /usr/lib/openoffice2/share/dict/ooo/d
sudo ln -s /etc/openoffice/dictionary.lst
/usr/lib/openoffice2/share/dict/ooo/dictionary.lst

Revision history for this message
Dave Meikle (dmk-uk) wrote :

Sorry minus the d on the first one:

sudo mkdir /usr/lib/openoffice2/share/dict/ooo

(In reply to comment #9)
> The same for me as Miguel. Had to create /usr/lib/openoffice2/share/dict/ooo
> first, so:
>
> sudo mkdir /usr/lib/openoffice2/share/dict/ooo/d
> sudo ln -s /etc/openoffice/dictionary.lst
> /usr/lib/openoffice2/share/dict/ooo/dictionary.lst
>

Revision history for this message
Dave Meikle (dmk-uk) wrote :

Sorry for the mess guys I have been getting all excited.

sudo ln -s /usr/share/myspell/dicts /usr/lib/openoffice2/share/dict/ooo
sudo ln -s /etc/openoffice/dictionary.lst
/usr/lib/openoffice2/share/dict/ooo/dictionary.lst

Does the trick.

(In reply to comment #9)
> The same for me as Miguel. Had to create /usr/lib/openoffice2/share/dict/ooo
> first, so:
>
> sudo mkdir /usr/lib/openoffice2/share/dict/ooo/d
> sudo ln -s /etc/openoffice/dictionary.lst
> /usr/lib/openoffice2/share/dict/ooo/dictionary.lst
>

Revision history for this message
Dave Meikle (dmk-uk) wrote :

This is because it does not create the symlink to the dictionary.lst in /etc/openoffice aswell. See earlier
posts. Both are needed for the dictionary to work.

(In reply to comment #1)
> ok, so i found out that the openoffice.org2 debs dont create a symlink in
> /usr/lib/openoffice2/share/dict/ooo -> /usr/share/myspell/dicts
> obviously a problem. i created the symlink myself and it worked fine. then i
> removed openoffice.org from the system (didnt need 1.1.4 since i now had 2), but
> that stopped the spell checker from working in openoffice.org2. no idea why and
> i dont know how to fix it.

Revision history for this message
Matthias Klose (doko) wrote :

*** Bug 21114 has been marked as a duplicate of this bug. ***

Revision history for this message
Dave Meikle (dmk-uk) wrote :

Zach has mentioned on the ubuntu-devel mailing list he has not got a
dictionary.lst. I think he needs to install a myspell-dictionary such as
myspell-en-gb, as these refresh the list when installed.

-- SNIP --
Okay in bug 14663:
http://bugzilla.ubuntu.com/show_bug.cgi?id=8333
It is propsed to create the following symlinks as a workaround:
sudo ln -s /usr/share/myspell/dicts /usr/lib/openoffice2/share/dict/ooo
sudo ln -s /etc/openoffice/dictionary.lst
/usr/lib/openoffice2/share/dict/ooo/dictionary.lst

For me, the first symlink to /usr/lib/openoffice2/share/dict/ooo is
already there. However there is no dictionary.lst anywhere that I can
find.

I did notice that the openoffice.org2 description suggests installing
myspell-dictionary which doesn't appear to be available. Not sure if
that is related.

-- SNIP --

Revision history for this message
Matthias Klose (doko) wrote :

fixed in openoffice.org2_1.9.125-1ubuntu2

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.