Jump to content


Photo

Service Scan GS in Wizard


  • Please log in to reply
3 replies to this topic

#1 scp

  • Member
  • 18 posts

+1
Neutral

Posted 10 August 2012 - 00:52

This commit added infobar code to ServiceScan.py
http://openpli.git.s...8ed5f04f2cdc9ad

Now, if doing a service scan in start wizard a GS happens:

  File "/usr/lib/enigma2/python/Screens/ServiceScan.py", line 58, in __init__
AttributeError: Session instance has no attribute 'infobar'																													 


Re: Service Scan GS in Wizard #2 littlesat

  • PLi® Core member
  • 57,224 posts

+701
Excellent

Posted 10 August 2012 - 07:57

Wierd... Infobar session does not exist during the start Wizard.... ;)

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


Re: Service Scan GS in Wizard #3 scp

  • Member
  • 18 posts

+1
Neutral

Posted 10 August 2012 - 22:31

Thanks for patching, but next was this: :-)
  File "/usr/lib/enigma2/python/Screens/ServiceScan.py", line 65, in __init__  
AttributeError: Session instance has no attribute 'pipshown'				  

After adding another hasattr() ...
--- ServiceScan.py-pli
+++ ServiceScan.py
@@ -62,7 +62,7 @@

				self.session.nav.stopService()

-			   if self.session.pipshown:
+			   if hasattr(self.session, 'pipshown') and self.session.pipshown:
						if self.currentServiceList and self.currentServiceList.dopipzap:
								self.currentServiceList.togglePipzap()
						del self.session.pip

...now it works.

Edited by scp, 10 August 2012 - 22:35.


Re: Service Scan GS in Wizard #4 littlesat

  • PLi® Core member
  • 57,224 posts

+701
Excellent

Posted 10 August 2012 - 23:28

Thanks!

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



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users