Dirk Meyer wrote: > Duncan Webb wrote: >> Okay thanks dischi, I should have realised this from the patch. It does >> take quite a long time to connect ~200 msecs. > > Like Jason wrote: that is odd.
Sorry, a typo, should have been ~20 msecs. > >> For a quick test I added kaa.inprogress(rc.channel).wait() into the >> RecordClient class and now the webserver works as expected. > > Can you fix the webserver and give me a 'go' to replace kaa.rpc by > kaa.rpc2? I will update all parts of freevo with s/rpc2/rpc/ in that > case. Yes, after adding the kaa.inprogress to the RecordClientActions class the webserver works. Not the best place to add it; looking for a better place in the webserver code. Anyway you can make the change. When the recordserver is down the exception AsyncException is raised; is it okay to import kaa.async so that the exception can be trapped? It doesn't seem the usual way to get a exception class. When the webserver is stopped there is a traceback, this has always been there but doesn't always give a traceback. It would be nice to exit cleanly rather than the process to become a daemon process. After two Ctrl-Cs the prompt comes back but the process is still running. ./freevo webserver Ctrl-C Traceback (most recent call last): File "/sources/svn/freevo-1/rel-1/freevo/src/helpers/webserver.py", line 114, in <module> main() File "/sources/svn/freevo-1/rel-1/freevo/src/helpers/webserver.py", line 108, in main reactor.run() File "/usr/lib/python2.6/site-packages/twisted/internet/base.py", line 1128, in run self.mainLoop() --- <exception caught here> --- File "/usr/lib/python2.6/site-packages/twisted/internet/base.py", line 1140, in mainLoop self.doIteration(t) File "/usr/lib/python2.6/site-packages/twisted/internet/selectreactor.py", line 104, in doSelect [], timeout) File "/usr/lib/python2.6/site-packages/kaa/main.py", line 301, in signal_handler notifier.shutdown() File "/usr/lib/python2.6/site-packages/kaa/nf_wrapper.py", line 134, in shutdown sys.exit(0) exceptions.SystemExit: 0 Duncan ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel