Getting this error when trying to use spell check 'No suitable dictionary found installed on your server!'
Running Linux, Moodle 1.4, Aspel Version 3.1.20 (but really Aspell .33.7.1 alpha)
Works in command line, but not in Moodle.
Help would be appreciated
Error message from spell check - 'No suitable dictionary found installed on your server!'
回帖数:24
回复Peter Cameron
Re: Error message from spell check - 'No suitable dictionary found installed on your server!'
Your aspell version seems to be too old! You need version 0.5 or better
http://aspell.sourceforge.net/
http://aspell.sourceforge.net/
回复Janne Mikkonen
Re: Error message from spell check - 'No suitable dictionary found installed on your server!'
W Page -
回复W Page
Re: Error message from spell check - 'No suitable dictionary found installed on your server!'
回复Janne Mikkonen
Re: Error message from spell check - 'No suitable dictionary found installed on your server!'
W Page -
Hi Janne!
This is what happened,
WP1
This is what happened,
- Went to aspell subdirectory cd aspell then wrote the command
aspell dump dicts.
This was the result,
u12345678:~/aspell > aspell dump dicts
bash: aspell: command not found
u12345678:~/aspell > - Tried the following command directly from the prompt.
./aspell/aspell dump dicts.
This is what happened,
u12345678:~ > ./aspell/aspell dump dicts
bash: ./aspell/aspell: No such file or directory
u12345678:~ >
WP1
回复W Page
Re: Error message from spell check - 'No suitable dictionary found installed on your server!'
回复Janne Mikkonen
Re: Error message from spell check - 'No suitable dictionary found installed on your server!'
W Page -
Hi Janne!
Below is the result of your latest suggestion. I only get "aspell:" back.
u12345678:~ > whereis aspell
aspell:
u35879489:~ >
I installed "aspell-0.50.5.tar.gz" and the English language pack "aspell5-en-6.0-0.tar.bz2". This was the language pack recommended for Aspell .5 by Kevin Atkinson who is the Maintainer of GNU Aspell.
I have placed the readout from SSH from mostly "cd" commands with "aspell".
You might see something to explain why the speller is not working on my sites.
WP1
u12345678:~ > dir
drwxr-xr-x 17 u1234567 ftpusers 4096 Oct 4 13:01 aspell
drwxr-xr-x 3 u1234567 ftpusers 4096 Oct 3 23:50 aspell5-en-6.0-0
u12345678:~/aspell >
u12345678:~ > cd aspell
u12345678:~/aspell > dir
total 1664
-rw-r--r-- 1 u1234567 ftpusers 26430 Jul 29 2002 COPYING
-rw-r--r-- 1 u1234567 ftpusers 6302 Feb 9 2004 ChangeLog
-rw-r--r-- 1 u1234567 ftpusers 18366 Oct 3 23:22 Makefile
-rw-r--r-- 1 u1234567 ftpusers 225 Feb 10 2004 Makefile.am
-rw-r--r-- 1 u1234567 ftpusers 18413 Feb 10 2004 Makefile.in
-rw-r--r-- 1 u1234567 ftpusers 13192 Feb 10 2004 README
-rw-r--r-- 1 u1234567 ftpusers 2 Aug 4 2002 TODO
-rw-r--r-- 1 u1234567 ftpusers 243829 Feb 10 2004 aclocal.m4
-rw-r--r-- 1 u1234567 ftpusers 0 Oct 4 13:01 aspell
drwxr-xr-x 3 u1234567 ftpusers 4096 Oct 3 23:22 auto
drwxr-xr-x 2 u1234567 ftpusers 4096 Oct 3 23:25 bin
drwxr-xr-x 4 u1234567 ftpusers 4096 Oct 3 23:23 common
-rwxr-xr-x 1 u1234567 ftpusers 43019 Jan 25 2004 config.guess
-rw-r--r-- 1 u1234567 ftpusers 29358 Oct 3 23:22 config.log
-rwxr-xr-x 1 u1234567 ftpusers 40421 Oct 3 23:22 config.status
-rwxr-xr-x 1 u1234567 ftpusers 30925 Jan 25 2004 config.sub
-rwxr-xr-- 1 u1234567 ftpusers 686531 Feb 10 2004 configure
-rw-r--r-- 1 u1234567 ftpusers 9106 Feb 10 2004 configure.ac
drwxr-xr-x 2 u1234567 ftpusers 4096 Oct 3 23:22 data
-rwxr-xr-- 1 u1234567 ftpusers 12123 Aug 8 2002 depcomp
drwxr-xr-x 4 u1234567 ftpusers 4096 Oct 3 23:25 examples
drwxr-xr-x 3 u1234567 ftpusers 4096 Oct 3 23:25 include
-rwxr-xr-- 1 u1234567 ftpusers 5569 Aug 8 2002 install-sh
drwxr-xr-x 3 u1234567 ftpusers 4096 Oct 3 23:22 interfaces
drwxr-xr-x 5 u1234567 ftpusers 4096 Oct 3 23:35 lib
-rwxr-xr-x 1 u1234567 ftpusers 202499 Oct 3 23:22 libtool
-rw-r--r-- 1 u1234567 ftpusers 182734 Jan 25 2004 ltmain.sh
drwxr-xr-x 6 u1234567 ftpusers 4096 Oct 3 23:22 manual
-rwxr-xr-- 1 u1234567 ftpusers 10270 Aug 8 2002 missing
-rwxr-xr-- 1 u1234567 ftpusers 1801 Aug 8 2002 mkinstalldirs
drwxr-xr-x 5 u1234567 ftpusers 4096 Oct 3 23:22 modules
drwxr-xr-x 4 u1234567 ftpusers 4096 Oct 3 23:25 prog
drwxr-xr-x 2 u1234567 ftpusers 4096 Oct 3 23:24 scripts
drwxr-xr-x 4 u1234567 ftpusers 4096 Oct 3 23:25 share
drwxr-xr-x 2 u1234567 ftpusers 4096 Feb 10 2004 suncc
drwxr-xr-x 3 u1234567 ftpusers 4096 Feb 10 2004 win32
u12345678:~/aspell >
u12345678:~/aspell > cd bin
u12345678:~/aspell/bin > dir
total 1288
-rwxr-xr-x 1 u1234567 ftpusers 1281063 Oct 3 23:25 aspell
-rwxr-xr-x 1 u1234567 ftpusers 2044 Oct 3 23:25 aspell-import
-rwxr-xr-x 1 u1234567 ftpusers 433 Oct 3 23:25 pspell-config
-rwxr-xr-x 1 u1234567 ftpusers 92 Oct 3 23:25 run-with-aspell
-rwxr-xr-x 1 u1234567 ftpusers 16943 Oct 3 23:25 word-list-compress
u12345678:~/aspell >
Below is the result of your latest suggestion. I only get "aspell:" back.
u12345678:~ > whereis aspell
aspell:
u35879489:~ >
I installed "aspell-0.50.5.tar.gz" and the English language pack "aspell5-en-6.0-0.tar.bz2". This was the language pack recommended for Aspell .5 by Kevin Atkinson who is the Maintainer of GNU Aspell.
I have placed the readout from SSH from mostly "cd" commands with "aspell".
- The first output is from the directory of the web site so you can see
the "aspell" directory is there. I went through the "./configure
- make - make install" inside the "aspell" directory and all went
fine.
- The second run displays the contents inside of the "aspell"
directory.
- The third run displays the contents inside of the "aspell/bin" directory.
You might see something to explain why the speller is not working on my sites.
WP1
u12345678:~ > dir
drwxr-xr-x 17 u1234567 ftpusers 4096 Oct 4 13:01 aspell
drwxr-xr-x 3 u1234567 ftpusers 4096 Oct 3 23:50 aspell5-en-6.0-0
u12345678:~/aspell >
u12345678:~ > cd aspell
u12345678:~/aspell > dir
total 1664
-rw-r--r-- 1 u1234567 ftpusers 26430 Jul 29 2002 COPYING
-rw-r--r-- 1 u1234567 ftpusers 6302 Feb 9 2004 ChangeLog
-rw-r--r-- 1 u1234567 ftpusers 18366 Oct 3 23:22 Makefile
-rw-r--r-- 1 u1234567 ftpusers 225 Feb 10 2004 Makefile.am
-rw-r--r-- 1 u1234567 ftpusers 18413 Feb 10 2004 Makefile.in
-rw-r--r-- 1 u1234567 ftpusers 13192 Feb 10 2004 README
-rw-r--r-- 1 u1234567 ftpusers 2 Aug 4 2002 TODO
-rw-r--r-- 1 u1234567 ftpusers 243829 Feb 10 2004 aclocal.m4
-rw-r--r-- 1 u1234567 ftpusers 0 Oct 4 13:01 aspell
drwxr-xr-x 3 u1234567 ftpusers 4096 Oct 3 23:22 auto
drwxr-xr-x 2 u1234567 ftpusers 4096 Oct 3 23:25 bin
drwxr-xr-x 4 u1234567 ftpusers 4096 Oct 3 23:23 common
-rwxr-xr-x 1 u1234567 ftpusers 43019 Jan 25 2004 config.guess
-rw-r--r-- 1 u1234567 ftpusers 29358 Oct 3 23:22 config.log
-rwxr-xr-x 1 u1234567 ftpusers 40421 Oct 3 23:22 config.status
-rwxr-xr-x 1 u1234567 ftpusers 30925 Jan 25 2004 config.sub
-rwxr-xr-- 1 u1234567 ftpusers 686531 Feb 10 2004 configure
-rw-r--r-- 1 u1234567 ftpusers 9106 Feb 10 2004 configure.ac
drwxr-xr-x 2 u1234567 ftpusers 4096 Oct 3 23:22 data
-rwxr-xr-- 1 u1234567 ftpusers 12123 Aug 8 2002 depcomp
drwxr-xr-x 4 u1234567 ftpusers 4096 Oct 3 23:25 examples
drwxr-xr-x 3 u1234567 ftpusers 4096 Oct 3 23:25 include
-rwxr-xr-- 1 u1234567 ftpusers 5569 Aug 8 2002 install-sh
drwxr-xr-x 3 u1234567 ftpusers 4096 Oct 3 23:22 interfaces
drwxr-xr-x 5 u1234567 ftpusers 4096 Oct 3 23:35 lib
-rwxr-xr-x 1 u1234567 ftpusers 202499 Oct 3 23:22 libtool
-rw-r--r-- 1 u1234567 ftpusers 182734 Jan 25 2004 ltmain.sh
drwxr-xr-x 6 u1234567 ftpusers 4096 Oct 3 23:22 manual
-rwxr-xr-- 1 u1234567 ftpusers 10270 Aug 8 2002 missing
-rwxr-xr-- 1 u1234567 ftpusers 1801 Aug 8 2002 mkinstalldirs
drwxr-xr-x 5 u1234567 ftpusers 4096 Oct 3 23:22 modules
drwxr-xr-x 4 u1234567 ftpusers 4096 Oct 3 23:25 prog
drwxr-xr-x 2 u1234567 ftpusers 4096 Oct 3 23:24 scripts
drwxr-xr-x 4 u1234567 ftpusers 4096 Oct 3 23:25 share
drwxr-xr-x 2 u1234567 ftpusers 4096 Feb 10 2004 suncc
drwxr-xr-x 3 u1234567 ftpusers 4096 Feb 10 2004 win32
u12345678:~/aspell >
u12345678:~/aspell > cd bin
u12345678:~/aspell/bin > dir
total 1288
-rwxr-xr-x 1 u1234567 ftpusers 1281063 Oct 3 23:25 aspell
-rwxr-xr-x 1 u1234567 ftpusers 2044 Oct 3 23:25 aspell-import
-rwxr-xr-x 1 u1234567 ftpusers 433 Oct 3 23:25 pspell-config
-rwxr-xr-x 1 u1234567 ftpusers 92 Oct 3 23:25 run-with-aspell
-rwxr-xr-x 1 u1234567 ftpusers 16943 Oct 3 23:25 word-list-compress
u12345678:~/aspell >
回复W Page
Re: Error message from spell check - 'No suitable dictionary found installed on your server!'
Yep! If installing went well without any error messages, the only problem that you have is that aspell is not in your PATH invironment variable. You need to supply full path to the aspell executable (binary) eg. /path/to/aspell/bin
When you write aspell dump dicts you either must be in the ~/aspell/bin directory or provide appropriate path to aspell binary. If you're running this command in the bin directory then you'll need to provide an extra dot and slash before the command: ./aspell dump dicts this tells to bash to find this executable in this current directory.
Your Moodle configuration variable should also point to that bin directory.
I really do hope this isn't all that confusing
- Janne -
When you write aspell dump dicts you either must be in the ~/aspell/bin directory or provide appropriate path to aspell binary. If you're running this command in the bin directory then you'll need to provide an extra dot and slash before the command: ./aspell dump dicts this tells to bash to find this executable in this current directory.
Your Moodle configuration variable should also point to that bin directory.
I really do hope this isn't all that confusing
- Janne -
回复Janne Mikkonen
Re: Error message from spell check - 'No suitable dictionary found installed on your server!'
W Page -
Hi Janne!
Two things.
THING ONE
I went into the "aspell/bin" and got the following,
u12345678:~ > cd aspell
u12345678:~/aspell > cd bin
u12345678:~/aspell/bin > ./aspell dump dicts
en
en-variant_0
en-variant_1
en-variant_2
en-w_accents
en-wo_accents
en_CA
en_CA-w-accents
en_CA-w_accents
en_CA-wo_accents
en_GB
en_GB-ise
en_GB-ise-w_accents
en_GB-ise-wo_accents
en_GB-ize
en_GB-ize-w_accents
en_GB-ize-wo_accents
en_GB-w-accents
en_GB-w_accents
en_GB-wo_accents
en_US
en_US-w-accents
en_US-w_accents
en_US-wo_accents
u12345678:~/aspell/bin >
THING TWO
This is an example of how my "config" file looks.
<?php /// Moodle Configuration File
unset($CFG);
$CFG->dbtype = 'mysql';
$CFG->dbhost = 'db99.sillysal.net';
$CFG->dbname = 'db12345678';
$CFG->dbuser = 'dbo12345678';
$CFG->dbpass = 'ZzXxCcVv';
$CFG->dbpersist = false;
$CFG->prefix = 'mdl_';
$CFG->wwwroot = 'http://s222222.onlinehome.us/moodle';
$CFG->dirroot = '/homepages/22/d12345678/htdocs/moodle';
$CFG->dataroot = '/homepages/22/d12345678/htdocs/moodledata';
$CFG->directorypermissions = 0777;
require_once("$CFG->dirroot/lib/setup.php");
// MAKE SURE WHEN YOU EDIT THIS FILE THAT THERE ARE NO SPACES, BLANK LINES,
// RETURNS, OR ANYTHING ELSE AFTER THE TWO CHARACTERS ON THE NEXT LINE.
?>
Two things.
THING ONE
I went into the "aspell/bin" and got the following,
u12345678:~ > cd aspell
u12345678:~/aspell > cd bin
u12345678:~/aspell/bin > ./aspell dump dicts
en
en-variant_0
en-variant_1
en-variant_2
en-w_accents
en-wo_accents
en_CA
en_CA-w-accents
en_CA-w_accents
en_CA-wo_accents
en_GB
en_GB-ise
en_GB-ise-w_accents
en_GB-ise-wo_accents
en_GB-ize
en_GB-ize-w_accents
en_GB-ize-wo_accents
en_GB-w-accents
en_GB-w_accents
en_GB-wo_accents
en_US
en_US-w-accents
en_US-w_accents
en_US-wo_accents
u12345678:~/aspell/bin >
THING TWO
This is an example of how my "config" file looks.
- Where should I make the changes for the speller?
- What code should I use?
<?php /// Moodle Configuration File
unset($CFG);
$CFG->dbtype = 'mysql';
$CFG->dbhost = 'db99.sillysal.net';
$CFG->dbname = 'db12345678';
$CFG->dbuser = 'dbo12345678';
$CFG->dbpass = 'ZzXxCcVv';
$CFG->dbpersist = false;
$CFG->prefix = 'mdl_';
$CFG->wwwroot = 'http://s222222.onlinehome.us/moodle';
$CFG->dirroot = '/homepages/22/d12345678/htdocs/moodle';
$CFG->dataroot = '/homepages/22/d12345678/htdocs/moodledata';
$CFG->directorypermissions = 0777;
require_once("$CFG->dirroot/lib/setup.php");
// MAKE SURE WHEN YOU EDIT THIS FILE THAT THERE ARE NO SPACES, BLANK LINES,
// RETURNS, OR ANYTHING ELSE AFTER THE TWO CHARACTERS ON THE NEXT LINE.
?>
回复W Page
Re: Error message from spell check - 'No suitable dictionary found installed on your server!'
回复Janne Mikkonen
Re: Error message from spell check - 'No suitable dictionary found installed on your server!'
W Page -
回复W Page
Re: Error message from spell check - 'No suitable dictionary found installed on your server!'
回复Peter Cameron
Re: Error message from spell check - 'No suitable dictionary found installed on your server!'
W Page -
Hi Janne & Peter,
I had a similar problem and I have the most recent stable Aspell installed. See the following,
Need Speller Icon and Recognition of dictionary - On Linux
http://moodle.org/mod/forum/discuss.php?d=11994
Re: Spell ckecker release 2 Now multiple dictionaries allowed
http://moodle.org/mod/forum/discuss.php?d=11103&parent=57220
WP1
I had a similar problem and I have the most recent stable Aspell installed. See the following,
Need Speller Icon and Recognition of dictionary - On Linux
http://moodle.org/mod/forum/discuss.php?d=11994
Re: Spell ckecker release 2 Now multiple dictionaries allowed
http://moodle.org/mod/forum/discuss.php?d=11103&parent=57220
WP1
回复W Page
Re: Error message from spell check - 'No suitable dictionary found installed on your server!'
回复Janne Mikkonen
Re: Error message from spell check - 'No suitable dictionary found installed on your server!'
回复Janne Mikkonen
Re: Error message from spell check - 'No suitable dictionary found installed on your server!'
W Page -
Hi Janne!
I just updated the v1.5 site I have the speller on. I got the speller button but the dictionary is still missing on the "popup". I think it may have been too soon after the changes you submitted to CVS. Will update again later this evening (past 6 hours) and see what happpens.
WP1
I just updated the v1.5 site I have the speller on. I got the speller button but the dictionary is still missing on the "popup". I think it may have been too soon after the changes you submitted to CVS. Will update again later this evening (past 6 hours) and see what happpens.
WP1
回复W Page
Re: Error message from spell check - 'No suitable dictionary found installed on your server!'
回复W Page
Re: Error message from spell check - 'No suitable dictionary found installed on your server!'
回复Janne Mikkonen
Re: Error message from spell check - 'No suitable dictionary found installed on your server!'
W Page -
回复W Page
Re: Error message from spell check - 'No suitable dictionary found installed on your server!'
回复Janne Mikkonen
Re: Error message from spell check - 'No suitable dictionary found installed on your server!'
I have followed this discussion, but still have problems "No suitable.."
aspell dump dicts reports
- en
- en_CA
- en_CA-w-accents
- en_GB
- en_GB-w-accents
- en_US
- en_US-w-accents
whereis aspell reports
aspell: /usr/bin/aspell /usr/lib/aspell/ /usr/local/bin/aspell /usr/local/lib/aspell / usr/share/aspell
I am using 1.5 dev 2004091700 on linux machine
Any ideas??
Jeff
PS when I change to $CFG->aspellpath = '/usr/local/bin/aspell'; // *nix in the moodle config.php I no longer get "no suitablke" but no misspelled words are caught
回复Peter Cameron