Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enchant.errors.DictNotFoundError: Dictionary for language 'zh_CN' could not be found #34

Open
felixzwl opened this issue Jul 11, 2021 · 0 comments

Comments

@felixzwl
Copy link

root@katana:/opt/katana/docker# pip install pyenchant
/usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
from cryptography.utils import int_from_bytes
/usr/lib/python3/dist-packages/secretstorage/util.py:19: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
from cryptography.utils import int_from_bytes
Requirement already satisfied: pyenchant in /usr/local/lib/python3.8/dist-packages/pyenchant-3.2.1-py3.8.egg (3.2.1)
root@katana:/opt/katana/docker# python3 -m katana -c /data/katana.ini -m monitor=/data/targets,outdir=/data/results
Traceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line 185, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/usr/lib/python3.8/runpy.py", line 144, in _get_module_details
return _get_module_details(pkg_main_name, error)
File "/usr/lib/python3.8/runpy.py", line 111, in _get_module_details
import(pkg_name)
File "/usr/local/lib/python3.8/dist-packages/katana-2.0-py3.8.egg/katana/init.py", line 7, in
import katana.manager
File "/usr/local/lib/python3.8/dist-packages/katana-2.0-py3.8.egg/katana/manager.py", line 18, in
from katana.target import Target, BadTarget
File "/usr/local/lib/python3.8/dist-packages/katana-2.0-py3.8.egg/katana/target.py", line 41, in
DICTIONARY = enchant.Dict()
File "/usr/local/lib/python3.8/dist-packages/pyenchant-3.2.1-py3.8.egg/enchant/init.py", line 542, in init
super().init()
File "/usr/local/lib/python3.8/dist-packages/pyenchant-3.2.1-py3.8.egg/enchant/init.py", line 144, in init
self._init_this()
File "/usr/local/lib/python3.8/dist-packages/pyenchant-3.2.1-py3.8.egg/enchant/init.py", line 549, in _init_this
this = self._broker._request_dict_data(self.tag)
File "/usr/local/lib/python3.8/dist-packages/pyenchant-3.2.1-py3.8.egg/enchant/init.py", line 287, in _request_dict_data
self._raise_error(e_str % (tag,), DictNotFoundError)
File "/usr/local/lib/python3.8/dist-packages/pyenchant-3.2.1-py3.8.egg/enchant/init.py", line 233, in _raise_error
raise eclass(default)
enchant.errors.DictNotFoundError: Dictionary for language 'zh_CN' could not be found
Please check https://pyenchant.github.io/pyenchant/ for details
root@katana:/opt/katana/docker#

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant