Ao tentar criar uma App em Django com o comando django-admin.py startapp Name
, tal comando levanta o seguinte erro :
Traceback (most recent call last):
File "manage.py", line 22, in <module>
execute_from_command_line(sys.argv)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 363, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 355, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 283, in run_from_argv
self.execute(*args, **cmd_options)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 330, in execute
output = self.handle(*args, **options)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/commands/startapp.py", line 29, in handle
super(Command, self).handle('app', app_name, target, **options)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/templates.py", line 162, in handle
if new_path.endswith(extensions) or filename in extra_files:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 13: ordinal not in range(128)
Eu tenho de remover esse 0xc3
? ou tem algum modo de fazer com que ele decodifique ?
Django 1.11
Caminhos em que testei:
/home/bezerk/Área de Trabalho/Blogger
/home/bezerk/Downloads
Pesquisei no Stf, porém em grande parte das vezes a pergunta estava em outro contexto, não no de Djando ( Mas sim no de emoji e coisas do tipo )