[prev in list] [next in list] [prev in thread] [next in thread]
List: aspell-user
Subject: [Aspell-user] Aspell Create Dictionary Does not work
From: "Kumar, Sudheer [USA]" <kumar_sudheer () bah ! com>
Date: 2010-03-17 20:06:34
Message-ID: 8AD325A710642444800562290271B0AC16F1980B () ASHBMBX03 ! resource ! ds ! bah ! com
[Download RAW message or body]
Hi,
I am trying to run aspell create dictionary command on Red Hat Enterprise Linux ES \
release 4 with PHP4 installed on it. Syntax for command -
aspell create master --lang=en /home/work/spellcheckdictionary/rws/tmp/rocce.rws < \
/home/work/spellcheckdictionary/rocce.txt
I am accessing and running this command from a Java application using \
'java.lang.Process' api class.
It works fine on Windows, but when running the same on Linux from Java application it \
fails (it just hangs without any error/exception), But if I go the Linux box itself \
and run with the same and userid as Java application is accessing it works fine.
I see the file rocce.rws file got generated with 0 bytes on it and with only read \
permissions, and if I run the program again I get 'could not write to file' error.
We are creating an web interface for Administrator to update custom dictionary using \
a browser.
Please let me know how can I resolve this issue, its holding all my project work \
where we are using aspell for spell-checking. Will appreciate for your help.
Thanks,
Sudheer.
email me at - kumar_sudheer@bah.com<mailto:kumar_sudheer@bah.com>
[Attachment #3 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.5730.13" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=911023619-17032010><FONT face=Arial
size=2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=911023619-17032010><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=911023619-17032010><FONT face=Arial size=2>I am trying to run
aspell create dictionary command on Red Hat Enterprise Linux ES release 4 with
PHP4 installed on it.</FONT></SPAN></DIV>
<DIV><SPAN class=911023619-17032010><FONT face=Arial size=2>Syntax for command -
</FONT></SPAN></DIV>
<DIV><SPAN class=911023619-17032010><FONT face=Arial size=2> </DIV>
<DIV><FONT face=Arial size=2><EM>aspell create master --lang=en
/home/work/spellcheckdictionary/rws/tmp/rocce.rws <
/home/work/spellcheckdictionary/rocce.txt</EM></FONT></DIV>
<DIV><FONT face=Arial size=2><BR> </DIV></FONT></FONT></SPAN>
<DIV><SPAN class=911023619-17032010><FONT face=Arial size=2>I am accessing and
running this command from a Java application using 'java.lang.Process' api
class.</FONT></SPAN></DIV>
<DIV><SPAN class=911023619-17032010><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=911023619-17032010><FONT face=Arial size=2>It works fine on
Windows, but when running the same on Linux from Java application it fails
(it just hangs without any error/exception), But if I go the Linux box itself
and run with the same and userid as Java application is accessing it works
fine.</FONT></SPAN></DIV>
<DIV><SPAN class=911023619-17032010><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=911023619-17032010><FONT face=Arial size=2>I see the file
rocce.rws file got generated with 0 bytes on it and with only read permissions,
and if I run the program again I get 'could not write to file'
error.</FONT></SPAN></DIV>
<DIV><SPAN class=911023619-17032010><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=911023619-17032010><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=911023619-17032010><FONT face=Arial size=2>We are creating an
web interface for Administrator to update custom dictionary using a
browser.</FONT></SPAN></DIV>
<DIV><SPAN class=911023619-17032010><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=911023619-17032010><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=911023619-17032010><FONT face=Arial size=2>Please let me know
how can I resolve this issue, its holding all my project work where we are using
aspell for spell-checking. Will appreciate for your help.</FONT></SPAN></DIV>
<DIV><SPAN class=911023619-17032010><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=911023619-17032010><FONT face=Arial
size=2>Thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=911023619-17032010><FONT face=Arial
size=2>Sudheer.</FONT></SPAN></DIV>
<DIV><SPAN class=911023619-17032010><FONT face=Arial size=2>email me at - <A
href="mailto:kumar_sudheer@bah.com">kumar_sudheer@bah.com</A></FONT></SPAN></DIV></BODY></HTML>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic