Bug 189745
Summary: | Spell check failed after upgrade to kdelibs-3.5.2-0.1.fc4 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Frank Wang <yafrank> |
Component: | aspell | Assignee: | Ivana Varekova <varekova> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Ben Levenson <benl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | aspell-0.60.3-6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-05-16 10:13:00 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Frank Wang
2006-04-24 09:30:50 UTC
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 /usr/bin/aspell [frank@twinhead tmp]$ rpm -q aspell aspell-0.50.5-6 [frank@twinhead tmp]$ echo $PATH /usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/local/jdk1.5.0/bin:/usr/local/jdk1.5.0/jre/bin:/home/frank/bin 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 language setting: [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 zh_CN.UTF-8 [root@twinhead tmp]# echo "something wrogn " | aspell --lang=en_US list wrogn 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. Thanks again! 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. Thanks! This problem is fixed in fc5 - aspell dictationaries and data files are in /usr/lib/aspell-0.60. pspell-config --pkgdatadir 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 same directory. |