You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I call linkchecker on the command line, it exits before doing anything with this error message on trying to access its localization files:
$> linkchecker
Traceback (most recent call last):
File "/usr/bin/linkchecker", line 30, in <module>
import linkcheck
File "/usr/lib/python2.7/site-packages/linkcheck/__init__.py", line 137, in <module>
init_i18n()
File "/usr/lib/python2.7/site-packages/linkcheck/__init__.py", line 124, in init_i18n
i18n.init(configdata.name.lower(), locdir, loc=loc)
File "/usr/lib/python2.7/site-packages/linkcheck/i18n.py", line 94, in init
install_language(default_language)
File "/usr/lib/python2.7/site-packages/linkcheck/i18n.py", line 100, in install_language
languages=[get_lang(language)], fallback=True)
File "/usr/lib/python2.7/site-packages/linkcheck/i18n.py", line 110, in get_translator
languages=languages, class_=translatorklass, fallback=fallback)
File "/usr/lib/python2.7/gettext.py", line 553, in translation
with open(mofile, 'rb') as fp:
IOError: [Errno 21] Is a directory: u'/usr/share/locale/de/LC_MESSAGES/linkchecker.mo'
The problem seems to be in the directory structure created by setup.py:
I assume the lowest level of the tree is created accidentally, but I did not understand what causes this behaviour. Workaround is to start linkchecker with LC_ALL=C.
version: linkchecker 9.4 from AUR
python 2.7
setuptools 36.2.7-1
The text was updated successfully, but these errors were encountered:
I have the same Problem, also installed linkchecker and linkchecker-gui from AUR.
Solved it temporarily by moving /usr/share/locale/de/LC_MESSAGES/linkchecker.mo/de.mo to /usr/share/locale/de/LC_MESSAGES/linkchecker.mo.
When I call linkchecker on the command line, it exits before doing anything with this error message on trying to access its localization files:
The problem seems to be in the directory structure created by
setup.py
:I assume the lowest level of the tree is created accidentally, but I did not understand what causes this behaviour. Workaround is to start linkchecker with
LC_ALL=C
.version: linkchecker 9.4 from AUR
python 2.7
setuptools 36.2.7-1
The text was updated successfully, but these errors were encountered: