Prasanth Nair writes:
I'm in the process of installing a Mailman3 server. I get the following error messages when I run the command 'mailman-web compilemessages'. It was working fine before and noticed this recently. Can someone suggest a solution to solve this issue, please?
*Execution of msgfmt failed: /opt/mailman/venv/lib/python3.8/site-packages/django_extensions/locale/ar/LC_MESSAGES/django.po:25:
This appears to be a Django issue, not Mailman. My guess is that it's a bug in Django's ar (Arabic?) translation, and a "%" sign is supposed to represent itself. In that case it needs to be doubled as "%%".
A second possibility is that you are using a very recent version of Django that requires a very recent version of msgfmt (from gettext-tools), which has extended the conversion operators. In this case, it would help to know
- What version is your Django?
- What version is your msgfmt?
Steve