#29246: compilemessages management-command fails with UnicodeDecodeError
-------------------------------------+-------------------------------------
Reporter: Tarun Gaba | Owner: nobody
Type: Bug | Status: new
Component: | Version: 1.11
Internationalization |
Severity: Normal | Resolution:
Keywords: compilemessages | Triage Stage:
UnicodeDecodeError | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Daniel Browne):
* status: closed => new
* cc: Daniel Browne (added)
* version: 1.9 => 1.11
* resolution: invalid =>
Comment:
I can reproduce this issue on Django 1.11 which is still supported. Can
the '.' passed to os.walk not become b'.' in order to bypass the
unicode_literals import? I think this would solve the problem.
(https://github.com/django/django/blob/stable/1.11.x/django/core/management/commands/compilemessages.py#L70)
--
Ticket URL: <https://code.djangoproject.com/ticket/29246#comment:2>
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/064.0c9c0485e3637e9cd20f3735dfce686e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.