hi,
seit Gestern habe ich Probleme mit meinem selbstkompilierten Image, dass ich weder im Menü noch in der Senderliste die Hoch- und Runtertaste der FB benutzen kann (keine Reaktion).
Hat sonst keiner das Problem?
hi,
seit Gestern habe ich Probleme mit meinem selbstkompilierten Image, dass ich weder im Menü noch in der Senderliste die Hoch- und Runtertaste der FB benutzen kann (keine Reaktion).
Hat sonst keiner das Problem?
doch ich
der Fehler ist aber nur wenn man ein image neu aufspielt, und den Wizard bis zu ende benutzt
bricht man den Wizard ab ist es auch ok
kommt man zu senderliste und killt enigma ist alles wieder ok
es fehlt dann auch die ausgabe
unknown action ***! typo in keymap?
cu Bundy
und ich habs auch mit meinem eigenen oe-image
dachte schon ich spinne
na dann bin ich ja froh, dass das nicht an mir liegt.
hat bestimmt was mit der ActionMap zu tun
cu Bundy
hmm, scheint wohl ein grösseres Problem zu sein!?
Nachtrag:
scheint gefixt geworden zu sein!?
ZitatAlles anzeigenUpdate of /cvs/enigma2/lib/python/Screens
In directory pepe:/tmp/cvs-serv8445/lib/python/Screens
Modified Files:
Wizard.py
Log Message:
'fix' orphan listboxes in wizard
--- /cvs/enigma2/lib/python/Screens/Wizard.py 2006/04/19 00:12:13 1.38
+++ /cvs/enigma2/lib/python/Screens/Wizard.py 2006/05/11 14:19:29 1.39
@@ -72,6 +72,7 @@
self.wizard[self.lastStep]["code"] = self.wizard[self.lastStep]["code"] + ch
elif self.currContent == "condition":
self.wizard[self.lastStep]["condition"] = self.wizard[self.lastStep]["condition"] + ch
+
def __init__(self, session, showSteps = True, showStepSlider = True, showList = True, showConfig = True):
Screen.__init__(self, session)
HelpableScreen.__init__(self)
@@ -109,6 +110,8 @@
self["list"] = MenuList(self.list)
self.onShown.append(self.updateValues)
+
+ self.configInstance = None
self["actions"] = NumberActionMap(["WizardActions", "NumberActions"],
{
@@ -154,10 +157,11 @@
currStep = self.currStep
if self.showConfig:
if (self.wizard[currStep]["config"]["screen"] != None):
- try: # don't die, if no run() is available
- self.configInstance.run()
- except:
- print "Failed to run configInstance"
+ # TODO: don't die, if no run() is available
+ # there was a try/except here, but i can't see a reason
+ # for this. If there is one, please do a more specific check
+ # and/or a comment in which situation there is no run()
+ self.configInstance.run()
if self.showList:
if (len(self.wizard[currStep]["list"]) > 0):
@@ -214,6 +218,11 @@
self.stepHistory.append(self.currStep)
+ if self.configInstance is not None:
+ del self.configInstance["config"]
+ self.configInstance.doClose()
+ self.configInstance = None
+
self.condition = True
exec (self.wizard[self.currStep]["condition"])
if self.condition:
@@ -250,6 +259,7 @@
else:
self.configInstance = self.session.instantiateDialog(self.wizard[self.currStep]["config"]["screen"], eval(self.wizard[self.currStep]["config"]["args"]))
self["config"].l.setList(self.configInstance["config"].list)
+ self.configInstance["config"].destroy()
self.configInstance["config"] = self["config"]
else:
self["config"].l.setList([])
Gleich mal ausprobieren.
Nachtrag zum Nachtrag:
funzt wieder. :]