John Molohan wrote: > Hi, > > When shutting down rel-1 with up to date kaa svn I get: > > Traceback (most recent call last): > File "/usr/lib/python2.5/site-packages/freevo/helpers/webserver.py", > line 118, in <module> > main() > File "/usr/lib/python2.5/site-packages/freevo/helpers/webserver.py", > line 111, in main > reactor.run() > File "/usr/lib/python2.5/site-packages/twisted/internet/posixbase.py", > line 218, in run > self.mainLoop() > --- <exception caught here> --- > File "/usr/lib/python2.5/site-packages/twisted/internet/posixbase.py", > line 229, in mainLoop > self.doIteration(t) > File > "/usr/lib/python2.5/site-packages/twisted/internet/selectreactor.py", > line 97, in doSelect > [], timeout) > File "/usr/lib/python2.5/site-packages/kaa/notifier/main.py", line > 211, in signal_handler > sys.exit(0) > <type 'exceptions.SystemExit'>: 0 > > It shows in then web server and encoding server logs and gets printed to > screen but doesn't make it into main.log.
This is a twisted bug (feature?). If you have an exception in your callback, Twisted prints an error, the normal kaa notifier stops. And sys.exit is an exception. You can not stop twisted by calling exit. Dischi -- One Page Principle: A specification that will not fit on one page of 8.5x11 inch paper cannot be understood. -- Mark Ardis
pgpqYroYcg431.pgp
Description: PGP signature
------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel