PDA

View Full Version : 5.4 001.037 PIP crash



BrokenUnusableAccount
30-09-20, 17:49
I did my own Developer build 5.4.001.037 for the Zgemma H7.
It works pretty well except in PiP mode when I press Blue Blue to start PiP it crashes.
Log attached just in case anyone has time to look at it, no problem if not.

Willo3092
30-09-20, 18:10
Have you changed from Kodi mode to PiP mode?

abu baniaz
30-09-20, 18:11
Moved post into it's own thread



< 106.3448> 15:11:32.0545 [InfoBarGenerics] Key: 401 (Break) KeyID='KEY_BLUE' Binding='('BLUE',)'.
< 106.3451> 15:11:32.0548 [ActionMap] Keymap 'ColorActions' -> Action = 'blue'.
< 106.3482> 15:11:32.0579 [Screen] Showing screen 'InfoBarSummary'.
< 106.3524> 15:11:32.0621 Traceback (most recent call last):
< 106.3525> 15:11:32.0622 File "/usr/lib/enigma2/python/mytest.py", line 239, in processDelay
< 106.3536> 15:11:32.0634 callback(*retval)
< 106.3537> 15:11:32.0635 File "/usr/lib/enigma2/python/Screens/InfoBarGenerics.py", line 2788, in extensionCallback
< 106.3541> 15:11:32.0639 File "/usr/lib/enigma2/python/Screens/InfoBarGenerics.py", line 3058, in showPiP
< 106.3543> 15:11:32.0640 NameError: global name 'getMachineBrand' is not defined
< 106.3544> 15:11:32.0641 [ePyObject] (CallObject(<bound method Session.processDelay of <__main__.Session instance at 0xafc87530>>,()) failed)



The machine brand was removed in a previous commit recently



elif info:
self.session.open(MessageBox, _("Your %s %s does not support PiP HD") % (getMachineBrand(), getMachineName()), type = MessageBox.TYPE_INFO,timeout = 5 )
else:
self.session.open(MessageBox, _("No active channel found."), type = MessageBox.TYPE_INFO,timeout = 5 )
if self.session.pipshown and hasattr(self, "screenSaverTimer"):
self.screenSaverTimer.stop()


EDIT:
Fixed here: https://github.com/OpenViX/enigma2/commit/fb3338bb1ab5f13a8dff47cdd22139da9e717da3

BrokenUnusableAccount
30-09-20, 19:24
EDIT:
Fixed here: https://github.com/OpenViX/enigma2/commit/fb3338bb1ab5f13a8dff47cdd22139da9e717da3

You sir, are rapidly becoming my top tech hero.

BrokenUnusableAccount
02-10-20, 02:26
It's not consistantly stopping it crashing!?

How does

from boxbranding import getBrandOEM, getMachineBuild
ensure that

getMachineBrand()
and

getMachineName()
are defined?
Is the change correct?

IanSav
02-10-20, 04:00
Hi ThoughtfulLurker61,

A fix pull request (https://github.com/Huevos/enigma2/pull/287) has been raised. I can't test the fix but will make further corrections if you find more problems.

Regards,
Ian.

BrokenUnusableAccount
02-10-20, 04:12
You're both stars.

BrokenUnusableAccount
02-10-20, 12:39
Now, with 5.4.001.039 I get the error message saying the Zgemma H7 does not support HD PiP!

However it definitely does support HD PiP since I can start PiP on an SD service and then change both the main service and the PiP service to different HD services and it works fine.

twol
02-10-20, 18:56
Now, with 5.4.001.039 I get the error message saying the Zgemma H7 does not support HD PiP!

However it definitely does support HD PiP since I can start PiP on an SD service and then change both the main service and the PiP service to different HD services and it works fine.

Can you post the message - want to see which component is issuing the message

BrokenUnusableAccount
02-10-20, 20:31
Can you post the message - want to see which component is issuing the message

It's from line 3059 of InfoBarGenerics.py

I'm now asking about it on Github (where I am BrianG61UK)
See: fb3338b (https://github.com/OpenViX/enigma2/commit/fb3338bb1ab5f13a8dff47cdd22139da9e717da3)
and now also: 39048b6 (https://github.com/OpenViX/enigma2/commit/39048b6877c20352a7656e9c2396ad56a80b5583)