Spell Check not working

Post Reply
neetu
Posts: 9
Joined: Wed Aug 22, 2007 1:07 am

Spell Check not working

Post by neetu »

Hello

I m not able to spell check the words.I got the following error

Could not create aspell dictionary 1: 118 <EXEC> command /usr/local/morph3/etc/aspell/bin/aspell returned exit code 1 Error: The file "/usr/local/morph3/etc/aspell/share/aspell/fi.dat" is not in the proper format. The required field "name" is missing.

When i checked the fi.dat file here are its content

name fi
affix fi
affix-compress true
special - -** ' -*- : -*-
data-encoding UTF-8

Is something wrong in my dowalk script?Plz help


Thanks
User avatar
Kai
Site Admin
Posts: 1272
Joined: Tue Apr 25, 2000 1:27 pm

Spell Check not working

Post by Kai »

The aspell version changed last year; this could be a conflict between versions. Please provide the following:

The output of: /usr/local/morph3/bin/texis -version
The output of: /usr/local/morph3/etc/aspell/bin/aspell -v
The output of: grep Id: /usr/local/morph3/texis/scripts/webinator/dowalk

Also, have you edited the dowalk or other scripts, especially the `lang' argument to <mkAspellDict>?
neetu
Posts: 9
Joined: Wed Aug 22, 2007 1:07 am

Spell Check not working

Post by neetu »

Here are my o/p for all the asked questions

The output of: /usr/local/morph3/bin/texis -version is:

Texis Web Script (Vortex) Copyright (c) 1996-2005 Thunderstone - EPI, Inc.
Commercial Version 5.01.1132601918 20051121 (i686-unknown-linux2.4.9-64-32)


The output of: /usr/local/morph3/etc/aspell/bin/aspell -v is:
@(#) International Ispell Version 3.1.20 (but really Aspell 0.50.3)


The output of: grep Id: /usr/local/morph3/texis/scripts/webinator/dowalk is:

$Id: dowalk.src,v 2.464 2006/11/13 19:27:19 jason Exp $
$Id: webinatoradmin.src,v 2.376 2006/11/16 15:11:02 kai Exp $
Yes i changed the `lang' argument to <mkAspellDict>to en .earlier it was fi.but on changing to fi it didn't work then i put back fi in the lang and created a new profile .
Please help

Thanks
User avatar
Kai
Site Admin
Posts: 1272
Joined: Tue Apr 25, 2000 1:27 pm

Spell Check not working

Post by Kai »

That version of aspell (0.50.3) does not fully support languages other than `en', nor was it shipped with `fi.dat'. aspell 0.60.4 does, and contained `fi.dat'. It appears different versions were mixed. You should use a clean install of Webinator from 2006-11-22 or later, which contains aspell 0.60.4.

If you cannot re-install, but do have access to another install that reports 0.60.4 for aspell -v, you *might* be able to replace the 0.50.3 aspell.exe (save it) with the 0.60.4 aspell.exe and get it to work. However, there may still be other problems after that; it is best to re-install.

Also, make sure that the `lang="XX"' argument in dowalk:<mkAspellDict> is the same as in search:<calcspelling>: it defaults to `"en"'; if you change it, change it in both locations.
neetu
Posts: 9
Joined: Wed Aug 22, 2007 1:07 am

Spell Check not working

Post by neetu »

I have installed the webinator again.I created a new profile and get the below errors in my vortex.log file
100 2007-09-24 07:01:20 /usr/local/morph3/texis/scripts/webinator/dowalk:2125: User PUBLIC has been added without a password.
015 2007-09-24 07:01:20 /usr/local/morph3/texis/scripts/webinator/dowalk:2191: Line 6: syntax error at ","
000 2007-09-24 07:01:20 /usr/local/morph3/texis/scripts/webinator/dowalk:2191: SQLPrepare() failed with -1 in the function prepntexis
175 2007-09-24 07:01:20 /usr/local/morph3/texis/scripts/webinator/dowalk:2211: Table html not found in data dictionary in the function opendbtbl
000 2007-09-24 07:01:20 /usr/local/morph3/texis/scripts/webinator/dowalk:2211: SQLPrepare() failed with -1 in the function prepntexis
175 2007-09-24 07:01:20 /usr/local/morph3/texis/scripts/webinator/dowalk:2212: Table html not found in data dictionary in the function opendbtbl
000 2007-09-24 07:01:20 /usr/local/morph3/texis/scripts/webinator/dowalk:2212: SQLPrepare() failed with -1 in the function prepntexis
175 2007-09-24 07:01:20 /usr/local/morph3/texis/scripts/webinator/dowalk:2213: Table html not found in data dictionary in the function opendbtbl
000 2007-09-24 07:01:20 /usr/local/morph3/texis/scripts/webinator/dowalk:2213: SQLPrepare() failed with -1 in the function prepntexis
175 2007-09-24 07:01:20 /usr/local/morph3/texis/scripts/webinator/dowalk:2226: Table html not found in data dictionary in the function opendbtbl
Plz help
Thank you
Neetu
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Spell Check not working

Post by mark »

Did you modify the dowalk script? Does the dowalk file in /usr/local/morph3/texis/scripts match the one in /usr/local/morph3/webinator?

Try downloading the latest dowalk and search from the website.
Post Reply