[英]Caught UnicodeDecodeError while rendering: 'utf8' codec can't decode byte 0xd0 in position 0: unexpected end of data
Some day, when i wanted to enter django admin, i couldn't do this, because of this error. 有一天,当我想输入django admin时,由于此错误,我无法执行此操作。 I dont remember what i've done, and dont notice, when this error start to appear.. 我不记得我做了什么,并且没有注意到,当这个错误开始出现时..
here' full traceback: http://dpaste.com/418718/ 这里'完全追溯: http : //dpaste.com/418718/
Sorry for my english 对不起我的英语不好
The database field is too small for the data in it, and silently truncated it on insertion. 数据库字段对于其中的数据而言太小,并且在插入时会默默地将其截断。 You'll need to repair the data by hand, and make the field larger as well. 您需要手动修复数据,并使字段更大。
I got this error when reading data from a Mysql table. 从Mysql表中读取数据时出现此错误。 The database had some fields in latin1 format. 该数据库有一些latin1格式的字段。 Converting them to utf8 format helped. 将它们转换为utf8格式有所帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.