You built Release ( ) so please make sure you have unstable updates enabled.
1.jpg
You built Release ( ) so please make sure you have unstable updates enabled.
1.jpg
Willo3092 (17-09-21)
I have done now, thank you
1_0_19_D7E7_82C_2_11A0000_0_0_0_20210917170546.jpg
Does it make any difference in plugin browser?
Not now that I'm using twol's fix. Do you want me to try it with the original file?
Pass.
It was discussed 5 years ago.
https://www.world-of-satellite.com/s...ses-a-bootloop
MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD
- It is not built from Enigma2-plugins because the code does not correspond.
- No one had a clue what this was 5 years ago and we still are building it.
- Can someone do a fresh install without restore to verify this is embedded in the main image.zip.
- We need to find out where this is coming from and what requires it.
- If it is not needed it should be removed.
- If another plugin requires some code it should be packaged in that plugin.
- Having one plugin depending on another without any contingency is ludicrous.
OK, I'm on 5.5.015.003, no settings/plugins restored.
Is this a clue ? ......
Code:root@vuultimo4k:/usr/lib/enigma2/python/Plugins/Extensions# ls -lR WebInterface WebInterface: drwxr-xr-x 4 root root 4096 Sep 18 12:55 WebChilds -rw-r--r-- 1 root root 0 Sep 18 12:55 __init__.py drwxr-xr-x 2 root root 4096 Sep 18 12:55 __pycache__ WebInterface/WebChilds: drwxr-xr-x 2 root root 4096 Sep 18 12:55 External lrwxrwxrwx 1 root root 68 Sep 18 12:55 Toplevel.py -> /usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/pluginshook.src -rw-r--r-- 1 root root 0 Sep 18 12:55 __init__.py drwxr-xr-x 2 root root 4096 Sep 18 12:55 __pycache__ WebInterface/WebChilds/External: -rw-r--r-- 1 root root 0 Sep 18 12:55 __init__.py WebInterface/WebChilds/__pycache__: -rw-r--r-- 1 root root 618 Sep 18 12:55 Toplevel.cpython-39.pyc -rw-r--r-- 1 root root 168 Sep 18 12:55 __init__.cpython-39.pyc WebInterface/__pycache__: -rw-r--r-- 1 root root 158 Sep 18 12:55 __init__.cpython-39.pyc root@vuultimo4k:/usr/lib/enigma2/python/Plugins/Extensions#Code:root@vuultimo4k:/usr/lib/enigma2/python/Plugins/Extensions# ls -l /usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/pluginshook.src -rw-r--r-- 1 root root 464 Sep 14 00:05 /usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/pluginshook.src root@vuultimo4k:/usr/lib/enigma2/python/Plugins/Extensions#There's also an "odd" reference to WebInterface here...Code:root@vuultimo4k:/usr/lib/enigma2/python/Plugins/Extensions# cat !$ cat /usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/pluginshook.src from __future__ import print_function loaded_plugins = [] def addExternalChild(plugin_args): if len(plugin_args) > 2: # ignore internal extensions if plugin_args[0] not in ["autotimer", "autotimereditor", "vpsplugin", "epgrefresh", "bouqueteditor"]: for plugin in loaded_plugins: if plugin[0] == plugin_args[0]: print("[OpenWebif] error: path '%s' already registered" % plugin[0]) return loaded_plugins.append(plugin_args) return True root@vuultimo4k:/usr/lib/enigma2/python/Plugins/Extensions#
Code:https://github.com/OpenViX/enigma2/blob/f4e136641b7169cadb5bbaf4e42bf51a89a63257/lib/python/Components/PluginComponent.py#L66
Last edited by ccs; 18-09-21 at 13:13.
Poor man's find......
Code:./Plugins/Extensions/WebInterface/WebChilds/__pycache__/Toplevel.cpython-39.pyc:·M/usr/lib/enigma2/python/Plugins/Extensions/WebInterface/WebChilds/Toplevel.py┌►addExternalChild♦ ./Plugins/Extensions/WebInterface/WebChilds/__pycache__/__init__.cpython-39.pyc:·M/usr/lib/enigma2/python/Plugins/Extensions/WebInterface/WebChilds/__init__.py<module>☺ ./Plugins/Extensions/WebInterface/__pycache__/__init__.cpython-39.pyc:·C/usr/lib/enigma2/python/Plugins/Extensions/WebInterface/__init__.py<module>☺ ./Plugins/Extensions/AutoTimer/locale/de/LC_MESSAGES/AutoTimer.mo:X-Poedit-SearchPath-1: ../src/webinterface ./Plugins/Extensions/AutoTimer/locale/da/LC_MESSAGES/AutoTimer.mo:X-Poedit-SearchPath-1: ../src/webinterface ./Plugins/Extensions/AutoTimer/locale/et/LC_MESSAGES/AutoTimer.mo:X-Poedit-SearchPath-1: ../src/webinterface ./Plugins/Extensions/AutoTimer/plugin.py: from Plugins.Extensions.WebInterface.WebChilds.Toplevel import addExternalChild ./Plugins/Extensions/AutoTimer/plugin.py: from Plugins.Extensions.WebInterface.WebChilds.Screenpage import ScreenPage ./Plugins/Extensions/AutoTimer/web-data/autotimereditor.js: alert("Old WebInterface found!\nPlease update the WebInterface Plugin first."); ./Plugins/Extensions/AutoTimer/web-data/tplAutoTimerPreview.htm: If You like the AutoTimer WebInterface feel free to buy me a ./Plugins/Extensions/AutoTimer/web-data/index.html: <!-- Webinterface Stuff --> ./Plugins/Extensions/AutoTimer/web-data/tplAbout.htm: If You like the AutoTimer WebInterface feel free to ./Plugins/Extensions/AutoTimer/WebScreens/AutoTimerEditorWebScreens.py:from Plugins.Extensions.WebInterface.WebScreens import WebScreen ./Plugins/Extensions/AutoTimer/__pycache__/plugin.cpython-39.pyc:┌☺1)∟┌2Plugins.Extensions.WebInterface.WebChilds.Toplevelr% ./Plugins/Extensions/AutoTimer/__pycache__/plugin.cpython-39.pyc:┌4Plugins.Extensions.WebInterface.WebChilds.Screenpager& ./Screens/Screen.py: # DEBUG: Variable already_shown used in webinterface/src/WebScreens.py... ./Components/PluginComponent.py: if not pluginname == "WebInterface": ./Components/__pycache__/PluginComponent.cpython-39.pyc:)┌ print_exc┌ WebInterfacez=[PluginComponent] Plugin probably removed, but not cleanly inz#[PluginComponent] trying to remove:Nz root@vuultimo4k:/usr/lib/enigma2/python#
Last edited by ccs; 18-09-21 at 15:01.
OpenWebif was excluded from the previous find.....
Code:./httpserver.py: pluginpath = enigma.eEnv.resolve('${libdir}/enigma2/python/Plugins/Extensions/WebInterface/plugin.py') ./httpserver.py: origwebifpath = enigma.eEnv.resolve('${libdir}/enigma2/python/Plugins/Extensions/WebInterface') ./httpserver.py: from Plugins.Extensions.WebInterface.WebChilds.Toplevel import loaded_plugins ./locale/de/LC_MESSAGES/OpenWebif.mo:OSCam Webinterface ./locale/de/LC_MESSAGES/OpenWebif.mo:OpenWebInterface Enabled ./locale/de/LC_MESSAGES/OpenWebif.mo:OSCam-Webinterface ./locale/de/LC_MESSAGES/OpenWebif.mo:Quelloffenes Webinterface f r Linux-Receiver ./locale/de/LC_MESSAGES/OpenWebif.mo:OpenWebinterface einschalten ./locale/hu/LC_MESSAGES/OpenWebif.mo:NCam Webinterface ./locale/hu/LC_MESSAGES/OpenWebif.mo:OSCam Webinterface ./locale/hu/LC_MESSAGES/OpenWebif.mo:OpenWebInterface Enabled ./locale/hu/LC_MESSAGES/OpenWebif.mo:NCam Webinterface ./locale/hu/LC_MESSAGES/OpenWebif.mo:OSCam Webinterface ./locale/hu/LC_MESSAGES/OpenWebif.mo:OpenWebInterface enged lyezve ./locale/el/LC_MESSAGES/OpenWebif.mo:OSCam Webinterface ./locale/el/LC_MESSAGES/OpenWebif.mo:OpenWebInterface Enabled ./locale/el/LC_MESSAGES/OpenWebif.mo:OpenWebInterface ./locale/nb/LC_MESSAGES/OpenWebif.mo:NCam Webinterface ./locale/nb/LC_MESSAGES/OpenWebif.mo:OSCam Webinterface ./locale/nb/LC_MESSAGES/OpenWebif.mo:OpenWebInterface Enabled ./locale/nb/LC_MESSAGES/OpenWebif.mo:NCam webinterface ./locale/nb/LC_MESSAGES/OpenWebif.mo:OpenWebInterface er aktivert ./locale/nl/LC_MESSAGES/OpenWebif.mo:NCam Webinterface ./locale/nl/LC_MESSAGES/OpenWebif.mo:OSCam Webinterface ./locale/nl/LC_MESSAGES/OpenWebif.mo:OpenWebInterface Enabled ./locale/nl/LC_MESSAGES/OpenWebif.mo:NCam Webinterface ./locale/nl/LC_MESSAGES/OpenWebif.mo:OSCam Webinterface ./locale/nl/LC_MESSAGES/OpenWebif.mo:OpenWebinterface status ./locale/sk/LC_MESSAGES/OpenWebif.mo:OSCam Webinterface ./locale/sk/LC_MESSAGES/OpenWebif.mo:OpenWebInterface Enabled ./locale/sk/LC_MESSAGES/OpenWebif.mo:OpenWebInterface zapnut ./locale/es/LC_MESSAGES/OpenWebif.mo:OpenWebInterface Enabled ./locale/es/LC_MESSAGES/OpenWebif.mo:Enlace OpenWebInterface ./locale/pl/LC_MESSAGES/OpenWebif.mo:NCam Webinterface ./locale/pl/LC_MESSAGES/OpenWebif.mo:OSCam Webinterface ./locale/pl/LC_MESSAGES/OpenWebif.mo:OpenWebInterface Enabled ./locale/da/LC_MESSAGES/OpenWebif.mo:NCam Webinterface ./locale/da/LC_MESSAGES/OpenWebif.mo:OSCam Webinterface ./locale/da/LC_MESSAGES/OpenWebif.mo:OpenWebInterface Enabled ./locale/tr/LC_MESSAGES/OpenWebif.mo:NCam Webinterface ./locale/tr/LC_MESSAGES/OpenWebif.mo:OSCam Webinterface ./locale/tr/LC_MESSAGES/OpenWebif.mo:OpenWebInterface Enabled ./locale/tr/LC_MESSAGES/OpenWebif.mo:NCam Webinterface ./locale/tr/LC_MESSAGES/OpenWebif.mo:OSCam Webinterface ./locale/tr/LC_MESSAGES/OpenWebif.mo:OpenWebInterface Etkin ./locale/ru/LC_MESSAGES/OpenWebif.mo:NCam Webinterface ./locale/ru/LC_MESSAGES/OpenWebif.mo:OSCam Webinterface ./locale/ru/LC_MESSAGES/OpenWebif.mo:OpenWebInterface Enabled ./locale/lt/LC_MESSAGES/OpenWebif.mo:NCam Webinterface ./locale/lt/LC_MESSAGES/OpenWebif.mo:OSCam Webinterface ./locale/lt/LC_MESSAGES/OpenWebif.mo:OpenWebInterface Enabled ./locale/cs/LC_MESSAGES/OpenWebif.mo:OpenWebInterface Enabled ./locale/it/LC_MESSAGES/OpenWebif.mo:OSCam Webinterface ./locale/it/LC_MESSAGES/OpenWebif.mo:OpenWebInterface Enabled ./locale/it/LC_MESSAGES/OpenWebif.mo:OpenWebInterface abilitata ./locale/et/LC_MESSAGES/OpenWebif.mo:NCam Webinterface ./locale/et/LC_MESSAGES/OpenWebif.mo:OSCam Webinterface ./locale/et/LC_MESSAGES/OpenWebif.mo:OpenWebInterface Enabled ./locale/ar/LC_MESSAGES/OpenWebif.mo:OSCam Webinterface ./locale/ar/LC_MESSAGES/OpenWebif.mo:OpenWebInterface Enabled ./locale/fi/LC_MESSAGES/OpenWebif.mo:NCam Webinterface ./locale/fi/LC_MESSAGES/OpenWebif.mo:OSCam Webinterface ./locale/fi/LC_MESSAGES/OpenWebif.mo:OpenWebInterface Enabled ./locale/fi/LC_MESSAGES/OpenWebif.mo:OSCam Webinterface ./locale/fi/LC_MESSAGES/OpenWebif.mo:OSCam Webinterface ./locale/uk/LC_MESSAGES/OpenWebif.mo:OSCam Webinterface ./locale/uk/LC_MESSAGES/OpenWebif.mo:OpenWebInterface Enabled ./locale/sv/LC_MESSAGES/OpenWebif.mo:OSCam Webinterface ./locale/sv/LC_MESSAGES/OpenWebif.mo:OpenWebInterface Enabled ./locale/bg/LC_MESSAGES/OpenWebif.mo:NCam Webinterface ./locale/bg/LC_MESSAGES/OpenWebif.mo:OSCam Webinterface ./locale/bg/LC_MESSAGES/OpenWebif.mo:OpenWebInterface Enabled ./locale/ca/LC_MESSAGES/OpenWebif.mo:OpenWebInterface Enabled ./locale/ca/LC_MESSAGES/OpenWebif.mo:Enlla OpenWebInterface ./locale/fr/LC_MESSAGES/OpenWebif.mo:NCam Webinterface ./locale/fr/LC_MESSAGES/OpenWebif.mo:OSCam Webinterface ./locale/fr/LC_MESSAGES/OpenWebif.mo:OpenWebInterface Enabled ./locale/fr/LC_MESSAGES/OpenWebif.mo:OpenWebInterface activ ./locale/pt/LC_MESSAGES/OpenWebif.mo:OSCam Webinterface ./locale/pt/LC_MESSAGES/OpenWebif.mo:OpenWebInterface Enabled ./locale/pt/LC_MESSAGES/OpenWebif.mo:OpenWebInterface Ativado ./locale/zh_CN/LC_MESSAGES/OpenWebif.mo:NCam Webinterface ./locale/zh_CN/LC_MESSAGES/OpenWebif.mo:OSCam Webinterface ./locale/zh_CN/LC_MESSAGES/OpenWebif.mo:OpenWebInterface Enabled ./plugin.py: self.list.append(getConfigListEntry(_("OpenWebInterface Enabled"), config.OpenWebif.enabled)) ./plugin.py: # self.list.append(getConfigListEntry(_("Webinterface jQuery UI Theme"), config.OpenWebif.webcache.theme)) ./__pycache__/plugin.cpython-39.pyc:)zOpenWebInterface EnabledzUse modern interfacez ./__pycache__/httpserver.cpython-39.pyc:)NzB${libdir}/enigma2/python/Plugins/Extensions/WebInterface/plugin.py o cTF) enigma eEnv resolver ./__pycache__/httpserver.cpython-39.pyc:)Nz8${libdir}/enigma2/python/Plugins/Extensions/WebInterfacezE${libdir}/enigma2/python/Plugins/Extensions/OpenWebif/pluginshook.src /WebChilds/Toplevel.pyz*[OpenWebif] hooking original webif plugins) /__init__.pycz/WebChilds/__init__.pyz/WebChilds/__init__.pyoz/WebChilds/__init__.pyc_/WebChilds/External/__init__.pyz /WebChilds/External/__init__.pyoz /WebChilds/External/__init__.pycr\ ./__pycache__/httpserver.cpython-39.pyc: close symlink 2Plugins.Extensions.WebInterface.WebChilds.Toplevelra ./controllers/web.py: Fork of *Enigma2 WebInterface API* as described in e.g. ./controllers/web.py: Not available in *Enigma2 WebInterface API*. ./controllers/web.py: Not available in *Enigma2 WebInterface API*. ./controllers/web.py: Not available in *Enigma2 WebInterface API*. ./controllers/web.py: Not available in *Enigma2 WebInterface API*. ./controllers/web.py: Not available in *Enigma2 WebInterface API*. ./controllers/web.py: Not available in *Enigma2 WebInterface API*. ./controllers/web.py: Not available in *Enigma2 WebInterface API*. ./controllers/web.py: Not available in *Enigma2 WebInterface API*. ./controllers/web.py: Not available in *Enigma2 WebInterface API*. ./controllers/web.py: Parameters Not available in *Enigma2 WebInterface API*. ./controllers/web.py: Not available in *Enigma2 WebInterface API*. ./controllers/web.py: from Plugins.Extensions.WebInterface.WebChilds.Toplevel import loaded_plugins ./controllers/web.py: Not available in *Enigma2 WebInterface API*. ./controllers/web.py: Not available in *Enigma2 WebInterface API*. ./controllers/web.py: Not available in *Enigma2 WebInterface API*. ./controllers/web.py: Not available in *Enigma2 WebInterface API*. ./controllers/base.py: if fileExists(resolveFilename(SCOPE_PLUGINS, "Extensions/WebInterface/plugin.pyo")) or fileExists(resolveFilename(SCOPE_PLUGINS, "Extensions/WebInterface/plugin.py")): ./controllers/base.py: lcd4linux_port = "http://" + ip + ":" + str(config.plugins.Webinterface.http.port.value) + "/" ./controllers/base.py: extras.append({'key': url, 'description': _("OSCam Webinterface"), 'nw': '1'}) ./controllers/base.py: extras.append({'key': url, 'description': _("NCam Webinterface"), 'nw': '1'}) ./controllers/base.py: # TODO: test if webinterface AND openwebif installed ./controllers/base.py: from Plugins.Extensions.WebInterface.WebChilds.Toplevel import loaded_plugins ajax/settingsSettings)_keyse.cpython-39.pyc:customname boxname brand model box remote FULL_DESCRIPTION_SEARCHT descriptionz Extensions/LCD4linux/WebSite.pyozExtensions/LCD4linux/WebSite.pyzlcd4linux/configz"Extensions/WebInterface/plugin.pyoz!Extensions/WebInterface/plugin.pyzhttp://r ./controllers/__pycache__/base.cpython-39.pyc:zOSCam Webinterfacer ./controllers/__pycache__/base.cpython-39.pyc:zNCam Webinterface) AutoTimerzajax/at ./controllers/__pycache__/base.cpython-39.pyc: plugins Webinterfacer ./controllers/__pycache__/base.cpython-39.pyc: 2Plugins.Extensions.WebInterface.WebChilds.Toplevelr ./controllers/__pycache__/web.cpython-39.pyc: Fork of *Enigma2 WebInterface API* as described in e.g. ./controllers/__pycache__/web.cpython-39.pyc: Not available in *Enigma2 WebInterface API*. ./controllers/__pycache__/web.cpython-39.pyc: Not available in *Enigma2 WebInterface API*. ./controllers/__pycache__/web.cpython-39.pyc: Not available in *Enigma2 WebInterface API*. ./controllers/__pycache__/web.cpython-39.pyc: Not available in *Enigma2 WebInterface API*. ./controllers/__pycache__/web.cpython-39.pyc: Not available in *Enigma2 WebInterface API*. ./controllers/__pycache__/web.cpython-39.pyc: Not available in *Enigma2 WebInterface API*. ./controllers/__pycache__/web.cpython-39.pyc: Not available in *Enigma2 WebInterface API*. ./controllers/__pycache__/web.cpython-39.pyc: Not available in *Enigma2 WebInterface API*. ./controllers/__pycache__/web.cpython-39.pyc: Not available in *Enigma2 WebInterface API*. ./controllers/__pycache__/web.cpython-39.pyc: Parameters Not available in *Enigma2 WebInterface API*. ./controllers/__pycache__/web.cpython-39.pyc: Not available in *Enigma2 WebInterface API*. ./controllers/__pycache__/web.cpython-39.pyc: pluginsN) 2Plugins.Extensions.WebInterface.WebChilds.Toplevelr ./controllers/__pycache__/web.cpython-39.pyc: Not available in *Enigma2 WebInterface API*. ./controllers/__pycache__/web.cpython-39.pyc: Not available in *Enigma2 WebInterface API*. ./controllers/__pycache__/web.cpython-39.pyc: Not available in *Enigma2 WebInterface API*. ./controllers/__pycache__/web.cpython-39.pyc: Not available in *Enigma2 WebInterface API*. root@vuultimo4k:/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif#
Interesting but still doesn't tell us why it is there.
If I look under rootfs of a 5.4.xxx build there is NO WebInterface there.
If I look at the image produced, there is NO WebInterface there either.
EDIT: Just done a flash of 5.4.015.003. No settings restore. All I did was set-up the network.
WebInterface IS there now!
So it's something done during initial setup(?).
Last edited by birdman; 19-09-21 at 01:51.
MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD
Curioser and curioser.
The AutoTimer plugin contains:
This gets run on a session start, which clearly never happens as there is no ScreenPage there.Code:from Plugins.Extensions.WebInterface.WebChilds.Toplevel import addExternalChild from Plugins.Extensions.WebInterface.WebChilds.Screenpage import ScreenPage
Perhaps more relevant(?) is that enigma2-plugins/epgrefresh/src/webinterface/EPGRefresh.py contains:
and enigma2/lib/python/Components/PluginComponent.py tries to clean up a badly-removed extension if there is no plugin.py, but specifically checks for WebInterface, and does NOT do it for this.Code:from Plugins.Extensions.WebInterface.WebChilds.Toplevel import addExternalChild
So it looks as though this is all intentional. Just not documented anywhere.
MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD
And I've now tracked down whence it comes!!
e2openplugin-OpenWebif/plugin/httpserver.py
Code:def buildRootTree(session): root = RootController(session) if not isOriginalWebifInstalled(): # this is an hack! any better idea? origwebifpath = enigma.eEnv.resolve('${libdir}/enigma2/python/Plugins/Extensions/WebInterface') hookpath = enigma.eEnv.resolve('${libdir}/enigma2/python/Plugins/Extensions/OpenWebif/pluginshook.src') if not os.path.islink(origwebifpath + "/WebChilds/Toplevel.py"): print("[OpenWebif] hooking original webif plugins")
MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD
..... so my "finds" did show up references to the problem.
Last edited by ccs; 19-09-21 at 08:48.