Re: Processing a file...

2009-02-13 Thread Amirouche B.
thank you for your answers and the insight into the how servers works. Using a background process, is kind of a burden for deployement but let's do it the way it works :D --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Group

Re: Processing a file...

2009-02-13 Thread Graham Dumpleton
On Feb 13, 8:42 pm, Jacob Rigby wrote: > The testserver is single threaded (assuming you're using django- > admin.py runserver), so it would appear to hang until the os.popen > call completes.  If it's really crashing, then something horrible must > be going wrong with the child process. > > In

Re: Processing a file...

2009-02-13 Thread Jacob Rigby
The testserver is single threaded (assuming you're using django- admin.py runserver), so it would appear to hang until the os.popen call completes. If it's really crashing, then something horrible must be going wrong with the child process. In a production setting, where you're using a multiproc

Processing a file...

2009-02-12 Thread Amirouche B.
Hello, I 'd like to process some file before saving it, let's say it's an audio file that I want to be converted to ogg before it lands in the database forever. I tried to run ffmpeg2theora in the save method of the models but this doesn't work verywell, the testserver hangup after the processin