X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/cf81c9acef45dc09976065bb4e7ad9b4818c5aa6..eff0107a56d4deb2312ca92ab8a74dcffb03e594:/mytest.py diff --git a/mytest.py b/mytest.py index 49283357..2a7eb9a1 100644 --- a/mytest.py +++ b/mytest.py @@ -68,7 +68,6 @@ class Session: if self.currentDialog.isTmp: self.currentDialog.doClose() - print sys.getrefcount(self.currentDialog) del self.currentDialog.instance # dump(self.currentDialog) del self.currentDialog @@ -100,7 +99,7 @@ class Session: print 'EXCEPTION IN DIALOG INIT CODE, ABORTING:' print '-'*60 traceback.print_exc(file=sys.stdout) - quitMainloop() + quitMainloop(5) print '-'*60 # read skin data @@ -182,9 +181,15 @@ Components.AVSwitch.InitAVSwitch() import Components.Network Components.Network.InitNetwork() +import Components.Lcd +Components.Lcd.InitLcd() + import Components.SetupDevices Components.SetupDevices.InitSetupDevices() +import Components.RFmod +Components.RFmod.InitRFmod() + import Components.NimManager # first, setup a screen @@ -194,7 +199,7 @@ except: print 'EXCEPTION IN PYTHON STARTUP CODE:' print '-'*60 traceback.print_exc(file=sys.stdout) - quitMainloop() + quitMainloop(5) print '-'*60 # now, run the mainloop