Exception on start django server in windows 7

13 views
Skip to first unread message

Moisés Batista dos Santos Filho

unread,
Jan 20, 2014, 7:08:52 PM1/20/14
to django...@googlegroups.com
Hi, everyone. I need help!
I was reading django's tutorial when the next step was start server. But when I put this instruction in command line, python manage.py runserver:

I'm trying solve this error but no successful.


Ramiro Morales

unread,
Jan 20, 2014, 9:11:39 PM1/20/14
to django...@googlegroups.com

does by chance the host name of your Windows workstation have a non-ASCII (e.g. an accented) character?

If so, as a temporary workaround, try changing it to a pure-ASCII one.

Also in the future pklease copy and paste the text of error messages like this in the body of the email intead of attaching a screen capture. This is better for getting the content indexted by search engines.
 
Also you might wat to widen the size of your terminal to to not get these ugly line wraps.

--
Ramiro Morales
@ramiromorales

Sam Lai

unread,
Jan 21, 2014, 12:26:07 AM1/21/14
to django-users
It's due to the accent on the e in your username. This is a 'bug' in the way Python works with the Windows command prompt.

Long story short, just move the 'Python' directory out from your Desktop to somewhere just on your C:\ drive (so your username isn't in the path) and everything will work, e.g. C:\Python. Maybe C:\work\Python would be a more descriptive path.


--
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...@googlegroups.com.
To post to this group, send email to django...@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/cfea2648-ecfe-4533-b6be-912d1fd5c4f0%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages