After today's enigma update,2 plugins stopped running subssupport and extensions-kodi.What you need to do to run these plugins.
Posted 5 July 2020 - 18:54
Log
Plugin Extensions/SubsSupport failed to load: 'str' object has no attribute 'dialog_stack' Traceback (most recent call last): File "/usr/lib/enigma2/python/Components/PluginComponent.py", line 52, in readPluginList File "/usr/lib/enigma2/python/Tools/Import.py", line 2, in my_import File "/usr/lib/enigma2/python/Plugins/Extensions/SubsSupport/__init__.py", line 31, in <module> from subtitles import SubsSupport, SubsSupportStatus, initSubsSettings File "/usr/lib/enigma2/python/Plugins/Extensions/SubsSupport/subtitles.py", line 61, in <module> from compat import eConnectCallback, FileList File "/usr/lib/enigma2/python/Plugins/Extensions/SubsSupport/compat.py", line 65, in <module> OrigMessageBox("", "", simple=True) File "/usr/lib/enigma2/python/Screens/MessageBox.py", line 49, in __init__ File "/usr/lib/enigma2/python/Screens/Screen.py", line 148, in setTitle AttributeError: 'str' object has no attribute 'dialog_stack' E2KODI_DEBUG_LVL = 40 Plugin Extensions/Kodi failed to load: 'str' object has no attribute 'dialog_stack' [GUISkin] Warning: Skin is missing element 'WarningPixmap' in <class 'Screens.MessageBox.MessageBox'>(Некоторые плагины недоступны: Extensions/SubsSupport ('str' object has no attribute 'dialog_stack') Extensions/Kodi ('str' object has no attribute 'dialog_stack') ). [GUISkin] Warning: Skin is missing element 'autoresize' in <class 'Screens.MessageBox.MessageBox'>(Некоторые плагины недоступны: Extensions/SubsSupport ('str' object has no attribute 'dialog_stack') Extensions/Kodi ('str' object has no attribute 'dialog_stack')
Posted 5 July 2020 - 20:35
Hi Foxbob,
I don't know anything about Kodi on Enigma2. Is it running as a plugin or a separate process? If it is using Enigma2 resources then it should have a Session and then the data should be available. This error hints that it is not integrated into Enigma2.
Can anyone help me with information about how Kodi is linked into Enigma2?
Regards,
Ian.
Posted 5 July 2020 - 20:43
Hi Foxbob,
Line 148 of the Screen.py is "if len(self.session.dialog_stack) > 2:" for this to fail there must be something very wrong with the Enigma2 session that is being used. All screens being properly launched in Enigma2 must have a session and the sessions must have a dialog_stack.
Something very unexpected is happening here.
Regards,
Ian.
Posted 5 July 2020 - 20:53
I won’t tell you about kodi,it’s like a process.But subssupport works as a plug-in.
The kodi management plugin does not start http://github.com/mx3L/kodiext.
When I return the changes everything works.Maybe you need to add something to these plugins?
Edited by foxbob, 5 July 2020 - 20:54.
Posted 5 July 2020 - 21:00
Hi Foxbob,
I can't find any Python code that relates to Kodi. I need to know what is going on to address the issue. Kodi itself doesn't set any titles so what is making this call? If Kodi is calling functions in Enigma2 then it appears to not be doing it properly.
Okay, the link you provided appears to be what I wanted. Looking at it now...
Regards,
Ian.
Posted 5 July 2020 - 21:11
Hi Foxbob,
This is not going to be a quick fix. It appears that the Kodi Starter plugin is redefining the Enigma2 standard method "getTitle()". I need to speak to Captain and/or pull this apart and understand what is going on.
It is now after 6:00 AM in the morning here so I need to get some sleep first. I will update this thread when I know more.
Regards,
Ian.
Posted 5 July 2020 - 21:18
Hi Foxbob,
Captain, the author of this code, is not currently online. I will try and speak with him ASAP to find out what he is doing in his code. It certainly looks like the code you are running has not been changed to support OpenPLi. (Captain is a developer for OpenATV.)
Can you please give me all the steps, from live TV, that I need to take to generate this crash.
Again, let me ask if the code is breaking *anywhere* else in OpenPLi?
Regards,
Ian.
Edited by IanSav, 5 July 2020 - 21:20.
Posted 5 July 2020 - 21:23
Hi Foxbob,
I just installed Kodi on my OpenViX box that is running the same Screen.py code with the new title code that is in OpenPLi and Kodi started with no issues. I need to know exactly what you are doing to get to where the crash is happening. You can start your description from when Kodi starts.
Regards,
Ian.
Edited by IanSav, 5 July 2020 - 21:24.
Posted 5 July 2020 - 21:31
Hi Foxbob,
Sorry, this is not Captain's code he is only a contributor. Still he may know more about the code.
Again, I can't move forward until you document how to trigger the crash.
As you no longer seem to be online and I appear to be talking to myself, I am going to get some sleep and hope that you have given me the information I need by the time I wake.
Regards,
Ian.
Posted 6 July 2020 - 06:17
Once again I repeat.There is no failure,when you enter the menu of installed plugins a message appears and these plugins do not work.Before the change,everything worked.I made a plugin download log:
Plugin Extensions/SubsSupport failed to load: 'str' object has no attribute 'dialog_stack' Traceback (most recent call last): File "/usr/lib/enigma2/python/Components/PluginComponent.py", line 52, in readPluginList File "/usr/lib/enigma2/python/Tools/Import.py", line 2, in my_import File "/usr/lib/enigma2/python/Plugins/Extensions/SubsSupport/__init__.py", line 31, in <module> from subtitles import SubsSupport, SubsSupportStatus, initSubsSettings File "/usr/lib/enigma2/python/Plugins/Extensions/SubsSupport/subtitles.py", line 61, in <module> from compat import eConnectCallback, FileList File "/usr/lib/enigma2/python/Plugins/Extensions/SubsSupport/compat.py", line 65, in <module> OrigMessageBox("", "", simple=True) File "/usr/lib/enigma2/python/Screens/MessageBox.py", line 49, in __init__ File "/usr/lib/enigma2/python/Screens/Screen.py", line 148, in setTitle AttributeError: 'str' object has no attribute 'dialog_stack' E2KODI_DEBUG_LVL = 40 Plugin Extensions/Kodi failed to load: 'str' object has no attribute 'dialog_stack'
Posted 6 July 2020 - 06:30
Edited by littlesat, 6 July 2020 - 06:31.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Posted 6 July 2020 - 06:57
https://github.com/m...lugin/compat.py
# there is no simple MessageBox in DMM images SimpleMessageBox = False try: OrigMessageBox("", "", simple=True) SimpleMessageBox = True except TypeError: pass
from Screens.MessageBox import MessageBox as OrigMessageBox
Edited by Dimitrij, 6 July 2020 - 06:58.
GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K
0 members, 1 guests, 0 anonymous users