Error in Django - Unicode Decode Error


When trying to create an App in Django with the command startapp Name , this command raises the following error:

Traceback (most recent call last):

  File "", line 22, in <module>

  File "/usr/local/lib/python2.7/dist-packages/django/core/management/", line 363, in execute_from_command_line

  File "/usr/local/lib/python2.7/dist-packages/django/core/management/", line 355, in execute

  File "/usr/local/lib/python2.7/dist-packages/django/core/management/", line 283, in run_from_argv
    self.execute(*args, **cmd_options)

  File "/usr/local/lib/python2.7/dist-packages/django/core/management/", line 330, in execute
    output = self.handle(*args, **options)

  File "/usr/local/lib/python2.7/dist-packages/django/core/management/commands/", line 29, in handle
    super(Command, self).handle('app', app_name, target, **options)

  File "/usr/local/lib/python2.7/dist-packages/django/core/management/", 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)

Do I have to remove this 0xc3 ? or do you have some way to get it to decode?

Django 1.11

Paths I tested:

/home/bezerk/Área de Trabalho/Blogger


I searched in Stf, but for the most part the question was in another context, not in Djando's (but in emoji's and things like that)

asked by anonymous 12.07.2017 / 19:54

0 answers