First of all, I want to thank you for the neat explanation of setting up Docker with enigma2. That in itself works well. I see that my breakpoint is working with loading. Unfortunately when I click on F4 to select my plugin I get the following stack trace:
Traceback (most recent call last): File "/usr/lib/enigma2/python/Components/ActionMap.py", line 49, in action res = self.actions[action]() File "/usr/lib/enigma2/python/Screens/InfoBarGenerics.py", line 2193, in showExtensionSelection self.session.openWithCallback(self.extensionCallback, ChoiceBox, title=_("Please choose an extension..."), list=list, keys=keys, skin_name="ExtensionsList", reorderConfig="extension_order", windowTitle=_("Extensions menu")) File "/usr/lib/enigma2/python/mytest.py", line 289, in openWithCallback dlg = self.open(screen, *arguments, **kwargs) File "/usr/lib/enigma2/python/mytest.py", line 299, in open dlg = self.current_dialog = self.instantiateDialog(screen, *arguments, **kwargs) File "/usr/lib/enigma2/python/mytest.py", line 242, in instantiateDialog return self.doInstantiateDialog(screen, arguments, kwargs, self.desktop) File "/usr/lib/enigma2/python/mytest.py", line 266, in doInstantiateDialog dlg.applySkin() File "/usr/lib/enigma2/python/Components/GUISkin.py", line 154, in applySkin self.createGUIScreen(self.instance, self.desktop) File "/usr/lib/enigma2/python/Components/GUISkin.py", line 55, in createGUIScreen exec f in globals(), locals() File "skin applet", line 1, in <module> File "/usr/lib/enigma2/python/Screens/ChoiceBox.py", line 119, in autoResize wsizex = x_width(textsize[0]) + x_offset() + 10 + scrollbar File "/usr/lib/enigma2/python/Screens/ChoiceBox.py", line 105, in x_width return max(max([getListLineTextWidth(line[0][0]) for line in self["list"].list]), textsize) ValueError: max() arg is an empty sequence [ePyObject] (CallObject(<bound method HelpableActionMap.action of <Components.ActionMap.HelpableActionMap instance at 0x7f16d4234640>>,('InfobarExtensions', 'extensions')) failed) [gRC] main thread is non-idle! display spinner! The terminal process "docker 'exec', '-it', '-e', 'ENIGMA_DEBUG_LVL=5', 'enigma2', '/usr/bin/enigma2', '/opt/mytest-ptvsd.py'" terminated with exit code: 137.
118 offset = self["list"].l.getItemSize().height() * count 119 wsizex = 512 #x_width(textsize[0]) + x_offset() + 10 + scrollbar 120 #precount description size 121 descrsize = self["description"].getSize() 122 self["description"].instance.resize(enigma.eSize(*(wsizex - 20, descrsize[1] if descrsize[1] > 0 else 0))) 123 # then get true description height 124 descriptionHeight = 50 #getMaxDescriptionHeight() 125 wsizey = textsize[1] + offset + descriptionHeight
But I can develop my addon now.... many thnx for that.