php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #41266 pspell_new_config() fails to locate dictionary
Submitted: 2007-05-03 04:16 UTC Modified: 2007-06-05 01:00 UTC
From: mauron at maurtopia dot com Assigned:
Status: No Feedback Package: Pspell related
PHP Version: 4.4.7 OS: Windows
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
26 + 34 = ?
Subscribe to this entry?

 
 [2007-05-03 04:16 UTC] mauron at maurtopia dot com
Description:
------------
When attempting to create a dictionary with pspell_new_config(), an error is returned.

This is not an issue with with the pspell installation; both pspell_new() and pspell_new_personal() work as expected.

Reproduce code:
---------------
$pspell_config = pspell_config_create("en");
$pspell_link = pspell_new_config($pspell_config);

Expected result:
----------------
A new pspell link is created.

Actual result:
--------------
Warning: PSPELL couldn't open the dictionary. reason: No word lists can be found for the language "en_US".

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-05-11 12:03 UTC] tony2001@php.net
Does registry key HKEY_LOCAL_MACHINE\Software\Aspell exist and what is its value?
 [2007-05-19 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2007-05-22 00:07 UTC] mauron at maurtopia dot com
The key does exist, and the (default) value is "C:\Program Files\Aspell".

The "Path" value is "C:\Program Files\Aspell\bin".

Both of those match the directories in my installation.

I have confirmed the bug on PHP 4.4.7, and updated the version to reflect that.
 [2007-05-28 14:58 UTC] tony2001@php.net
C:\Program Files\Aspell\bin - is this directory readable to the web-server?
 [2007-06-05 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 20:01:28 2024 UTC