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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mauron at maurtopia dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Thu Jan 02 12:01:29 2025 UTC