#22880: UnicodeDecode error when running `makemessages` (python 3.4.1)
-------------------------------------+-------------------------------------
Reporter: valberg | Owner: nobody
Type: Uncategorized | Status: new
Component: Core (Management | Version:
commands) | 1.7-beta-2
Severity: Normal | Resolution:
Keywords: | Triage Stage:
Has patch: 0 | Unreviewed
Needs tests: 0 | Needs documentation: 0
Easy pickings: 0 | Patch needs improvement: 0
| UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by valberg):
It looks as if my locale was wrong somehow:
{{{
$ locale
LANG=
LC_COLLATE="C"
LC_CTYPE="C"
LC_MESSAGES="C"
LC_MONETARY="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_ALL=
}}}
Setting `LANG` to `"da_DK.UTF-8"` does the trick as far as I can tell.
{{{
$ export LANG="da_DK.UTF-8"
$ locale
LANG="da_DK.UTF-8"
LC_COLLATE="da_DK.UTF-8"
LC_CTYPE="da_DK.UTF-8"
LC_MESSAGES="da_DK.UTF-8"
LC_MONETARY="da_DK.UTF-8"
LC_NUMERIC="da_DK.UTF-8"
LC_TIME="da_DK.UTF-8"
LC_ALL="da_DK.UTF-8"
$ django-admin makemessages --traceback -l da
processing language da
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/22880#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/065.64ed0a2e4b28e7c740b347a828b033cc%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.