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!'
написао/ла Peter Cameron -
Број одговора: 24
У одговору на Peter Cameron
Re: Error message from spell check - 'No suitable dictionary found installed on your server!'
написао/ла Janne Mikkonen -
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 -
Hi Janne!
I finally got a chance to place the following at the command line in SSH,
aspell dump dicts
and got back
bash: ./aspell: is a directory
I know I have installed Aspell with the "en" dictionary.
WP1
I finally got a chance to place the following at the command line in SSH,
aspell dump dicts
and got back
bash: ./aspell: is a directory
I know I have installed Aspell with the "en" dictionary.
WP1
У одговору на W Page
Re: Error message from spell check - 'No suitable dictionary found installed on your server!'
написао/ла Janne Mikkonen -
Ok! So your aspell is installed underneath your home directory.
Try command ./aspell/aspell dump dicts
or first go to aspell subdirectory cd aspell then write command aspell dump dicts
- Janne -
Try command ./aspell/aspell dump dicts
or first go to aspell subdirectory cd aspell then write command aspell dump dicts
- Janne -
У одговору на 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 -
Hi WP1
It seems like you don't have aspell installed on your server!?! To veryfy this write command: whereis aspell
If nothing comes up (no path), then aspell isn't there
If you're using hosted server, then you must ask your server admin to install it.
- Janne -
It seems like you don't have aspell installed on your server!?! To veryfy this write command: whereis aspell
If nothing comes up (no path), then aspell isn't there
If you're using hosted server, then you must ask your server admin to install it.
- Janne -
У одговору на 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!'
написао/ла Janne Mikkonen -
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 -
Put the path to the aspell binary let say right above
$CFG->directorypermissions:
$CFG->aspellpath = '/path/to/aspell/bin/aspell'
That should do it...
- Janne -
$CFG->directorypermissions:
$CFG->aspellpath = '/path/to/aspell/bin/aspell'
That should do it...
- Janne -
У одговору на Janne Mikkonen
Re: Error message from spell check - 'No suitable dictionary found installed on your server!'
написао/ла W Page -
Hi Janne!
I made the changes in "Config.php".
All is now very happy in WP1 Speller land.
I have a few "How Tos" to write. I will add this to the list for 1and1.com users. It might also help some other folks using shared hosting with SSH access.
WP1
I made the changes in "Config.php".
All is now very happy in WP1 Speller land.
I have a few "How Tos" to write. I will add this to the list for 1and1.com users. It might also help some other folks using shared hosting with SSH access.
WP1
У одговору на W Page
Re: Error message from spell check - 'No suitable dictionary found installed on your server!'
написао/ла Janne Mikkonen -
У одговору на 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 -
I'm an idiot, that's what only thing wrong
If you check direrectory names in /moodle/lang you'll see they all are in lower case and command aspell dump dicts gives a list like this:
en
en_US
and so on...
Now en_us is not the same as en_US
Like I said, I'm an idiot...
If you check direrectory names in /moodle/lang you'll see they all are in lower case and command aspell dump dicts gives a list like this:
en
en_US
and so on...
Now en_us is not the same as en_US
Like I said, I'm an idiot...
У одговору на Janne Mikkonen
Re: Error message from spell check - 'No suitable dictionary found installed on your server!'
написао/ла Janne Mikkonen -
I just made fix for this and it's in cvs (use stable or trunk, same files). Check it out if it works.
У одговору на 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
У одговору на Janne Mikkonen
Re: Error message from spell check - 'No suitable dictionary found installed on your server!'
написао/ла W Page -
Hi Janne!
The most recent CVS version of v1.5 I have been able to update to is 2004090600. Will post in Installation Problems forum to see if something is wrong.
WP1
The most recent CVS version of v1.5 I have been able to update to is 2004090600. Will post in Installation Problems forum to see if something is wrong.
WP1
У одговору на Janne Mikkonen
Re: Error message from spell check - 'No suitable dictionary found installed on your server!'
написао/ла W Page -
Hi Janne!
I still do not think CVS is working. I am still only able to update to version 2004090600.
WP1
I still do not think CVS is working. I am still only able to update to version 2004090600.
WP1
У одговору на W Page
Re: Error message from spell check - 'No suitable dictionary found installed on your server!'
написао/ла Martin Dougiamas -
That date version is updated manually (and only occasionally), it's not necessarily always the same as the current day.
У одговору на W Page
Re: Error message from spell check - 'No suitable dictionary found installed on your server!'
написао/ла Janne Mikkonen -
Check your spellchecker.php's (/moodle/lib/speller/server-scripts/spellchecker.php) revision number. If it's 1.3 then it's up to date.
- Janne -
- Janne -
У одговору на Janne Mikkonen
Re: Error message from spell check - 'No suitable dictionary found installed on your server!'
написао/ла W Page -
Hi Janne!
I do have v1.3 of "spellchecker.php" in the path you indicated but the spellchecker still does not recognize the dictionary. I will reinstall the dictionary this evening and see if the script recognizes it after that.
WP1
I do have v1.3 of "spellchecker.php" in the path you indicated but the spellchecker still does not recognize the dictionary. I will reinstall the dictionary this evening and see if the script recognizes it after that.
WP1
У одговору на W Page
Re: Error message from spell check - 'No suitable dictionary found installed on your server!'
написао/ла Janne Mikkonen -
Could you also check from commandline what dictionaries do you have installed aspell dump dicts and put that list in here.
У одговору на Janne Mikkonen
Re: Error message from spell check - 'No suitable dictionary found installed on your server!'
написао/ла W Page -
Hi Janne!
Right now I am away from my computer [which has the Putty program on it / I cannot use it here]. I will check this evening.
WP1
У одговору на Janne Mikkonen
Re: Error message from spell check - 'No suitable dictionary found installed on your server!'
написао/ла Jeff Wood -
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
Re: Error message from spell check - 'No suitable dictionary found installed on your server!'
написао/ла Peter Cameron -
Finally solved my problem.
- Upgraded to Aspell 0.6
- Installed new dictionary
- Changed path to $CFG->aspellpath = '/usr/local/bin/aspell';