Re: UnicodeDecodeError in python manage.py flush
It looks like you have named one of your model classes with a name
that contains a non-ASCII character. Stick with class names with only
a-z, A-Z, 0-9 characters and see if that helps.
On 21 January 2014 10:29, Edgar Reyes <edgar.reyes@cobachbc.edu.mx> wrote:
> Hi, I'm looking in google search about this error but I didn't find anything
> similar.
>
> Any suggestions ?
>
> python manage.py flush
> You have requested a flush of the database.
> This will IRREVERSIBLY DESTROY all data currently in the 'cbbc' database,
> and return each table to the state it was in after syncdb.
> Are you sure you want to do this?
>
> Type 'yes' to continue, or 'no' to cancel: yes
> Traceback (most recent call last):
> File "manage.py", line 10, in <module>
> execute_from_command_line(sys.argv)
> File
> "/usr/local/pythonenv/DJANGO_1.6_py_2.7.3/local/lib/python2.7/site-packages/django/core/management/__init__.py",
> line 399, in execute_from_command_line
> utility.execute()
> File
> "/usr/local/pythonenv/DJANGO_1.6_py_2.7.3/local/lib/python2.7/site-packages/django/core/management/__init__.py",
> line 392, in execute
> self.fetch_command(subcommand).run_from_argv(self.argv)
> File
> "/usr/local/pythonenv/DJANGO_1.6_py_2.7.3/local/lib/python2.7/site-packages/django/core/management/base.py",
> line 249, in run_from_argv
> stderr.write('%s: %s' % (e.__class__.__name__, e))
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 343:
> ordinal not in range(128)
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscribe@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/4c119cf8-594f-4ba1-8005-3d520ff4d9d7%40googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CABxbXqVHy_PntCHA0qJR43f9ANKxy40Q8bm5WQndvNnbXhqvYw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home