Hello Guest, if you are reading this it means you have not registered yet. Please take a second, Click here to register, and in a few simple steps you will be able to enjoy our community and use our OpenViX support section.
Results 1 to 1 of 1

Thread: [Multibootmgr.py] Bug Not current image Selected and some corrections

  1. #1

    Title
    Senior Member
    Join Date
    Jul 2011
    Posts
    189
    Thanks
    84
    Thanked 66 Times in 46 Posts

    [Multibootmgr.py] Bug Not current image Selected and some corrections

    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/...56d1097465db9f

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

    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/...43cd9edbc2452e

    regards.
    norhap.

  2. The Following User Says Thank You to norhap For This Useful Post:

    twol (30-12-19)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.