Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ConfigList.py] fix Py3 crash, TypeError: object of type 'zip' has no… #1943

Merged
merged 1 commit into from Jun 5, 2021
Merged

Conversation

Huevos
Copy link
Contributor

@Huevos Huevos commented Jun 5, 2021

… len()

[ActionMap] Keymap 'SetupActions' -> Action = 'file'.
Traceback (most recent call last):
File "/usr/lib/enigma2/python/Components/ActionMap.py", line 79, in action
return ActionMap.action(self, contexts, action)
File "/usr/lib/enigma2/python/Components/ActionMap.py", line 59, in action
res = self.actionsaction
File "/usr/lib/enigma2/python/Components/ConfigList.py", line 290, in keyFile
self.session.openWithCallback(self.handleKeyFileCallback, ChoiceBox, selection[0],
File "/usr/lib/enigma2/python/mytest.py", line 350, in openWithCallback
dlg = self.open(screen, *arguments, **kwargs)
File "/usr/lib/enigma2/python/mytest.py", line 369, in open
dlg = self.current_dialog = self.instantiateDialog(screen, *arguments, **kwargs)
File "/usr/lib/enigma2/python/mytest.py", line 298, in instantiateDialog
return self.doInstantiateDialog(screen, arguments, kwargs, self.desktop)
File "/usr/lib/enigma2/python/mytest.py", line 320, in doInstantiateDialog
dlg = screen(self, *arguments, **kwargs)
File "/usr/lib/enigma2/python/Screens/ChoiceBox.py", line 79, in init
self.__keys = keys + (len(list) - len(keys)) * [""]
TypeError: object of type 'zip' has no len()
[ePyObject] (PyObject_CallObject(<bound method NumberActionMap.action of <Components.ActionMap.NumberActionMap object at 0xad6e5d00>>,('SetupActions', 'file')) failed)

… len()

[ActionMap] Keymap 'SetupActions' -> Action = 'file'.
Traceback (most recent call last):
  File "/usr/lib/enigma2/python/Components/ActionMap.py", line 79, in action
    return ActionMap.action(self, contexts, action)
  File "/usr/lib/enigma2/python/Components/ActionMap.py", line 59, in action
    res = self.actions[action]()
  File "/usr/lib/enigma2/python/Components/ConfigList.py", line 290, in keyFile
    self.session.openWithCallback(self.handleKeyFileCallback, ChoiceBox, selection[0],
  File "/usr/lib/enigma2/python/mytest.py", line 350, in openWithCallback
    dlg = self.open(screen, *arguments, **kwargs)
  File "/usr/lib/enigma2/python/mytest.py", line 369, in open
    dlg = self.current_dialog = self.instantiateDialog(screen, *arguments, **kwargs)
  File "/usr/lib/enigma2/python/mytest.py", line 298, in instantiateDialog
    return self.doInstantiateDialog(screen, arguments, kwargs, self.desktop)
  File "/usr/lib/enigma2/python/mytest.py", line 320, in doInstantiateDialog
    dlg = screen(self, *arguments, **kwargs)
  File "/usr/lib/enigma2/python/Screens/ChoiceBox.py", line 79, in __init__
    self.__keys = keys + (len(list) - len(keys)) * [""]
TypeError: object of type 'zip' has no len()
[ePyObject] (PyObject_CallObject(<bound method NumberActionMap.action of <Components.ActionMap.NumberActionMap object at 0xad6e5d00>>,('SetupActions', 'file')) failed)
@jbleyel jbleyel merged commit ff84690 into openatv:6.5 Jun 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants