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.

View Entry Info: PicturePlayer: pressing green causing a crash

Category:
Possible Bug
What ViX Image build number are you using?
Please provide your ViX Team image build number. Menu > Information > About > Build number > ENTER THIS NUMBER e.g. 4.2.028
6.2.007
Have you tried a flash WITHOUT settings restore?
Have you tried this? PLEASE SELECT YES OR NO.
No
Have you tried a flash WITH settings restore?
Have you tried this? PLEASE SELECT YES OR NO.
No
Results 1 to 3 of 3

Thread: PicturePlayer: pressing green causing a crash

  1. #1

    Title
    ViX Beta Tester
    Join Date
    Nov 2020
    Location
    Finland
    Posts
    625
    Thanks
    217
    Thanked 77 Times in 64 Posts

    PicturePlayer: pressing green causing a crash

    Hello,

    when pressing green button on Picture Player is causing a crash.

    < 97046.7064> 10:58:37.8225 [InfoBarGenerics] Key: 399 (Make) KeyID='KEY_GREEN' Binding='('GREEN',)'.
    < 97047.0421> 10:58:38.1582 [eInputDeviceInit] 0 18f (399) 1
    < 97047.0421> 10:58:38.1582 [eRCDeviceInputDev] emit: 0
    < 97047.0425> 10:58:38.1586 [InfoBarGenerics] Key: 399 (Break) KeyID='KEY_GREEN' Binding='('GREEN',)'.
    < 97047.0429> 10:58:38.1590 [ActionMap] Keymap 'ColorActions' -> Action = 'green'.
    < 97047.0452> 10:58:38.1612 Traceback (most recent call last):
    < 97047.0452> 10:58:38.1613 File "/usr/lib/enigma2/python/Components/ActionMap.py", line 58, in action
    < 97047.0457> 10:58:38.1618 File "/usr/lib/enigma2/python/Plugins/Extensions/PicturePlayer/ui.py", line 113, in KeyGreen
    < 97047.0461> 10:58:38.1622 File "/usr/lib/enigma2/python/StartEnigma.py", line 304, in openWithCallback
    < 97047.0468> 10:58:38.1629 dlg = self.open(screen, *arguments, **kwargs)
    < 97047.0469> 10:58:38.1630 File "/usr/lib/enigma2/python/StartEnigma.py", line 314, in open
    < 97047.0475> 10:58:38.1636 dlg = self.current_dialog = self.instantiateDialog(screen, *arguments, **kwargs)
    < 97047.0475> 10:58:38.1636 File "/usr/lib/enigma2/python/StartEnigma.py", line 251, in instantiateDialog
    < 97047.0480> 10:58:38.1641 return self.doInstantiateDialog(screen, arguments, kwargs, self.desktop)
    < 97047.0480> 10:58:38.1641 File "/usr/lib/enigma2/python/StartEnigma.py", line 274, in doInstantiateDialog
    < 97047.0486> 10:58:38.1647 dlg = screen(self, *arguments, **kwargs)
    < 97047.0486> 10:58:38.1647 File "/usr/lib/enigma2/python/Plugins/Extensions/PicturePlayer/ui.py", line 257, in __init__
    < 97047.0490> 10:58:38.1651 TypeError: 'float' object cannot be interpreted as an integer
    < 97047.0491> 10:58:38.1652 [ePyObject] (CallObject(<bound method ActionMap.action of <Components.ActionMap.ActionMap object at 0xad7f3b08>>,('ColorActions', 'green')) failed)

  2. #2
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,630
    Thanks
    2,006
    Thanked 4,953 Times in 3,274 Posts
    Probably this: https://github.com/OpenViX/enigma2/c...c1c24ab70569af

    "range" needs an "int".

    Code:
    >>>
    >>> for x in range(5.0):
    ...     pass
    ...
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
    TypeError: 'float' object cannot be interpreted as an integer
    >>>
    Help keep OpenViX servers online.Please donate!

  3. #3

    Title
    ViX Beta Tester
    Join Date
    Nov 2020
    Location
    Finland
    Posts
    625
    Thanks
    217
    Thanked 77 Times in 64 Posts
    Confirmed working, thank you Huevos.

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.