Github user pdion891 commented on the issue:
https://github.com/apache/cloudstack-docs-admin/pull/41
Hi @lmrv, since the last commit, if I try to build the project in `fr`
there is an issue with `virtual_machines.mo`:
I've run `make gettext` which worked fined but not sphinx-intl:
```
$ sphinx-intl build --locale-dir source/locale
Project name loaded from .tx/config: apache-cloudstack-administration-rtd
Build: source/locale/fr/LC_MESSAGES/networking_and_traffic.mo
Build: source/locale/fr/LC_MESSAGES/projects.mo
Build: source/locale/fr/LC_MESSAGES/networking2.mo
Build: source/locale/fr/LC_MESSAGES/troubleshooting.mo
Build: source/locale/fr/LC_MESSAGES/systemvm.mo
Build: source/locale/fr/LC_MESSAGES/hosts.mo
Build: source/locale/fr/LC_MESSAGES/ui.mo
Build: source/locale/fr/LC_MESSAGES/administration.mo
Build: source/locale/fr/LC_MESSAGES/virtual_machines.mo
Traceback (most recent call last):
File "/usr/local/bin/sphinx-intl", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 722, in
__call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 697, in
main
rv = self.invoke(ctx)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 1066,
in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 895, in
invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 535, in
invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/sphinx_intl/commands.py",
line 247, in build
basic.build(locale_dir, output_dir, languages)
File "/usr/local/lib/python2.7/dist-packages/sphinx_intl/basic.py", line
101, in build
cat = c.load_po(po_file)
File "/usr/local/lib/python2.7/dist-packages/sphinx_intl/catalog.py",
line 17, in load_po
cat = pofile.read_po(f)
File "/usr/lib/python2.7/dist-packages/babel/messages/pofile.py", line
212, in read_po
_add_message()
File "/usr/lib/python2.7/dist-packages/babel/messages/pofile.py", line
165, in _add_message
catalog[msgid] = message
File "/usr/lib/python2.7/dist-packages/babel/messages/catalog.py", line
619, in __setitem__
self.mime_headers = _parse_header(message.string).items()
File "/usr/lib/python2.7/dist-packages/babel/messages/catalog.py", line
415, in _set_mime_headers
value, tzoffset, _ = re.split('([+-]\d{4})$', value, 1)
ValueError: need more than 1 value to unpack
```
Do you have the same behavior on your side?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---