Not logged in. · Lost password · Register
Forum: Community Pre-release Discussion RSS
Problems with localization of Aspell on Windows 2000
Psi-0.11 RC2

Announcement

11-16-2005, 12:33 by halr9000
Subject: Psi Groupchat (new address)
Join us at the Psi Groupchat (MUC)! Room name: psi@conference.psi-im.org
noldor #1
User title: Pavel Baranchikov
Member since 03/2006 · 13 posts · Location: Russia, Ryazan
Group memberships: Members
Show profile · Link to this post
Subject: Problems with localization of Aspell on Windows 2000
I read that I am to set environment variable LANG to my localization name to make aspell check my (russian) language.
When I set variable LANG into ru or ru_RU I cannot access Advanced submenu in Options menu. I get error message, titled Microsoft Visual C++ Runtime Library:

Runtime Error!
Program C:\Program Files\Psi\psi.exe
abnormal program termination

I when I delete this environment variable Advanced submenu works good.
Avatar
michalj (Moderator) #2
Member since 04/2004 · 2236 posts · Location: Legionowo, Poland
Group memberships: Global Moderators, Members
Show profile · Link to this post
Can you tell us what are the details of that error message (if any are available)? Especially for the module (library or program) causing the problem. On Windows XP, there is a link underneath the error message that gives the detailed information.
Michał Jazłowiecki (michalj)
Psi Forum & Wiki Moderator :: Psi-Daisy Author
noldor #3
User title: Pavel Baranchikov
Member since 03/2006 · 13 posts · Location: Russia, Ryazan
Group memberships: Members
Show profile · Link to this post
Sorry, but I cannot sypply such information. When I get error message it is just a window with only one button OK and text in it.
Avatar
michalj (Moderator) #4
Member since 04/2004 · 2236 posts · Location: Legionowo, Poland
Group memberships: Global Moderators, Members
Show profile · Link to this post
Maybe this has something to do with aspell data files.

1. Do you have aspell directory inside the main Psi directory (where psi.exe file resides)?
2. If yes, then do you have data and dict subdirectories there?
3. Does aspell\data directory contain ru.dat file?
4. Does aspell\dict directory contain several files that match ru*.multi and ru*.rws wildcards? What about russian.alias file?
Michał Jazłowiecki (michalj)
Psi Forum & Wiki Moderator :: Psi-Daisy Author
noldor #5
User title: Pavel Baranchikov
Member since 03/2006 · 13 posts · Location: Russia, Ryazan
Group memberships: Members
Show profile · Link to this post
Quote by michalj on 08-30-2007, 14:17:
1. Do you have aspell directory inside the main Psi directory (where psi.exe file resides)?
2. If yes, then do you have data and dict subdirectories there?
3. Does aspell\data directory contain ru.dat file?
4. Does aspell\dict directory contain several files that match ru*.multi and ru*.rws wildcards? What about russian.alias file?

Yes, you are right - the file C:\Program Files\Psi\aspell\data\ru.dat was absent. I have added it.

Now my dirs look the following way:
This is list of my files in C:\Program Files\Psi\aspell\data
ASCII.dat
dvorak.kbd
en.dat
en_phonet.dat
iso8859-1.dat
iso8859-10.dat
iso8859-13.dat
iso8859-14.dat
iso8859-15.dat
iso8859-2.dat
iso8859-3.dat
iso8859-4.dat
iso8859-5.dat
iso8859-6.dat
iso8859-7.dat
iso8859-8.dat
iso8859-9.dat
koi8-f.dat
koi8-r.dat
koi8-u.dat
ru.dat
ru_phonet.dat
standard.kbd
viscii.dat

And the folliwing is the list of files in my C:\Program Files\Psi\aspell\dict:
american-w-accents.alias
american.alias
british-w-accents.alias
british.alias
canadian-w-accents.alias
canadian.alias
en-only.rws
en.multi
en_CA-only.rws
en_CA-w-accents.multi
en_CA.multi
en_GB-only.rws
en_GB-w-accents.multi
en_GB.multi
en_US-only.rws
en_US-w-accents.multi
en_US.multi
english.alias
ru.multi
ru.rws
russian.alias

