mrzyx@mrzyx-laptop: ~ % LC_MESSAGES=C sudo pip install pygtkspellcheck
zsh: correct 'pip' to '.pip' [nyae]? n
Downloading/unpacking pygtkspellcheck
Downloading pygtkspellcheck-3.0a.tar.gz (152Kb): 152Kb downloaded
Running setup.py egg_info for package pygtkspellcheck
Traceback (most recent call last):
File "<string>", line 14, in <module>
File "/home/mrzyx/build/pygtkspellcheck/setup.py", line 23, in <module>
import gtkspellcheck as m
File "./src/gtkspellcheck/__init__.py", line 55, in <module>
from gtkspellcheck.spellcheck import SpellChecker
File "./src/gtkspellcheck/spellcheck.py", line 32, in <module>
from pylocales import code_to_name
File "./src/pylocales/__init__.py", line 55, in <module>
from pylocales.locales import *
File "./src/pylocales/locales.py", line 37, in <module>
_translator_language = gettext.translation('iso_639').gettext
File "/usr/lib/python3.2/gettext.py", line 401, in translation
raise IOError(ENOENT, 'No translation file found for domain', domain)
IOError: [Errno 2] No translation file found for domain: 'iso_639'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 14, in <module>
File "/home/mrzyx/build/pygtkspellcheck/setup.py", line 23, in <module>
import gtkspellcheck as m
File "./src/gtkspellcheck/__init__.py", line 55, in <module>
from gtkspellcheck.spellcheck import SpellChecker
File "./src/gtkspellcheck/spellcheck.py", line 32, in <module>
from pylocales import code_to_name
File "./src/pylocales/__init__.py", line 55, in <module>
from pylocales.locales import *
File "./src/pylocales/locales.py", line 37, in <module>
_translator_language = gettext.translation('iso_639').gettext
File "/usr/lib/python3.2/gettext.py", line 401, in translation
raise IOError(ENOENT, 'No translation file found for domain', domain)
IOError: [Errno 2] No translation file found for domain: 'iso_639'
----------------------------------------
Command python setup.py egg_info failed with error code 1 in /home/mrzyx/build/pygtkspellcheck
Storing complete log in /root/.pip/pip.log
In other words if the locale isn't available.