PDA

View Full Version : Xbmc.restart() hangs up?


z0diac
2004-12-20, 15:20
i'm using xbmc 12-12 at the moment. a call to xbmc.restart() will hang up the ui of xbmc. ftp is still working in this situation, so the xbox itself is not freezed..
anybody has the same problem?

and is there a call to restart xbmc (not xbox) without asking? xbmc.restart() should do the job, but i'm not able to test it because of this bug...

Breaker
2004-12-20, 18:17
it is not yet implemented

def restart():
"""
restart() -- restart xbox.
incomplete: how do you quit python?
"""
raise keyboardinterrupt

darkie
2004-12-20, 23:14
it is not yet implemented

code sample
def restart():
"""
restart() -- restart xbox.
incomplete: how do you quit python?
"""
raise keyboardinterrupt

i don't know where you got that from, but the function restart is implemented.

about the restart problem. when doing a restart all system services are stopped and removed from memory, if something fails here xbmc could crash. i couldn't get the crashing myself so you could try disabling the web / ftp / time server and see what happens.

z0diac
2004-12-20, 23:38
i will test this, but is there a way to disable this via python then?

Breaker
2004-12-21, 00:48
sorry got it from xbmc.py may have been an old version :s