You are not logged in.
Update:
I'd still like to understand what this /usr/lib/aspell-0.60/xray.cset file is all about. But apearantly I don't really need it. I fired up my xubuntu installation to spellcheck the LyX document. And because the ~/.aspell.en.pws on Arch had more added words in it I was about to copy it over the Xubuntu copy... Fortunately I compared them first and noticed that the working Xubuntu ~/.aspell.en.pws was a 212 line file beginning with "personal_ws-1.1 en 211" (evidently reflecting the number of words @ 1 per line) while the broken ~/.aspell.en.pws on Arch was a 299 line file beginning with "personal_ws-1.1 en 299 xray" Considering I had recently deleted one word/line from it the only part that didn't make sense was the word xray... changed that line to "personal_ws-1.1 en 298" and aspell is working again.
But I still don't know where the word "xray" came from, nor why aspell thought it meant there should be an "/usr/lib/aspell-0.60/xray.cset" file... ???????
End Update (Original post below)
I think I did something stupid... And it broke aspell.
What I did was: I was spellchecking a LyX document (which uses aspell) and
I accidentally added a misspelled word. Whenever I've done that in the past
I simply opened my ~/.aspell.en.pws with vim, and deleted the misspelled
word from the list. But this time I'd been using aspell indirectly and
while I closed LyX's pop-up spellchecking utility before I switched to a
terminal window, I didn't close LyX itself. (I didn't think it would matter
as long as it wasn't actively spellchecking at the time...) Well I got rid
of the misspelled word OK. When I switched back to LyX every thing seemed
to work normally until I pressed <F7> to start up the spellchecker again.
At that point LyX crashed...
When I try to use aspell from the command line in a terminal window I get
this:
JtWdyP -> /home/jtwdyp/tmp
>
JtWdyP -> /home/jtwdyp/tmp
> echo "test txt a tst file" > test.txt
JtWdyP -> /home/jtwdyp/tmp
> aspell -c test.txt
Unhandled Error: The encoding "xray" is not known. This could also mean that the file "/usr/lib/aspell-0.60/xray.cset" could not be opened for reading or does not exist.
Aborted
JtWdyP -> /home/jtwdyp/tmp
> ls /usr/lib/aspell-0.60/xray.cset
ls: cannot access /usr/lib/aspell-0.60/xray.cset: No such file or directory
JtWdyP -> /home/jtwdyp/tmp
> I've tried logging into my root account and:
UnderTree =->
UnderTree =-> pacman -S aspell
warning: aspell-0.60.6-4 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...
Targets (1): aspell-0.60.6-4
Total Download Size: 0.00 MB
Total Installed Size: 3.79 MB
Proceed with installation? [Y/n] y
checking package integrity...
(1/1) checking for file conflicts [##########################] 100%
(1/1) upgrading aspell [##########################] 100%
UnderTree =->But aspell still fails with the same error, and the file:
/usr/lib/aspell-0.60/xray.cset
still doesn't exist...
Next it occurred to me that for all I know, reinstalling with "pacman -S"
might not be as complete as installing a new package so I thought that if I
removed aspell first, I might be able to get a cleaner install...
UnderTree =->
UnderTree =-> pacman -R aspell
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: aspell-en: requires aspell
:: enchant: requires aspell
:: lyx: requires aspell
UnderTree =->I'm not so sure I want to remove enchant & lyx to test that theory...
So I guess I gotta ask, how do I go about getting a replacement
"/usr/lib/aspell-0.60/xray.cset" file????
--
jtwdyp
J(tWdy)P
Joe(theWordy)Philbrook
Last edited by jtwdyp (2010-11-10 17:20:19)
Offline