[Python-modules-team] Bug#865293: djangocms-admin-style FTBFS with Django 1.11
Adrian Bunk
bunk at debian.org
Tue Jun 20 11:06:14 UTC 2017
Source: djangocms-admin-style
Version: 1.2.2+dfsg-1
Severity: serious
Tags: buster sid
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/djangocms-admin-style.html
...
debian/rules override_dh_auto_build
make[1]: Entering directory '/build/1st/djangocms-admin-style-1.2.2+dfsg'
set -e; \
for loc in djangocms_admin_style/locale/*; do \
python setup.py compile_catalog --directory djangocms_admin_style/locale/ --locale $(basename $loc) --domain django; \
done
running compile_catalog
compiling catalog djangocms_admin_style/locale/de/LC_MESSAGES/django.po to djangocms_admin_style/locale/de/LC_MESSAGES/django.mo
running compile_catalog
Traceback (most recent call last):
File "setup.py", line 32, in <module>
zip_safe=False,
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:12: 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