> John Molohan wrote: >> When shutting down rel-1 with up to date kaa svn I get: > .. >> <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. > > John, does this only happen when webserver and encodingserver are > shutting down? I'm dealing with pretty much the same thing using the > "twisted_experimental" notifier.
I did this and it stopped the errors, at the end of base/src/main.py: |# catch SIGTERM and SIGINT if possible for a clean shutdown |if threading.enumerate()[0] == threading.currentThread(): | def signal_handler(*args): | #sys.exit(0) | pass | signal.signal(signal.SIGTERM, signal_handler) | signal.signal(signal.SIGINT, signal_handler) |else: | log.info('kaa imported from thread, disable SIGTERM handler') Duncan ------------------------------------------------------------------------- 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