Superb quality and spec AB-Com PULSe 4K SE. Crazy offer! Only £129! FREE UK DELIVERY! 4K UHD, Enigma 2, Multiboot 4 images & more!...
Superb quality and spec AB-Com PULSe 4K Rev II Twin Satellite tuner only £179! FREE UK DELIVERY! 4K UHD, Enigma 2, SATA HDD facility, Multiboot 4 images & more!...

[OS-mio+] [Multibootmgr.py] Bug Not current image Selected and some corrections

norhap

Member
Joined
Jul 13, 2011
Messages
189
Reaction score
0
Points
16
Age
54
If we do not have any images in the remaining slots, simply enter Multiboot Manager and press OK key we have BSOD:


Code:
<  9063.030>   File "/usr/lib64/enigma2/python/Components/ActionMap.py", line 57, in action
<  9063.031>   File "/usr/lib64/enigma2/python/Plugins/SystemPlugins/ViX/Multibootmgr.py", line 135, in erase
<  9063.031>     if self.currentSelected[0][1] != "Queued":
<  9063.031> TypeError: 'NoneType' object has no attribute '__getitem__'
<  9063.031> [ePyObject] (CallObject(<bound method ActionMap.action of <Components.ActionMap.ActionMap instance at 0x7f8032d680>>,('OkCancelActions', 'ok')) failed)

This occurs because the current code has no return if there are no images in the slots.
solved:

Add this code line 135 Multibootmgr.py:

Code:
		if self.currentSelected == None:
			return

=======================================================================================================================================

I will take advantage of this post to also publish the solution to a debug cleaning ... look here .....

https://github.com/norhap/vix-u5pvr/commit/fe093f70e04e73feed44eba37856d1097465db9f

========================================================================================================================================

more......

although right now with the current code works the numeric keys to choose audio track ....

there are actions not defined in keymap, with this we set volumeMute from the AudioSelection Screen.

have a look...
https://github.com/norhap/vix-u5pvr/commit/1e9cea3705d0aa4466775a897f43cd9edbc2452e

regards.
norhap.
 

OpenViX Feeds Status

Back
Top