#26897: makemessages crash with non ascii file names
------------------------------------------------+-------------------------
Reporter: claudep | Owner: claudep
Type: Bug | Status: new
Component: Internationalization | Version: 1.9
Severity: Release blocker | Keywords:
Triage Stage: Accepted | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------------------+-------------------------
On Python 2:
{{{
...
File "/home/claude/virtualenvs/djangogit/local/lib/python2.7/site-
packages/django/core/management/commands/makemessages.py", line 393, in
build_potfiles
self.process_files(file_list)
File "/home/claude/virtualenvs/djangogit/local/lib/python2.7/site-
packages/django/core/management/commands/makemessages.py", line 488, in
process_files
self.process_locale_dir(locale_dir, files)
File "/home/claude/virtualenvs/djangogit/local/lib/python2.7/site-
packages/django/core/management/commands/makemessages.py", line 552, in
process_locale_dir
input_files_list.write('\n'.join(input_files))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in
position 233: ordinal not in range(128)
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/26897>
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/050.83ec205668ed613b9149283a1044c9cc%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.