Now, Psi wokrs good when I open Advanced submenu. But now, if I enable spell checking and click OK or Apply button, Psi breaks with error message:
psi: psi.exe - Application error
Instruction at address "0x00ca6757" tried to read at address "0x02dfff20". Memory cannot be "read".

(Sorry for my translation of error text, but I have only russian-translated Windows 2000).

When I start Psi again and go to the Advanced submenu, I see that Chack spalling is enabled. But when I try to write some message to my friend I get the error message (Application error) again.
noldor #6
User title: Pavel Baranchikov
Member since 03/2006 · 13 posts · Location: Russia, Ryazan
Group memberships: Members
Show profile · Link to this post
Quote by michalj on 08-30-2007, 14:17:
1. Do you have aspell directory inside the main Psi directory (where psi.exe file resides)?
2. If yes, then do you have data and dict subdirectories there?
3. Does aspell\data directory contain ru.dat file?
4. Does aspell\dict directory contain several files that match ru*.multi and ru*.rws wildcards? What about russian.alias file?

Yes, you are right - the file C:\Program Files\Psi\aspell\data\ru.dat was absent. I have added it.

Now my dirs look the following way:
This is list of my files in C:\Program Files\Psi\aspell\data
ASCII.dat
dvorak.kbd
en.dat
en_phonet.dat
iso8859-1.dat
iso8859-10.dat
iso8859-13.dat
iso8859-14.dat
iso8859-15.dat
iso8859-2.dat
iso8859-3.dat
iso8859-4.dat
iso8859-5.dat
iso8859-6.dat
iso8859-7.dat
iso8859-8.dat
iso8859-9.dat
koi8-f.dat
koi8-r.dat
koi8-u.dat
ru.dat
ru_phonet.dat
standard.kbd
viscii.dat

And the folliwing is the list of files in my C:\Program Files\Psi\aspell\dict:
american-w-accents.alias
american.alias
british-w-accents.alias
british.alias
canadian-w-accents.alias
canadian.alias
en-only.rws
en.multi
en_CA-only.rws
en_CA-w-accents.multi
en_CA.multi
en_GB-only.rws
en_GB-w-accents.multi
en_GB.multi
en_US-only.rws
en_US-w-accents.multi
en_US.multi
english.alias
ru.multi
ru.rws
russian.alias

Now, Psi wokrs good when I open Advanced submenu. But now, if I enable spell checking and click OK or Apply button, Psi breaks with error message:
psi: psi.exe - Application error
Instruction at address "0x00ca6757" tried to read at address "0x02dfff20". Memory cannot be "read".

(Sorry for my translation of error text, but I have only russian-translated Windows 2000).

When I start Psi again and go to the Advanced submenu, I see that Chack spalling is enabled. But when I try to write some message to my friend I get the error message (Application error) again.
Avatar
shredder #7
Member since 11/2007 · 3 posts · Location: Moscow
Group memberships: Members
Show profile · Link to this post
is it possible to set LANG to RU and EN ?

LANG=RU,EN
Avatar
michalj (Moderator) #8
Member since 04/2004 · 2236 posts · Location: Legionowo, Poland
Group memberships: Global Moderators, Members
Show profile · Link to this post
Not yet. We're working to make user able to select a language for spellchecking during the runtime. It will be available in one of the future versions of Psi.
Michał Jazłowiecki (michalj)
Psi Forum & Wiki Moderator :: Psi-Daisy Author
Close Smaller – Larger + Reply to this post:
Smilies: :mellow: :huh: ^_^ :o ;) :P :D :lol: B) :rolleyes: -_- <_< :) :wub: :angry: :( :unsure: :wacko: :blink: :ph34r:
Special characters:
Go to forum
Unclassified NewsBoard devel of 20051113 © 2003-5 by Yves Goergen
Current time: 07-25-2008, 10:26:35 (UTC -04:00)