Saturday, May 28, 2016

Errors in runserver command: Django 1.9.6

Hello all,

I was trying to setup my django project on amazon ec2 instance. When I do "python manage.py runserver 0.0.0.0:8000" and try to access the website from my browser, I get the following stack trace:

Traceback (most recent call last):
  File "/usr/lib/python2.7/wsgiref/handlers.py", line 86, in run
    self.finish_response()
  File "/usr/lib/python2.7/wsgiref/handlers.py", line 131, in finish_response
    self.close()
  File "/usr/lib/python2.7/wsgiref/simple_server.py", line 33, in close
    self.status.split(' ',1)[0], self.bytes_sent
AttributeError: 'NoneType' object has no attribute 'split'


Any hep would be appreciated.

Thanks
Palansh Agarwal

--
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 https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/9d0d9ce3-1d3d-4cfe-9c0f-797120f27dfe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment