Friday, February 1, 2019

2.2a1: django-admin migrate throws UnicodeEncodeError

Hi,

File "/usr/local/py_venv/erdb2-django/lib/python3.6/site-packages/django/core/management/commands/migrate.py", line 266, in migration_progress_callback
self.stdout.write(" Applying %s\u2026" % migration, ending="")
File "/usr/local/py_venv/erdb2-django/lib/python3.6/site-packages/django/core/management/base.py", line 145, in write
self._out.write(style_func(msg))
UnicodeEncodeError: 'ascii' codec can't encode character '\u2026' in position 48: ordinal not in range(128)

Should stdout not receive ASCII only?

Someone changed here 3 dots to ellipsis character:
https://github.com/django/django/commit/50b8493581fea3d7137dd8db33bac7008868d23a#diff-e835ddfb52774b39749788a0d046e477

Axel
---
PGP-Key:29E99DD6 ☀ computing @ chaos claudius

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/9625D3B0-33E5-4256-905A-7F94EE1EE657%40chaos1.de.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment