Aspell error with new 1.7

Aspell error with new 1.7

Brian Schmidt གིས-
Number of replies: 20
Hello,

I have aspell 0.60.4 installed on our server. I know the installation is fine, as we've been happily using it with our main Moodle (currently 1.6.3) installation for some time now.

However, I just tried it for the first time from a separate 1.7 installation. Now, I get an error (see attached error_msg.jpg file) when trying to use it.

Anyone seen or know what the issue might be?

(I do not see this from the 1.6.3 installation -- it still operates correctly)

EDIT: It seems like it might be somewhat related to this -- http://moodle.org/mod/forum/discuss.php?d=55234 -- however, that is a Windows installation and we're using Linux. But I'm still unclear why it works on 1.6.3 and not 1.7, so there must've been a change to the way the spellcheck is called, perhaps?

TIA,
Brian
Attachment error_msg.jpg
དཔྱ་སྙོམས་ཀྱི་སྐུགས་ཚུ།: -
In reply to Brian Schmidt

Re: Aspell error with new 1.7

Martin Dougiamas གིས-
Core developers གི་པར Documentation writers གི་པར Moodle HQ གི་པར Particularly helpful Moodlers གི་པར Plugin developers གི་པར Testers གི་པར
Are you using custom languages, perhaps?

Have you upgrade your site to Unicode?

aspell is working OK for me..
In reply to Martin Dougiamas

Re: Aspell error with new 1.7

Brian Schmidt གིས-
Hi Martin,

The only language packs that are on the 1.7 site are en and en_us, which were downloaded using Moodle's utility.

I haven't gone through any specific upgrade to Unicode, but I thought perhaps that happened automatically with a new installation? Is there something I'm missing? It seems to me like it was installed that way (Unicode), based on the attached image from phpMyAdmin.

Thanks,
Brian

Attachment db.gif
In reply to Brian Schmidt

Re: Aspell error with new 1.7

Brian Schmidt གིས-
Here's something interesting (I think?). On the 1.6.3 installation, which has been upgraded from several previous versions of Moodle and works fine with aspell (and was migrated to Unicode when it was upgraded to 1.6) shows something slightly different for its settings. The 1.7 shows utf8_unicode_ci and my 1.6.3 shows utf8_general_ci. Could this have anything to do with it? I'm not much of a database person, so if this is part of the problem, any way to resolve it?

Here's what that one looks like...


Attachment db2.gif
In reply to Martin Dougiamas

Re: Aspell error with new 1.7

Brian Schmidt གིས-
I have now tried to switch between both 'en' and 'en_US' for the site and user profiles, but I still get that same error message -- which just has "" in that language selection. Is there a reason why it's not picking up which language is selected and that part is empty?
In reply to Brian Schmidt

Re: Aspell error with new 1.7

Dirk Weller གིས-
Have you solved this problem by now? If yes, would you please post your solution? I have exactly the same error (Moodle 1.7+ Build 2006101007) that you have but know too little in order to solve it by experimenting ...
In reply to Dirk Weller

Re: Aspell error with new 1.7

Brian Schmidt གིས-
Unfortunately, I have not been able to figure out what the problem is yet. I filed a bug report on it (http://tracker.moodle.org/browse/MDL-7518) a couple of days ago, but have so far not had anyone comment or look at it. Feel free to add your comments/vote for the issue and maybe it'll get bumped up in priority.
In reply to Dirk Weller

Re: Aspell error with new 1.7

Dirk Weller གིས-
Updating to Moodle 1.7 (Build 2006101009) helped! Aspell is working again. Thank you for your help.
In reply to Dirk Weller

Re: Aspell error with new 1.7

Larry Elchuck གིས-
I'm running this build (Build 2006101009) on a new OS X install (the latest preconfigured MAMP version). I installed Cocoaspell and have the spell checker icon showing up ok. By clicking on the icon, I get:
Error executing `'/usr/local/bin/aspell' -a -H --lang=en --encoding=utf-8 < /Applications/MAMP/data/moodle/aspell_data_h0W9Nl 2>&1`
Error: No word lists can be found for the language "en".

I did select the English in the Cocoaspell preferences.

How might I determine where the dictionary files are located and how to point aspell to it within moodle. (I manually entered and set the editordictionary variable to en but that did not resolved the issue for me.)

thanks in advance
In reply to Larry Elchuck

Re: Aspell error with new 1.7

Tony Hursh གིས-
Larry, I haven't used Cocoaspell, but regular aspell seems to work fine under OS X.

I wrote some instructions for installing it here.

In reply to Tony Hursh

Re: Aspell error with new 1.7

Larry Elchuck གིས-
Once I got Xcode Tools installed and rebooted the computer, your instructions were flawless.

Thanks for your help Tony

larry
In reply to Martin Dougiamas

Re: Aspell error with new 1.7

Jeff Wood གིས-
I too have this problem and have upgraded to Unicode (from version 1.6).

No solution yet.

Jeff
In reply to Jeff Wood

Re: Aspell error with new 1.7

Jeff Wood གིས-
Update - I contacted my hosting company and they have done everything they could to fix the problem... but no luck.

I'll check out moodle bugs

Jeff
In reply to Jeff Wood

Re: Aspell error with new 1.7

Tobias Neumaier གིས-

Hi,

I've got the same problem. I've installed moodle in version 1.7 and aspell in version 0.60 on a SuSE 10.0 Server.

On CommandLine aspell runs correctly. I can also choose another dictionary. But in associate with moodle it won't opperate.

I'm gone to become desperate....   sad

Has anyone fixed the problem until now?

Thanks ahead and sunny greetings from Munich

Attachment moodle.JPG
In reply to Tobias Neumaier

Re: Aspell error with new 1.7

Brian Schmidt གིས-
I'm still experiencing this problem, even after upgrading to the latest 1.7+. I thought it might be resolved with MDL-7762, but I still have the issue. I would encourage you to go to the bug report I opened for this (MDL-7518) and vote for it and add your comments. I have yet to even see a reply/comment made by the person who's been assigned to it, so I don't know that anyone's even paying attention to it. Maybe more votes will change that.
In reply to Brian Schmidt

Aspell multilanguage issue with new 1.7

Larry Elchuck གིས-
I have aspell working fine in English on a Mac OS X MAMP install.

I installed a second language pack in Moodle and downloaded the aspell dictionary as well.
When logged in as the second language test user, I can see no way to select the second language dictionary.

Has anyone resolved this?

thanks
larry