Jump to content


Photo

Blue button softcam setup generates a GSOD


  • Please log in to reply
11 replies to this topic

#1 Pr2

  • PLi® Contributor
  • 6,221 posts

+262
Excellent

Posted 16 February 2017 - 07:35

Hi,

 

OpenPLi crash when trying to use the SoftCam Setup from the blue button (show press + Softcam Setup).

 

OpenPLi Enigma2 crash log
 
crashdate=jeu. févr. 16 07:26:18 2017
compiledate=Feb 16 2017
skin=PLi-FullHD/skin.xml
sourcedate=2017-02-16
branch=(no branch)
rev=3496fb8
component=Enigma2
 
stbmodel=solo4k
stbmodel=dm8000
kernelcmdline=root=/dev/mmcblk0p4 rootwait rw rootflags=data=journal debug coherent_pool=2M brcm_cma=504M@0x10000000 brcm_cma=260M@0x2f800000 brcm_cma=1024M@0x80000000
nimsockets=NIM Socket 0:
imageissue=openpli 4 %h
 
 
[eDVBPESReader] Created. Opening demux
[eDVBPESReader] Created. Opening demux
ADD Peer STB3=STB3.local:8001
ADD Peer STB2=STB2.local:8001
REMOVE Peer STB3
REMOVE Peer STB2
REMOVE Peer vusolo4k
ADD Peer STB3=STB3.local:8001
ADD Peer STB2=STB2.local:8001
Traceback (most recent call last):
  File "/usr/lib/enigma2/python/mytest.py", line 205, in processDelay
    callback(*retval)
  File "/usr/lib/enigma2/python/Screens/InfoBarGenerics.py", line 2124, in extensionCallback
  File "/usr/lib/enigma2/python/Screens/InfoBarGenerics.py", line 2069, in openSoftcamSetup
ImportError: No module named SoftcamSetup


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: Blue button softcam setup generates a GSOD #2 Pedro_Newbie

  • Senior Member
  • 4,631 posts

+225
Excellent

Posted 16 February 2017 - 07:40

Here the same error on a HD51



Re: Blue button softcam setup generates a GSOD #3 Piraya

  • Member
  • 4 posts

0
Neutral

Posted 16 February 2017 - 07:44

Same error on solo2

Re: Blue button softcam setup generates a GSOD #4 Pedro_Newbie

  • Senior Member
  • 4,631 posts

+225
Excellent

Posted 16 February 2017 - 08:04

SoftcamSetup.py does exist but there's no pyo generated?



Re: Blue button softcam setup generates a GSOD #5 blunt

  • Senior Member
  • 159 posts

+1
Neutral

Posted 16 February 2017 - 09:02

same here



Re: Blue button softcam setup generates a GSOD #6 littlesat

  • PLi® Core member
  • 57,559 posts

+709
Excellent

Posted 16 February 2017 - 09:34

So when you do ipkg install enigma2-src via telnet/putty it is fine?

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


Re: Blue button softcam setup generates a GSOD #7 Pedro_Newbie

  • Senior Member
  • 4,631 posts

+225
Excellent

Posted 16 February 2017 - 09:36

No I installed the sources and made a restart, stil no .pyo and it keeps crashing



Re: Blue button softcam setup generates a GSOD #8 Beeker

  • PLi® Contributor
  • 1,622 posts

+204
Excellent

Posted 16 February 2017 - 09:43

This solved the problem.

diff --git a/lib/python/Screens/SoftcamSetup.py  b/lib/python/Screens/SoftcamSetup.py 
index 0942eaf..0008e4f 100644
--- a/lib/python/Screens/SoftcamSetup.py 
+++ b/lib/python/Screens/SoftcamSetup.py 
@@ -93,10 +97,7 @@ class SoftcamSetup(Screen, ConfigListScreen):
 			from Plugins.Extensions.OscamStatus.plugin import OscamStatus
 			self.session.open(OscamStatus)
 		ppanelFileName = '/etc/ppanels/' + self.softcams.value + '.xml'
-		elif "cccam" in self.softcams.value.lower() and os.path.isfile('/usr/lib/enigma2/python/Plugins/Extensions/CCcamInfo/plugin.py'):
-			from Plugins.Extensions.CCcamInfo.plugin import CCcamInfoMain
-			self.session.open(CCcamInfoMain)
-		elif os.path.isfile(ppanelFileName) and os.path.isfile('/usr/lib/enigma2/python/Plugins/Extensions/PPanel/plugin.py'):
+		if os.path.isfile(ppanelFileName) and os.path.isfile('/usr/lib/enigma2/python/Plugins/Extensions/PPanel/plugin.py'):
 			from Plugins.Extensions.PPanel.ppanel import PPanel
 			self.session.open(PPanel, name = self.softcams.value + ' PPanel', node = None, filename = ppanelFileName, deletenode = None)
 		else:


Dreambox dm920, Uclan Ustym4Kpro, Gigablue UHD TRIO 4K and Dreambox dm8000. Wavefrontier T55 13.0|19.2|23.5|28.2 + Ziggo.


Re: Blue button softcam setup generates a GSOD #9 Pedro_Newbie

  • Senior Member
  • 4,631 posts

+225
Excellent

Posted 16 February 2017 - 09:47

You just beated me, also found the culprit line 95 but I just added a tab before ppanelFilename etc....

resulting in

    def ppanelShortcut(self):
        if "oscam" in self.softcams.value.lower() and os.path.isfile('/usr/lib/enigma2/python/Plugins/Extensions/OscamStatus/plugin.py'):
            from Plugins.Extensions.OscamStatus.plugin import OscamStatus
            self.session.open(OscamStatus)
            ppanelFileName = '/etc/ppanels/' + self.softcams.value + '.xml'
        elif "cccam" in self.softcams.value.lower() and os.path.isfile('/usr/lib/enigma2/python/Plugins/Extensions/CCcamInfo/plugin.py'):
            from Plugins.Extensions.CCcamInfo.plugin import CCcamInfoMain
            self.session.open(CCcamInfoMain)
        elif os.path.isfile(ppanelFileName) and os.path.isfile('/usr/lib/enigma2/python/Plugins/Extensions/PPanel/plugin.py'):
            from Plugins.Extensions.PPanel.ppanel import PPanel
            self.session.open(PPanel, name = self.softcams.value + ' PPanel', node = None, filename = ppanelFileName, deletenode = None)
        else:
            return 0

Edited by Pedro_Newbie, 16 February 2017 - 09:48.


Re: Blue button softcam setup generates a GSOD #10 Beeker

  • PLi® Contributor
  • 1,622 posts

+204
Excellent

Posted 16 February 2017 - 09:52

I will try that. It's was just a quick fix wich revert 2 commit(partially).


Dreambox dm920, Uclan Ustym4Kpro, Gigablue UHD TRIO 4K and Dreambox dm8000. Wavefrontier T55 13.0|19.2|23.5|28.2 + Ziggo.


Re: Blue button softcam setup generates a GSOD #11 Beeker

  • PLi® Contributor
  • 1,622 posts

+204
Excellent

Posted 16 February 2017 - 10:00

Yes ok.


Dreambox dm920, Uclan Ustym4Kpro, Gigablue UHD TRIO 4K and Dreambox dm8000. Wavefrontier T55 13.0|19.2|23.5|28.2 + Ziggo.


Re: Blue button softcam setup generates a GSOD #12 littlesat

  • PLi® Core member
  • 57,559 posts

+709
Excellent

Posted 16 February 2017 - 10:57

FYI:

https://github.com/O...93abbc6da61d2b2

 

Sorry... it might be too late last night.... ;)


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