Re: Starting other processes in a view gives me some weird results.

2007-03-14 Thread Ino Pua
On Mar 14, 9:28 am, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Tue, 2007-03-13 at 08:10 -0700, Ino Pua wrote: > > Using just 'ls' or something similar does not trigger the bug. You > > have to start a daemon from django in order to trigger it. The > > attached views assume cmd to be a

Re: Starting other processes in a view gives me some weird results.

2007-03-14 Thread Malcolm Tredinnick
On Tue, 2007-03-13 at 08:10 -0700, Ino Pua wrote: > Using just 'ls' or something similar does not trigger the bug. You > have to start a daemon from django in order to trigger it. The > attached views assume cmd to be a command that takes 'start' as a > parameter in order to daemonize it, so for

Re: Starting other processes in a view gives me some weird results.

2007-03-13 Thread Ino Pua
Using just 'ls' or something similar does not trigger the bug. You have to start a daemon from django in order to trigger it. The attached views assume cmd to be a command that takes 'start' as a parameter in order to daemonize it, so for freebsd you might have to customize the "p =

Re: Starting other processes in a view gives me some weird results.

2007-03-13 Thread akonsu
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

Re: Starting other processes in a view gives me some weird results.

2007-03-13 Thread Joe
We had a similar problem when a process you start tries to send a signal to python indicating a warning or something similar. There is a know version in older versions of python that causes it to ignore these signals and hang the process. Try upgrading python. On Mar 13, 8:46 am, "Ino Pua"

Re: Starting other processes in a view gives me some weird results.

2007-03-13 Thread Ino Pua
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

Re: Starting other processes in a view gives me some weird results.

2007-03-12 Thread akonsu
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') this is how i would debug konstantin On Mar 12, 10:03 pm, "Ino Pua" <[EMAIL PROTECTED]> wrote: > Quick way of reproducing: > >1.