1 | | Just did, and it also happens with 1.6.5 and 1.5.8. |
| 1 | Just did, and it also happens with 1.6.5 and 1.5.8. With the almost the same traceback. |
| 2 | |
| 3 | 1.6.5: |
| 4 | {{{ |
| 5 | $ django-admin makemessages -l da |
| 6 | processing locale da |
| 7 | Traceback (most recent call last): |
| 8 | File "./../manage.py", line 10, in <module> |
| 9 | execute_from_command_line(sys.argv) |
| 10 | File "/Users/valberg/.virtualenvs/djang16/lib/python3.4/site-packages/django/core/management/__init__.py", line 399, in execute_from_command_line |
| 11 | utility.execute() |
| 12 | File "/Users/valberg/.virtualenvs/djang16/lib/python3.4/site-packages/django/core/management/__init__.py", line 392, in execute |
| 13 | self.fetch_command(subcommand).run_from_argv(self.argv) |
| 14 | File "/Users/valberg/.virtualenvs/djang16/lib/python3.4/site-packages/django/core/management/base.py", line 242, in run_from_argv |
| 15 | self.execute(*args, **options.__dict__) |
| 16 | File "/Users/valberg/.virtualenvs/djang16/lib/python3.4/site-packages/django/core/management/base.py", line 285, in execute |
| 17 | output = self.handle(*args, **options) |
| 18 | File "/Users/valberg/.virtualenvs/djang16/lib/python3.4/site-packages/django/core/management/base.py", line 415, in handle |
| 19 | return self.handle_noargs(**options) |
| 20 | File "/Users/valberg/.virtualenvs/djang16/lib/python3.4/site-packages/django/core/management/commands/makemessages.py", line 279, in handle_noargs |
| 21 | self.write_po_file(potfile, locale) |
| 22 | File "/Users/valberg/.virtualenvs/djang16/lib/python3.4/site-packages/django/core/management/commands/makemessages.py", line 364, in write_po_file |
| 23 | msgs, errors, status = popen_wrapper(args) |
| 24 | File "/Users/valberg/.virtualenvs/djang16/lib/python3.4/site-packages/django/core/management/utils.py", line 25, in popen_wrapper |
| 25 | output, errors = p.communicate() |
| 26 | File "/Users/valberg/.pyenv/versions/3.4.1/lib/python3.4/subprocess.py", line 959, in communicate |
| 27 | stdout, stderr = self._communicate(input, endtime, timeout) |
| 28 | File "/Users/valberg/.pyenv/versions/3.4.1/lib/python3.4/subprocess.py", line 1658, in _communicate |
| 29 | self.stdout.encoding) |
| 30 | File "/Users/valberg/.pyenv/versions/3.4.1/lib/python3.4/subprocess.py", line 887, in _translate_newlines |
| 31 | data = data.decode(encoding) |
| 32 | UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 663: ordinal not in range(128) |
| 33 | }}} |
| 34 | |
| 35 | 1.5.8: |
| 36 | {{{ |
| 37 | $ django-admin makemessages --traceback -l da |
| 38 | processing language da |
| 39 | Traceback (most recent call last): |
| 40 | File "/Users/valberg/.virtualenvs/django15/lib/python3.4/site-packages/django/core/management/base.py", line 222, in run_from_argv |
| 41 | self.execute(*args, **options.__dict__) |
| 42 | File "/Users/valberg/.virtualenvs/django15/lib/python3.4/site-packages/django/core/management/base.py", line 255, in execute |
| 43 | output = self.handle(*args, **options) |
| 44 | File "/Users/valberg/.virtualenvs/django15/lib/python3.4/site-packages/django/core/management/base.py", line 385, in handle |
| 45 | return self.handle_noargs(**options) |
| 46 | File "/Users/valberg/.virtualenvs/django15/lib/python3.4/site-packages/django/core/management/commands/makemessages.py", line 396, in handle_noargs |
| 47 | symlinks, ignore_patterns, no_wrap, no_location, no_obsolete, self.stdout) |
| 48 | File "/Users/valberg/.virtualenvs/django15/lib/python3.4/site-packages/django/core/management/commands/makemessages.py", line 335, in make_messages |
| 49 | not invoked_for_django, wrap, location, no_obsolete) |
| 50 | File "/Users/valberg/.virtualenvs/django15/lib/python3.4/site-packages/django/core/management/commands/makemessages.py", line 221, in write_po_file |
| 51 | (wrap, location, pofile, potfile)) |
| 52 | File "/Users/valberg/.virtualenvs/django15/lib/python3.4/site-packages/django/core/management/commands/makemessages.py", line 47, in _popen |
| 53 | output, errors = p.communicate() |
| 54 | File "/Users/valberg/.pyenv/versions/3.4.1/lib/python3.4/subprocess.py", line 959, in communicate |
| 55 | stdout, stderr = self._communicate(input, endtime, timeout) |
| 56 | File "/Users/valberg/.pyenv/versions/3.4.1/lib/python3.4/subprocess.py", line 1658, in _communicate |
| 57 | self.stdout.encoding) |
| 58 | File "/Users/valberg/.pyenv/versions/3.4.1/lib/python3.4/subprocess.py", line 887, in _translate_newlines |
| 59 | data = data.decode(encoding) |
| 60 | UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 663: ordinal not in range(128) |
| 61 | }}} |