Jump to content


Photo

[Patch] Enigma2 Install Wizard ScanSetup fix


  • Please log in to reply
3 replies to this topic

#1 scp

  • Member
  • 18 posts

+1
Neutral

Posted 7 April 2013 - 20:29

Running a channel search in (First) Install Wizard crashes at checkTimeshiftRunning on non existing InfoBar, patch attached.

 

Attached Files



Re: [Patch] Enigma2 Install Wizard ScanSetup fix #2 littlesat

  • PLi® Core member
  • 57,183 posts

+699
Excellent

Posted 8 April 2013 - 06:53

 def keyGo(self):
   infoBarInstance = InfoBar.instance
-  if infoBarInstance:
+  if infoBarInstance is not None:
    infoBarInstance.checkTimeshiftRunning(self.keyGoCheckTimeshiftCallback)
   else:
    self.keyGoCheckTimeshiftCallback(True)
@@ -954,10 +954,10 @@
 
  def keyGo(self):
   InfoBarInstance = InfoBar.instance
-  if InfoBarInstance:
+  if InfoBarInstance is not None:
    InfoBarInstance.checkTimeshiftRunning(self.keyGoCheckTimeshiftCallback)
   else:
-   InfoBarInstance.checkTimeshiftRunning(True)
+   self.keyGoCheckTimeshiftCallback(True)
 
  def keyGoCheckTimeshiftCallback(self, answer):
   if answer:

The mistake in the second part has already being changed... That was a "Typo" from me..

 

http://sourceforge.n...19d5d4edf194e4/

 

And adding the "is not None" make no difference... This is really not required added code...

When it is not None then simply it is already always True ;) 

(I know we see this still on different locations in Enigma2)...


Edited by littlesat, 8 April 2013 - 06:56.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: [Patch] Enigma2 Install Wizard ScanSetup fix #3 scp

  • Member
  • 18 posts

+1
Neutral

Posted 8 April 2013 - 23:51

Sorry, it was my fault (or sf?)

I did not know that there is a difference between

http://openpli.git.s...i/enigma2;a=log

and
http://sourceforge.n...penpli/enigma2/
 

gitweb still says [e30c97] is master.



Re: [Patch] Enigma2 Install Wizard ScanSetup fix #4 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 9 April 2013 - 00:11

Regarding sourceforge see this thread
http://openpli.org/f...view=getnewpost
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04


2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users