Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Django Makemessages CommandError ASCII Encoding

the locale/django.po file has 7868 lines. Sometimes the makemessages command works and sometimes it throws this error: Its strange because in the error is always a different line of django.pot mentioned. And don't forget that it sometimes works with the same code, so the code should be fine

manage.py makemessages -l de
CommandError: errors happened while running msguniq
/app/xxx/locale/django.pot:1871: /app/xxx/locale/django.pot: input is not valid in "ASCII" encoding
like image 858
ChrisRob Avatar asked Jun 08 '17 10:06

ChrisRob


1 Answers

As Andrey Shipilov mentioned in the comment, this seems to be fixed in Django 2.1 as of http://code.djangoproject.com/ticket/29452

like image 163
ChrisRob Avatar answered Sep 26 '22 13:09

ChrisRob