On Tue, May 27, 2008 at 11:05 AM, Milan Andric <[EMAIL PROTECTED]> wrote: > Worked just fine from the interpreter but I noticed some stuff being > returned on stdout (same as on cmd line). So I added the --quiet > option to htmldoc and now it seems fine and returns 0 in the > interpreter. Maybe the os.system() call within the view didn't make > django very happy since it was returning junk.
Some WSGI-based web servers will crash and/or otherwise have severe problems if you try to write to stdout from inside a WSGI application. -- "Bureaucrat Conrad, you are technically correct -- the best kind of correct." --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---