Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#22239 - python2-pyenchant can not load packages

Attached to Project: Community Packages
Opened by sunqiang (sunqiang) - Tuesday, 28 December 2010, 14:07 GMT
Last edited by Ionut Biru (wonder) - Tuesday, 28 December 2010, 15:10 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
in Python(2.7) shell:

import enchant
enchant.list_languages()


enchant.list_languages() should return something like "['de_DE', 'en_AU', 'en_GB', 'en_US', 'fr_FR']" but it only return a "[]".
so pyenchant cannot check word without load dict.
Additional info:
* package version(s)
1.6.3-4
* config and/or log files etc.
None

Steps to reproduce:
This task depends upon

Closed by  Ionut Biru (wonder)
Tuesday, 28 December 2010, 15:10 GMT
Reason for closing:  Not a bug
Comment by Ionut Biru (wonder) - Tuesday, 28 December 2010, 14:42 GMT
Python 2.7.1 (r271:86832, Dec 20 2010, 11:59:28)
[GCC 4.5.1 20101125 (prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import enchant
>>> enchant.list_languages()
['en_US', 'ro_RO', 'en', 'en_CA', 'en_GB', 'ro']
>>>


works for me. Are you sure you got dictionaries installed?
Comment by sunqiang (sunqiang) - Tuesday, 28 December 2010, 15:09 GMT
thanks for the quick response.
sudo find / -name "en_US.dic" returns nothing.
sorry for the mis alarm, though I still don't know how to install them
Comment by Ionut Biru (wonder) - Tuesday, 28 December 2010, 15:10 GMT
aspell-foo or hunspell-foo

Loading...