Re: Django dev server issue

2018-06-29 Thread saurabhranaupes
open your task manager and stop python process running it and then again runserver -- 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+unsubscr...@goog

Re: Django dev server issue

2015-08-25 Thread ilyas Jumadurdyew
The problem is in your packages. You probably tried to solve so other issue and installed some package that you dont need. I had the same problem, clearing unused packages solved the problem On Monday, 3 January 2011 02:25:16 UTC+5, daniels wrote: > > Hi, > I'm having a issue with Django's dev

Re: Django dev server issue

2011-01-14 Thread Xavier Ordoquy
Hi, I don't know much of windows, but couldn't it be some kind of network filtering, parental control or whatever that creates this behavior ? @daniels: your issue is different. Django dev server only serves one request at a time. It looks like your chrome does several request at the same time.

Re: Django dev server issue

2011-01-13 Thread Thomas Steinacher
Were you able to solve the problem? I regularly get hangs (around a minute) as well, using python 2.6.5 from MacPorts and Django 1.2, usually when using Chrome's incognito mode. Also, I sometimes have to reload the page multiple times until all the media files load since there seem to be errors in

Re: Django dev server issue

2011-01-04 Thread Brian Bouterse
It sounds like it wasn't able to be reproduced with pdb. I think that should be looked into further. Brian On Tue, Jan 4, 2011 at 6:57 AM, daniels wrote: > Ok, so i used pdb and did a line by line pass, but i didn't get anything. > All data seems to be normal. I even edited socket.py and did a

Re: Django dev server issue

2011-01-04 Thread daniels
Ok, so i used pdb and did a line by line pass, but i didn't get anything. All data seems to be normal. I even edited socket.py and did a print on data to see what's going on and everything seems normal.. :( so i'm left with no idea I guess i'll have to get used with this hangs. -- You received t

Re: Django dev server issue

2011-01-03 Thread daniels
Just tried latest version of Django 1.2.4 and same issue I'll try that. Never used pdb before so let's see how things will go. I'll reply with updates. On Jan 3, 11:35 pm, Shawn Milochik wrote: > On Jan 3, 2011, at 4:28 PM, Brian Bouterse wrote: > > > Have you tried using pdb to debug the call as

Re: Django dev server issue

2011-01-03 Thread Shawn Milochik
On Jan 3, 2011, at 4:28 PM, Brian Bouterse wrote: > Have you tried using pdb to debug the call as it arrives? You could step > through the code, line by line that way to see what is hanging. > > My 2 cents, > Brian I enthusiastically second this. If you're unfamiliar with pdb, check out this

Re: Django dev server issue

2011-01-03 Thread Brian Bouterse
Have you tried using pdb to debug the call as it arrives? You could step through the code, line by line that way to see what is hanging. My 2 cents, Brian On Mon, Jan 3, 2011 at 4:26 PM, daniels wrote: > I just tested with sock Python 2.6.6 from the link you gave me and > also tried with Pytho

Re: Django dev server issue

2011-01-03 Thread daniels
I just tested with sock Python 2.6.6 from the link you gave me and also tried with Python 2.7 and I'm still having this issue. It is really weird. Like i said 3 out of 5 page refresh the browser hangs, and if i press stop button i get the same exception trowed. :( On Jan 3, 9:36 pm, "W. Craig Tra

Re: Django dev server issue

2011-01-03 Thread W. Craig Trader
I'm currently developing on Windows 7 (64-bit) with stock Python 2.6.6 (32-bit) and Django 1.2.3, and having no problems when running the Django development server from the command line. I'd recommend using the normal Python ( http://www.python.org/download/releases/2.6.6/) instead of ActivePython

Re: Django dev server issue

2011-01-03 Thread daniels
Hi, Unfortunately i did not found the case, and i'm getting it pretty often, about 3 out of 5 times i refresh the page. If i leave it loading and i don't stop it it stays like that for about 30-40 seconds and then the page loads. I just don't understand what is causing this. I've restarted the serv

Re: Django dev server issue

2011-01-03 Thread Tiago Almeida
Hi, Your files seem fine, I believe. Have you found the cause? What version of python and django are you using? I also have this issue but it is not often enough for me to worry too much. Killing the server and restarting it solves it for me.. BR, On 3 Jan, 08:00, daniels wrote: > Here

Re: Django dev server issue

2011-01-03 Thread daniels
Here are the relevant files: myproject/urls.py -- from django.conf.urls.defaults import * from django.conf import settings # Uncomment the next two lines to enable the admin: # from django.contrib import admin # admin.autodiscover() urlpatterns = patterns('', (r'^$', include('myproje

Re: Django dev server issue

2011-01-02 Thread W. Craig Trader
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 wrote: > Hi, > I'm having a issue with Django's dev

Re: Django dev server issue

2011-01-02 Thread W. Craig Trader
The exception you're seeing is just a response to stopping the request in the browser. The real problem is that your view function is hanging. Could you post the source to the view (and the substantial parts of your template)? Very hard to offer suggestions without the right data. - Craig - On

Django dev server issue

2011-01-02 Thread daniels
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