Execution of msgfmt failed when performing post upgrade steps
Hi,
I'm currently running a test setup of MM3 using Mark Sapiros approach with two venv. I also adopted his post-upgrade-script for the web part (django). Just some minutes ago I updated the packages of my test setup with pip3 where hyperkitty is now 1.3.0
When runnin the post-upgrade-script I get the following error message:
Execution of msgfmt failed: /opt/mailman/web/venv/lib/python3.6/site-packages/hyperkitty/locale/nb_NO/LC_MESSAGES/django.po:630: duplicate message definition... /opt/mailman/web/venv/lib/python3.6/site-packages/hyperkitty/locale/nb_NO/LC_MESSAGES/django.po:273: ...this is the location of the first definition msgfmt: found 1 fatal error
Not sure whether this is an error of MM3 or one of its dependency packages.
Best regards Torge
On 9/15/19 5:19 AM, Torge Riedel wrote:
When runnin the post-upgrade-script I get the following error message:
Execution of msgfmt failed: /opt/mailman/web/venv/lib/python3.6/site-packages/hyperkitty/locale/nb_NO/LC_MESSAGES/django.po:630: duplicate message definition... /opt/mailman/web/venv/lib/python3.6/site-packages/hyperkitty/locale/nb_NO/LC_MESSAGES/django.po:273: ...this is the location of the first definition msgfmt: found 1 fatal error
Not sure whether this is an error of MM3 or one of its dependency packages.
The file hyperkitty/locale/nb_NO/LC_MESSAGES/django.po does contain a duplicate definition. This is a bug.
lines 270,273 are:
#: templates/hyperkitty/fragments/month_list.html:78 #: templates/hyperkitty/overview.html:75 msgid "All Threads" msgstr ""
and lines 629,631 are:
#: templates/hyperkitty/overview.html:75 msgid "All Threads" msgstr "Alle tråder"
You can just delete lines 272,273 but if you want to be really fussy, you can delete lines 629,631 and change line 273 to
msgstr "Alle tråder"
See <https://gitlab.com/mailman/hyperkitty/merge_requests/185>
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Mark Sapiro
-
Torge Riedel