You'll probably want to install the Django debug toolbar (
https://github.com/robhudson/django-debug-toolbar) at some point, though it
doesn't help much with views that hang or throw exceptions.

- Craig -

On Sun, Jan 2, 2011 at 16:25, daniels <daniels0...@gmail.com> wrote:

> Hi,
> I'm having a issue with Django's dev server. I did a "django-admin.py
> startproject" then "manage.py startapp home", then added the app in
> settings.py and in urls.py. The app only has  a index function in
> views.py which is mapped to / and just renders a simple html template.
> What happens is that sometimes(and this is often) when i load the page
> in a broswer (tryed Chrome and Firefox) or refresh it, the page starts
> loading but it never finishes. And if i hit the browser's stop button
> i get this in the console
>
>
>
> Exception happened during processing of request from ('127.0.0.1',
> 52495)
> Traceback (most recent call last):
>  File "C:\Python26\lib\SocketServer.py", line 283, in
> _handle_request_noblock
>    self.process_request(request, client_address)
>  File "C:\Python26\lib\SocketServer.py", line 309, in process_request
>    self.finish_request(request, client_address)
>  File "C:\Python26\lib\SocketServer.py", line 322, in finish_request
>    self.RequestHandlerClass(request, client_address, self)
>  File "C:\Python26\lib\site-packages\django\core\servers
> \basehttp.py", line 562, in __init__
>    BaseHTTPRequestHandler.__init__(self, *args, **kwargs)
>  File "C:\Python26\lib\SocketServer.py", line 618, in __init__
>    self.finish()
>  File "C:\Python26\lib\SocketServer.py", line 661, in finish
>    self.wfile.flush()
>  File "C:\Python26\lib\socket.py", line 297, in flush
>    self._sock.sendall(buffer(data, write_offset, buffer_size))
> error: [Errno 10053] An established connection was aborted by the
> software in your host machine
> ----------------------------------------
>
>
> Any idea what's causing this? As it really cripples my dev time.
> I'm on a Windows 7 32bit machine
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to