i am using freebsd. i do not have exim4. i tried this with 'ls' command. it gives me the error below. if i output hello world instead, the browser seems to download the page correctly and does not appear to be stuck. i use './manage runserver'.
Traceback (most recent call last): File "/usr/local/lib/python2.4/site-packages/django/core/servers/ basehttp.py", line 273, in run self.finish_response() File "/usr/local/lib/python2.4/site-packages/django/core/servers/ basehttp.py", line 312, in finish_response self.write(data) File "/usr/local/lib/python2.4/site-packages/django/core/servers/ basehttp.py", line 383, in write assert type(data) is StringType,"write() argument must be string" AssertionError: write() argument must be string On Mar 13, 8:46 am, "Ino Pua" <[EMAIL PROTECTED]> wrote: > On Mar 13, 3:37 am, "akonsu" <[EMAIL PROTECTED]> wrote: > > > hello, > > i do not know what causes this. > > i am curious what happens if you replace > > return HttpResponse(stdout or stderr) > > with > > return HttpResponse('hello world') > > If I do that, 'hello world' is printed in the web browser, but its > still stuck on loading and the same issues with not being able to > restart the web server persists. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---