[Python-modules-team] Bug#865937: python-django-extensions FTBFS: ValueError: expected only letters, got u''
Adrian Bunk
bunk at debian.org
Sun Jun 25 23:54:27 UTC 2017
Source: python-django-extensions
Version: 1.7.4-1
Severity: serious
Tags: buster sid
python-django-extensions FTBFS with the new python-babel:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-django-extensions.html
...
compiling catalog django_extensions/locale/ja/LC_MESSAGES/django.po to django_extensions/locale/ja/LC_MESSAGES/django.mo
running compile_catalog
catalog django_extensions/locale/pl/LC_MESSAGES/django.po is marked as fuzzy, skipping
running compile_catalog
compiling catalog django_extensions/locale/pt/LC_MESSAGES/django.po to django_extensions/locale/pt/LC_MESSAGES/django.mo
running compile_catalog
Traceback (most recent call last):
File "setup.py", line 153, in <module>
'Topic :: Utilities',
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/dist-packages/babel/messages/frontend.py", line 182, in run
self._run_domain(domain)
File "/usr/lib/python2.7/dist-packages/babel/messages/frontend.py", line 221, in _run_domain
catalog = read_po(infile, locale)
File "/usr/lib/python2.7/dist-packages/babel/messages/pofile.py", line 331, in read_po
parser.parse(fileobj)
File "/usr/lib/python2.7/dist-packages/babel/messages/pofile.py", line 265, in parse
self._process_comment(line)
File "/usr/lib/python2.7/dist-packages/babel/messages/pofile.py", line 224, in _process_comment
self._finish_current_message()
File "/usr/lib/python2.7/dist-packages/babel/messages/pofile.py", line 164, in _finish_current_message
self._add_message()
File "/usr/lib/python2.7/dist-packages/babel/messages/pofile.py", line 158, in _add_message
self.catalog[msgid] = message
File "/usr/lib/python2.7/dist-packages/babel/messages/catalog.py", line 603, in __setitem__
self.mime_headers = _parse_header(message.string).items()
File "/usr/lib/python2.7/dist-packages/babel/messages/catalog.py", line 406, in _set_mime_headers
self.locale = Locale.parse(value)
File "/usr/lib/python2.7/dist-packages/babel/core.py", line 267, in parse
parts = parse_locale(identifier, sep=sep)
File "/usr/lib/python2.7/dist-packages/babel/core.py", line 1093, in parse_locale
raise ValueError('expected only letters, got %r' % lang)
ValueError: expected only letters, got u''
debian/rules:24: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 1
More information about the Python-modules-team
mailing list