Red Hat Bugzilla – Bug 189745
Spell check failed after upgrade to kdelibs-3.5.2-0.1.fc4
Last modified: 2007-11-30 17:11:31 EST
Description of problem:
Spell check in kmail failed with "ISpell/Aspell could not be started. Please
make sure you have ISpell or Aspell properly configured and in your PATH." Yet
it works flawlessly before kde upgrade. Similar errors reported by other apps
in kde, like kate, if spell check used.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
2.Reply any mail
3.Choose Tools -> Spelling...
"ISpell/Aspell could not be started. Please make sure you have ISpell or
Aspell properly configured and in your PATH." reported
Spell check the mail while typing
It seems aspell is not installed on your machine. Could you please check if
/usr/bin/aspell does exist?
(In reply to comment #1)
> It seems aspell is not installed on your machine. Could you please check if
> /usr/bin/aspell does exist?
It's still there.
[frank@twinhead tmp]$ which aspell
[frank@twinhead tmp]$ rpm -q aspell
[frank@twinhead tmp]$ echo $PATH
it's strange! i cannot reproduce this problem here. Does the problem still appear
with a new user? Could you please try to reinstall aspell package (rpm -ivh
--force) and try again? thanks
I'm sure the package is there. Still, I followd your advice to download
the aspell pkg and forcefully install it. It's the same. Choose other user
doesn't help either. Further test shows that it's probably related with
[root@twinhead tmp]# echo "something wrogn " | aspell list
Error: No word lists can be found for the language "zh_CN".
[root@twinhead tmp]# echo $LANG
[root@twinhead tmp]# echo "something wrogn " | aspell --lang=en_US list
I tried to config aspell to use an en dictionary in control center -> spell
checker -> Dictionary but there is only one "ASpell default" option. Tweaking
other settings there doesn't help. Maybe set the LANG to en_US.UTF8 system
wide is a workaround but I still like to keep my current locale since I
primarily use Chinese as my default language.
It's a bug in aspell. The dictionaries are installed in /usr/lib/aspell but
"pspell-config --pkgdatadir" tells in /usr/share/aspell.
kdelibs uses "pspell-config --pkgdatadir" to look for the dictionnary and in
this case only in /usr/share/aspell.
aspell should install the dictionnaries in /usr/share/aspell
This problem does not happen in FC5 with aspell-0.60
Thanks for you info.
I tried to sym link all files in /usr/lib/aspell to /usr/share/aspell, but
aspell insist 'No word lists can be found for the language "zh_CN"'. Anyway,
I've temporarily altered the LANG to en_US.UTF8 before I have chance to
upgrade to fc5.
you have to config aspell to use an en dictionary in control center -> spell
checker -> Dictionary
(In reply to comment #7)
> you have to config aspell to use an en dictionary in control center -> spell
> checker -> Dictionary
As I said, there is only a "ASpell default" option there. No other
dictionaries can be chosen.
Have you to restarted KDE after doing symlinks? It't needed!
You're right, forgot to restart KDE then. I sym link all files
from /usr/lib/aspell to /usr/share/aspell and restart X this time, and aspell
works with dictionary English and encoding UTF8.
This problem is fixed in fc5 - aspell dictationaries and data files are in
return the directory where data files of aspell dictationaries are - not the
directory where dictationary files are, from aspell-0.60 all files are in the