id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 19397 UnicodeDecodeError on binary file when using custom project template/skeleton gw.2012@… nobody "There is a regression in current development Django 1.5 version when using `startproject` (and `startapp`) with custom project/app template/skeleton directory. In Django 1.4 the following worked flawlessly, but in current master version an error happens during processing of binary files (that should imho not be parsed if not explicitly requested). Steps to repeat: {{{ $ virtualenv --no-site-packages testdj15; cd testdj15/; . bin/activate ... $ pip install git+http://github.com/django/django.git ... $ mkdir skeleton; dd if=/dev/urandom of=skeleton/test.png bs=1M count=1 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.0850216 s, 12.3 MB/s $ django-admin.py startproject --template skeleton abcproject UnicodeDecodeError: 'utf8' codec can't decode byte 0x93 in position 3: invalid start byte $ ls -al abcproject/test.png skeleton/test.png ls: cannot access abcproject/test.png: No such file or directory -rw-r--r-- 1 gw gw 1048576 Nov 30 13:47 skeleton/test.png }}}" Bug closed Core (Management commands) dev Release blocker fixed project template, skeleton, utf8 Accepted 0 0 0 0 0 0