GitHub
Moderator
[Setup.py] bug fix, sort ConfigList by text item only
When the setup item Setup -> User Interface -> Settings -> Sort setting screens alphabetically is set to Yes, the box crashes...
< 964.9198> 12:54:54.2919 [Setup] XML cached setup file '/usr/share/enigma2/setup.xml', using element 'subtitlesetup'.
< 964.9250> 12:54:54.2972 Traceback (most recent call last):
< 964.9251> 12:54:54.2972 File "/usr/lib/enigma2/python/Components/ActionMap.py", line 58, in action
< 964.9254> 12:54:54.2975 File "/usr/lib/enigma2/python/Screens/Menu.py", line 86, in okbuttonClick
< 964.9256> 12:54:54.2977 File "/usr/lib/enigma2/python/Tools/BoundFunction.py", line 10, in __call__
< 964.9258> 12:54:54.2979 File "/usr/lib/enigma2/python/Screens/Menu.py", line 108, in openSetup
< 964.9260> 12:54:54.2981 File "/usr/lib/enigma2/python/StartEnigma.py", line 326, in openWithCallback
< 964.9266> 12:54:54.2988 dlg = self.open(screen, *arguments, **kwargs)
< 964.9267> 12:54:54.2988 File "/usr/lib/enigma2/python/StartEnigma.py", line 336, in open
< 964.9272> 12:54:54.2993 dlg = self.current_dialog = self.instantiateDialog(screen, *arguments, **kwargs)
< 964.9272> 12:54:54.2993 File "/usr/lib/enigma2/python/StartEnigma.py", line 273, in instantiateDialog
< 964.9276> 12:54:54.2998 return self.doInstantiateDialog(screen, arguments, kwargs, self.desktop)
< 964.9277> 12:54:54.2998 File "/usr/lib/enigma2/python/StartEnigma.py", line 296, in doInstantiateDialog
< 964.9282> 12:54:54.3003 dlg = screen(self, *arguments, **kwargs)
< 964.9282> 12:54:54.3003 File "/usr/lib/enigma2/python/Screens/Setup.py", line 40, in __init__
< 964.9284> 12:54:54.3006 File "/usr/lib/enigma2/python/Screens/Setup.py", line 90, in createSetup
< 964.9287> 12:54:54.3008 TypeError: '<' not supported between instances of 'ConfigYesNo' and 'ConfigSelection'
< 964.9287> 12:54:54.3008 [ePyObject] (CallObject(<bound method ActionMap.action of <Components.ActionMap.HelpableActionMap object at 0xad9a0898>>,('OkCancelActions', 'ok')) failed)
Continue reading...
When the setup item Setup -> User Interface -> Settings -> Sort setting screens alphabetically is set to Yes, the box crashes...
< 964.9198> 12:54:54.2919 [Setup] XML cached setup file '/usr/share/enigma2/setup.xml', using element 'subtitlesetup'.
< 964.9250> 12:54:54.2972 Traceback (most recent call last):
< 964.9251> 12:54:54.2972 File "/usr/lib/enigma2/python/Components/ActionMap.py", line 58, in action
< 964.9254> 12:54:54.2975 File "/usr/lib/enigma2/python/Screens/Menu.py", line 86, in okbuttonClick
< 964.9256> 12:54:54.2977 File "/usr/lib/enigma2/python/Tools/BoundFunction.py", line 10, in __call__
< 964.9258> 12:54:54.2979 File "/usr/lib/enigma2/python/Screens/Menu.py", line 108, in openSetup
< 964.9260> 12:54:54.2981 File "/usr/lib/enigma2/python/StartEnigma.py", line 326, in openWithCallback
< 964.9266> 12:54:54.2988 dlg = self.open(screen, *arguments, **kwargs)
< 964.9267> 12:54:54.2988 File "/usr/lib/enigma2/python/StartEnigma.py", line 336, in open
< 964.9272> 12:54:54.2993 dlg = self.current_dialog = self.instantiateDialog(screen, *arguments, **kwargs)
< 964.9272> 12:54:54.2993 File "/usr/lib/enigma2/python/StartEnigma.py", line 273, in instantiateDialog
< 964.9276> 12:54:54.2998 return self.doInstantiateDialog(screen, arguments, kwargs, self.desktop)
< 964.9277> 12:54:54.2998 File "/usr/lib/enigma2/python/StartEnigma.py", line 296, in doInstantiateDialog
< 964.9282> 12:54:54.3003 dlg = screen(self, *arguments, **kwargs)
< 964.9282> 12:54:54.3003 File "/usr/lib/enigma2/python/Screens/Setup.py", line 40, in __init__
< 964.9284> 12:54:54.3006 File "/usr/lib/enigma2/python/Screens/Setup.py", line 90, in createSetup
< 964.9287> 12:54:54.3008 TypeError: '<' not supported between instances of 'ConfigYesNo' and 'ConfigSelection'
< 964.9287> 12:54:54.3008 [ePyObject] (CallObject(<bound method ActionMap.action of <Components.ActionMap.HelpableActionMap object at 0xad9a0898>>,('OkCancelActions', 'ok')) failed)
Continue reading...