Hi Duncan,
I did update freevo, but kept the my old version of kaa.
Last time I checked, the shutdown process evolved a little further,
the recordserver was also stopped, but the system itself did not go down.
Here is the traceback of that:
2008-03-08 12:51:17,608 DEBUG autoshutdown.py (424): is_shutdown_allowed()
2008-03-08 12:51:17,609 DEBUG autoshutdown.py (660):
__get_scheduled_recording(index=0)
2008-03-08 12:51:17,610 DEBUG autoshutdown.py (640):
__is_recordserver_remote()
2008-03-08 12:51:17,613 DEBUG record_client.py (209):
getScheduledRecordingsNow()
2008-03-08 12:51:17,613 DEBUG record_client.py (87):
recordserver_rpc(cmd='getScheduledRecordings', args=(), kwargs={})
2008-03-08 12:51:17,615 INFO record_client.py (95): ('localhost', 18002) is
down
2008-03-08 12:51:17,616 ERROR signal.emit
Traceback (most recent call last):
File "../base/build/lib.linux-i686-2.5/kaa/notifier/signals.py", line 209,
in emit
File "../base/build/lib.linux-i686-2.5/kaa/notifier/callback.py", line 168,
in __call__
TypeError: signal_handler() takes exactly 2 arguments (0 given)
2008-03-08 12:51:17,619 INFO stop process watching
2008-03-08 12:51:17,620 CRITICAL main.py (494): Crash!: 'unicode' object has no
attribute
'getProgramList'
2008-03-08 12:51:17,644 DEBUG osd.py (193): Loading font
"/usr/local/freevo1/freevo/share/fonts/Vera.ttf"
Traceback (most recent call last):
File "/usr/local/freevo1/freevo/src/main.py", line 480, in <module>
File "../base/build/lib.linux-i686-2.5/kaa/notifier/callback.py", line 168,
in __call__
TypeError: signal_handler() takes exactly 2 arguments (0 given)
2008-03-08 12:51:17,619 INFO stop process watching
2008-03-08 12:51:17,620 CRITICAL main.py (494): Crash!: 'unicode' object has no
attribute
'getProgramList'
2008-03-08 12:51:17,644 DEBUG osd.py (193): Loading font
"/usr/local/freevo1/freevo/share/fonts/Vera.ttf"
Traceback (most recent call last):
File "/usr/local/freevo1/freevo/src/main.py", line 480, in <module>
kaa.main.run()
File "../base/build/lib.linux-i686-2.5/kaa/notifier/main.py", line 140, in
run
skin.set_base_fxd(self.skin)
File "../base/build/lib.linux-i686-2.5/kaa/notifier/main.py", line 110, in
loop
import skin # The skin class
File
"/usr/lib/python2.5/site-packages/kaa/notifier/pynotifier/nf_generic.py", line
186, in step
if not timer[ CALLBACK ]():
File "../base/build/lib.linux-i686-2.5/kaa/notifier/timer.py", line 176, in
__call__
File "../base/build/lib.linux-i686-2.5/kaa/notifier/nf_wrapper.py", line 97,
in __call__
File "../base/build/lib.linux-i686-2.5/kaa/notifier/callback.py", line 168,
in __call__
File "/usr/local/freevo1/freevo/src/rc.py", line 660, in poll
c[0](*c[4])
File "/usr/local/freevo1/freevo/src/plugin.py", line 158, in poll_wrapper
self.real_poll()
File "/usr/local/freevo1/freevo/src/plugins/autoshutdown.py", line 386, in
poll
is_shutdown_allowed()
File "/usr/local/freevo1/freevo/src/plugins/autoshutdown.py", line 427, in
is_shutdown_allowed
t = __get_scheduled_recording(0)
File "/usr/local/freevo1/freevo/src/plugins/autoshutdown.py", line 676, in
__get_scheduled_recording
proglist = schedule.getProgramList().values()
AttributeError: 'unicode' object has no attribute 'getProgramList'
2008-03-08 12:51:22,785 DEBUG shutdown.py (49): shutdown(menuw=None,
argshutdown=None,
argrestart=None, exit=False)
2008-03-08 12:51:23,307 DEBUG plugin.py (354): shutdown plugin
2008-03-08 12:51:23,308 DEBUG rom_drives.py (144): stopping Identify_Thread
2008-03-08 12:51:23,410 DEBUG plugin.py (354): shutdown plugin
Stopping webserver plugin.
2008-03-08 12:51:24,630 DEBUG plugin.py (354): shutdown plugin
2008-03-08 12:51:24,631 DEBUG plugin.py (354): shutdown plugin
2008-03-08 12:51:24,632 DEBUG plugin.py (354): shutdown plugin
Stopping webserver plugin.
2008-03-08 12:51:24,715 DEBUG rc.py (120): rc.shutdown()
2008-03-08 12:51:24,717 DEBUG rc.py (628): EventHandler.shutdown()
2008-03-08 12:51:24,717 DEBUG rc.py (630): shutting down <bound method
autostart.shutdown of
<plugins.rom_drives.autostart instance at 0x877b94c>>
2008-03-08 12:51:24,718 DEBUG rc.py (630): shutting down <bound method
PluginInterface.shutdown
of <www.PluginInterface instance at 0x89d1eec>>
Stopping webserver plugin.
--------------------------------------------------------------------------------
Freevo 1.8.0-svn r10300 finished at Sat Mar 8 12:20:54 2008
================================================================================
Further checks show, that this happens, because the recordserver never was
started correctly.
The recordserver logs show only:
================================================================================
Freevo 1.8.0-svn r10300 started at Sat Mar 8 12:20:54 2008
--------------------------------------------------------------------------------
2008-03-08 12:20:54,405 INFO config.py (531): LOGDIR: /var/log
/var/log/freevo
2008-03-08 12:20:54,406 INFO config.py (532): STATICDIR: /var/lib
/var/lib/freevo
2008-03-08 12:20:54,407 INFO config.py (533): CACHEDIR: /var/cache
/var/cache/freevo
2008-03-08 12:20:54,522 INFO config.py (552): Loading freevo configuration
file
"/home/freevo/.freevo/freevo.conf"
2008-03-08 12:20:57,606 INFO new process watcher instance
(END OF FILE)
So the questions are:
1.) Why did the recordserver did not start correctly!
2.) Why did the system did not shutdown after the main process finished, where
did the shutdown cmd go?
Tanja
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freevo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-devel