On 14-jun-2007, at 9:34, Malcolm Tredinnick wrote: >> I tried to use manage.py runserver on the remote machine. But >> the issue I am running into is that every time I try to view a page, >> the runserver process quits out on me and from the browser I get the >> response 'connection refused'. >> (I have two Terminal windows open, both logged into the remote >> machine >> through ssh, one with '% python manage.py runserver', the other with >> '% links http://127.0.0.1:8000' ) >> I can't see why the runserver quits, i.e. there are no error messages >> popping up on in the Terminal. Is there another place to look for an >> error log from runserver? Or is there another way to debug this? > > So when it "quits" you just get the prompt back? That would be very > unusual. You could try putting debug printing into > django/core/servers/basehttp.py to see what is going on. I haven't > heard > of this happening before. >
Exactly. It runs untill I try to load a page (from another ssh shell). And I just get the prompt back: [EMAIL PROTECTED]: ~/mysite_project/mysite]% python manage.py runserver Validating models... 0 errors found. Django version 0.96, using settings 'opop.settings' Development server is running at http://127.0.0.1:8000/ Quit the server with CONTROL-C. [EMAIL PROTECTED]: ~/mysite_project/mysite]% Where would you advice to put debugging on in django/core/servers/ basehttp.py? Put __debug__=True at the top of the module? Or which method are we interested in? Thanks, dirk ----------------------------- Dirk van Oosterbosch de Wittenstraat 225 1052 AT Amsterdam the Netherlands http://labs.ixopusada.com ----------------------------- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---