Error in Django - Unicode Decode Error

0

When trying to create an App in Django with the command django-admin.py startapp Name , this command raises the following error:

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)

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

/home/bezerk/Downloads

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