#30225 closed Cleanup/optimization (duplicate)
Unicode characters in `migrate` command output making deployment fail
Reported by: | Vaibhav Vishal | Owned by: | nobody |
---|---|---|---|
Component: | Migrations | Version: | 2.2 |
Severity: | Normal | Keywords: | migration, migrate |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
When running py manage.py migrate
it outputs some unicode characters to the terminal. It is new in 2.2, it was not an issue in 2.1.7
Since There is a unicode character when I deploy the project on AWS Elastic Beanstalk, the migration command fails because it cannot decode the unicode character, please suggest a workaround to avoid this or use ascii characters only to avoid such errors. I have attached the relevant parts of logs of deployment for both 2.1.7(success) and 2.2(fail) to the ticket.
Attachments (2)
Change History (6)
by , 6 years ago
comment:1 by , 6 years ago
Summary: | Unicode characters in `migrate` command output → Unicode characters in `migrate` command output making deployment fail |
---|
comment:2 by , 6 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Duplicate of #30184 fixed in 5e94c817ee26a13e141a11a2f429f9ee2cc37ab0 which should be part of the upcoming 2.2 release.
comment:3 by , 6 years ago
Also though, a quick Google leads to this AWS page suggesting you can set a decent locale in your application to fix this properly.
comment:4 by , 6 years ago
Thanks for the aws forums link. It solved my problem. I did searched on google for the problem but couldn't find anything, sorry for creating a ticket.
Deployment log when using Django==2.1.7, which is successful.