Duncan Webb wrote: > John Molohan wrote: > >> 2007-11-08 21:24:28,198 DEBUG autoshutdown.py (773): Executing >> syscall: ps -eo cmd | egrep -v "grep" | egrep >> "(/|[[:space:]]|^)(urpm|urpmi|transcode|cdrecord|mplayer|xine|mencoder)($|[[:space:]])" >> 2007-11-08 21:24:28,241 DEBUG autoshutdown.py (756): no external >> process(es) running >> 2007-11-08 21:24:28,243 DEBUG autoshutdown.py (385): Shutdown issued >> by autoshutdown timer! >> 2007-11-08 21:24:28,244 DEBUG autoshutdown.py (492): shutdown wakeup >> 2007-11-08 21:24:31,801 DEBUG autoshutdown.py (454): No more >> recordings available >> 2007-11-08 21:24:31,802 DEBUG autoshutdown.py (732): Default wakeup >> at Fri Nov 9 13:00:00 2007 >> 2007-11-08 21:24:31,803 DEBUG autoshutdown.py (478): Picked wakeup at >> Fri Nov 9 13:00:00 2007 >> 2007-11-08 21:24:31,804 DEBUG autoshutdown.py (549): Wakeup-command >> /usr/local/bin/set_acpi.sh "2007-11-09 12:57" >> 2007-11-08 21:24:31,805 DEBUG autoshutdown.py (773): Executing >> syscall: /usr/local/bin/set_acpi.sh "2007-11-09 12:57" >> 2007-11-08 21:24:32,856 DEBUG autoshutdown.py (502): shutdown system >> 2007-11-08 21:24:33,895 ERROR removed timer 1 >> Traceback (most recent call last): >> File >> "/usr/lib/python2.5/site-packages/kaa/notifier/pynotifier/nf_generic.py", >> line 153, in step >> if not timer[ CALLBACK ](): >> File "/usr/lib/python2.5/site-packages/kaa/notifier/timer.py", line >> 90, in __call__ >> return super(Timer, self).__call__(*args, **kwargs) >> File "/usr/lib/python2.5/site-packages/kaa/notifier/nf_wrapper.py", >> line 96, in __call__ >> ret = super(NotifierCallback, self).__call__(*args, **kwargs) >> File "/usr/lib/python2.5/site-packages/kaa/notifier/callback.py", line >> 168, in __call__ >> result = cb(*cb_args, **cb_kwargs) >> File "/usr/lib/python2.5/site-packages/freevo/rc.py", line 624, in poll >> c[0](*c[4]) >> File "/usr/lib/python2.5/site-packages/freevo/plugin.py", line 155, in >> poll_wrapper >> self.real_poll() >> File >> "/usr/lib/python2.5/site-packages/freevo/plugins/autoshutdown.py", line >> 386, in poll >> shutdown_action(action=Shutdown.SHUTDOWN_WAKEUP) >> File >> "/usr/lib/python2.5/site-packages/freevo/plugins/autoshutdown.py", line >> 503, in shutdown_action >> __cleanup_freevo() >> File >> "/usr/lib/python2.5/site-packages/freevo/plugins/autoshutdown.py", line >> 619, in __cleanup_freevo >> plugin.shutdown() >> File "/usr/lib/python2.5/site-packages/freevo/plugin.py", line 352, in >> shutdown >> p.shutdown() >> File "/usr/lib/python2.5/site-packages/freevo/www/__init__.py", line >> 57, in shutdown >> print 'Stopping webserver plugin.' >> File "/usr/lib/python2.5/site-packages/freevo/config.py", line 129, in >> write >> sys.__stdout__.flush() >> IOError: [Errno 5] Input/output error >> > > > This is a bit strange, looks as if stdout is already closed. What > happens when the webserver is not started as a plug-in but as a daemon. > This could, but I suspect doesn't, have anything to do with the > kaa.notifier changes. > > Duncan > > I've been testing quite a bit recently so this could make sense as I was starting freevo from ssh sessions and from within screen sessions. Normally it would have been started as a daemon, I'll see if I can reproduce it.
John ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users