Jump to content


Photo

Enigma2 plugins development in VS Code with Docker


  • Please log in to reply
9 replies to this topic

#1 technic

  • Senior Member
  • 81 posts

+9
Neutral

Posted 2 May 2019 - 21:55

Hi everyone,

I made up a small HOWTO and example repository about developing simple enigma2 plugins with visual studio code and docker container.

See it here: https://github.com/t...enigma2_example

Questions and pull requests are welcome!



Re: Enigma2 plugins development in VS Code with Docker #2 rabinovic

  • New Member
  • 3 posts

0
Neutral

Posted 26 April 2020 - 19:22

Hi,
I recently found your instructions on how to run enigma2 plugin with docker and vscode.
I got everything working. But when debugging, the debugger suddenly hangs without any messages. Have you encountered such behavior ever? Sorry for my english.

Gesendet von meinem MHA-L29 mit Tapatalk

Re: Enigma2 plugins development in VS Code with Docker #3 technic

  • Senior Member
  • 81 posts

+9
Neutral

Posted 27 April 2020 - 10:12

Hi, I didn't have such errors. However, I am not debugging that often.

 

Does enigma2 also hangs at this moment? Did you inspect all errors from output tab (all outputs) as well as enigma stdout and debugger output tab?



Re: Enigma2 plugins development in VS Code with Docker #4 rabinovic

  • New Member
  • 3 posts

0
Neutral

Posted 3 May 2020 - 11:58

Hi, actually I'm playing with e2iplayer. So when I enter a host, the debugger hangs without any messages. Without the debugger there is no problem. By the way what is the keyboard key for menu?

Gesendet von meinem MHA-L29 mit Tapatalk

Re: Enigma2 plugins development in VS Code with Docker #5 technic

  • Senior Member
  • 81 posts

+9
Neutral

Posted 3 May 2020 - 15:05

Menu is space. e2iplayer spawns lots of helper processes from some other binaries, maybe this makes an issue. Try with an example plugin.



Re: Enigma2 plugins development in VS Code with Docker #6 rabinovic

  • New Member
  • 3 posts

0
Neutral

Posted 25 March 2021 - 08:58

Hi, your last commit fixed this problem. Thanks

Gesendet von meinem MHA-L29 mit Tapatalk

Re: Enigma2 plugins development in VS Code with Docker #7 technic

  • Senior Member
  • 81 posts

+9
Neutral

Posted 25 March 2021 - 10:45

Hi, your last commit fixed this problem. Thanks

Great



Re: Enigma2 plugins development in VS Code with Docker #8 Opvolger

  • Member
  • 9 posts

0
Neutral

Posted 3 April 2021 - 13:47

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. 
and a greenscreen of dead..... in VNC.
 
 
my hack for now: 
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.


Edited by Opvolger, 3 April 2021 - 14:43.


Re: Enigma2 plugins development in VS Code with Docker #9 technic

  • Senior Member
  • 81 posts

+9
Neutral

Posted 3 April 2021 - 14:27

@Opvolger. If you want to have plugin under F4 button use the following example code

from Plugins.Plugin import PluginDescriptor
from Screens.MessageBox import MessageBox


def start(session):
    session.open(MessageBox, "Hello World!")


def Plugins(path, **kwargs):
    return [
        PluginDescriptor(name="Example", where=PluginDescriptor.WHERE_EXTENSIONSMENU, fnc=start)
    ]

It's a bug in enigma2 that it crashes when extensions list is empty. Maybe I have to update it.



Re: Enigma2 plugins development in VS Code with Docker #10 starbuck

  • Member
  • 15 posts

+3
Neutral

Posted 18 August 2024 - 20:45

I have found the above mentioned docker container for enigma2. I want to try it for building and debugging enigma2 python 3 plugins. But I think it not working correctly. When the container is started I think enigma2 is not started correctly.

 docker run --rm -p 5900:5900 --name enigma2_box dd52e4d4fa2a x11vnc -forever
 

docker exec -e ENIGMA_DEBUG_LVL=5 enigma2_box enigma2
[Enigma] Python path is '/usr/lib/enigma2/python'.
[Enigma] DVB API version 5, DVB API version minor 11.
[Enigma] Enigma debug level 5.
[Avahi] Not running yet, cannot browse for type _e2stream._tcp.
[eInit] + (1) Background File Eraser
[eInit] + (5) Tuxtxt
[eInit] + (8) graphics acceleration manager
[bcm] /dev/fb0 No such file or directory
[eInit] + (9) Font Render Class
[Font] Initializing lib.
[Font] Loading fonts.
[Font] Intializing font cache, using max. 4MB.
[eInit] + (9) gLCD
[eFbLCD] /dev/fb1 No such file or directory
[eFbLCD] framebuffer /dev/fb1 not available
[eDboxLCD] No oled0 or lcd0 device found!
[eLCD] (132x64x8) buffer 0x55e4169b4400 8448 bytes, stride 132, boxtype: unknown
[gLCDDC] resolution: 132 x 64 x 8 (stride: 132)
[eInit] + (9) gSDLDC
[eInit] + (10) gRC
[gRC] Thread created successfully.
[eInit] + (15) eWindowStyleManager
[eInit] + (20) AVSwitch Driver
[eAVSwitch] failed to open /dev/dbox/fp0 to monitor vcr scart slow blanking changed: No such file or directory
[eInit] + (20) misc options
[eInit] + (20) RC Input layer
[eInit] + (20) UHF Modulator
[eRFmod] couldnt open /dev/rfmod0: No such file or directory
[eInit] + (20) DVB-CI UI
[eInit] + (21) input device driver
[eInputDeviceInit] Found 0 input devices.
[eInit] + (21) SDL RC Driver
[eInit] + (22) Hdmi CEC driver
[eHdmiCEC] cannot open /dev/misc/hdmi_cec0: No such file or directory
[eInit] + (30) eActionMap
[eInit] + (35) CA handler
[eInit] + (35) CI Slots
[CI] scanning for common interfaces..
[CI] done, found 0 common interface slots
[eInit] + (40) eServiceCenter
[eServiceCenter] settings instance.
[eInit] + (41) Stream server
[Avahi] AvahiServiceEntry (null) (_e2stream._tcp) 8001
[Avahi] Not running yet, cannot register type _e2stream._tcp.
[eInit] + (41) RTSP Stream server
[eInit] + (41) Encoders
[eInit] + (41) eServiceFactoryDVB
[eInit] + (41) eServiceFactoryFS
[eInit] + (41) eServiceFactoryMP3
[eInit] + (41) eServiceFactoryM2TS
[eInit] + (41) eServiceFactoryHDMI
[eInit] + (41) eServiceFactoryTS
[eInit] + (41) eServiceFactoryWebTS
[eInit] reached rl 70
[eDVBDB] ---- opening lame channel db
[eDVBDB] can't open /etc/enigma2/lamedb: No such file or directory
[eDVBSatelliteEquipmentControl] eDVBSatelliteEquipmentControl::clear()
[eDVBResourceManager] found 0 adapter, 0 frontends(0 sim) and 0 demux, boxtype 0
[eDVBLocalTimeHandler] RTC not ready... wait for transponder time
[eEPGCache] Initialized EPGCache (wait for setCacheFile call now)
[eEPGTransponderDataReader] Initialized
[Enigma] Loading spinners.
[ePNG] couldn't open /usr/share/enigma2/spinner/wait1.png
[Enigma] Found 0 spinners.
[Enigma] Executing StartEnigma.py
[setIoPrio] best-effort level 3 ok
[Python] run default
[International] getLanguagePackages Error 2: No such file or directory ('/usr/bin/opkg')
[International] There are 0 available locale/language packages in the repository ''.
[International] getInstalledPackages Error 2: No such file or directory ('/usr/bin/opkg')
[International] There are 0 installed locale/language packages ''.
[International] There are 129 installed locale/language directories 'ar', 'ar.po', 'bg', 'bg.po', 'ca', 'ca.po', 'cs', 'cs.po', 'da', 'da.po', 'de', 'de.po', 'el', 'el.po', 'en', 'en.po', 'en_AU', 'en_AU.po', 'en_GB', 'en_GB.po', 'enigma2-ar.po', 'enigma2-bg.po', 'enigma2-ca.po', 'enigma2-cs.po', 'enigma2-da.po', 'enigma2-de.po', 'enigma2-el.po', 'enigma2-en.po', 'enigma2-en_AU.po', 'enigma2-en_GB.po', 'enigma2-es.po', 'enigma2-et.po', 'enigma2-fa.po', 'enigma2-fi.po', 'enigma2-fr.po', 'enigma2-fy.po', 'enigma2-he.po', 'enigma2-hr.po', 'enigma2-hu.po', 'enigma2-id.po', 'enigma2-is.po', 'enigma2-it.po', 'enigma2-ku.po', 'enigma2-lt.po', 'enigma2-lv.po', 'enigma2-nb.po', 'enigma2-nl.po', 'enigma2-nn.po', 'enigma2-pl.po', 'enigma2-pt.po', 'enigma2-pt_BR.po', 'enigma2-ro.po', 'enigma2-ru.po', 'enigma2-sk.po', 'enigma2-sl.po', 'enigma2-sr.po', 'enigma2-sv.po', 'enigma2-th.po', 'enigma2-tr.po', 'enigma2-uk.po', 'enigma2-vi.po', 'enigma2-zh_CN.po', 'enigma2-zh_HK.po', 'es', 'es.po', 'et', 'et.po', 'fa', 'fa.po', 'fi', 'fi.po', 'fr', 'fr.po', 'fy', 'fy.po', 'he', 'he.po', 'hr', 'hr.po', 'hu', 'hu.po', 'id', 'id.po', 'is', 'is.po', 'it', 'it.po', 'ku', 'ku.po', 'lt', 'lt.po', 'lv', 'lv.po', 'nb', 'nb.po', 'nl', 'nl.po', 'nn', 'nn.po', 'pl', 'pl.po', 'pt', 'pt.po', 'pt_BR', 'pt_BR.po', 'ro', 'ro.po', 'ru', 'ru.po', 'sk', 'sk.po', 'sl', 'sl.po', 'sr', 'sr.po', 'sv', 'sv.po', 'th', 'th.po', 'tr', 'tr.po', 'uk', 'uk.po', 'vi', 'vi.po', 'zh_CN', 'zh_CN.po', 'zh_HK', 'zh_HK.po'.
[International] Warning: Count of installed locale/language packages and locale/language directory entries do not match!
[SystemInfo] Line 24: Default 0 lines from file '/usr/lib/enigma.info'.
[SystemInfo] ERROR: Enigma information file is not available!  The system is unlikely to boot or operate correctly.
[SystemInfo] Line 46: Default 0 lines from file '/usr/lib/enigma.conf'.
[SystemInfo] Line 167: Read 'BOOT_IMAGE=/vmlinuz-6.10.4-amd64 root=/dev/mapper/debian--vg-debian--vg--root ro quiet splash' from file '/proc/cmdline'.
[Misc_Options] 12Vdetect cannot open /proc/stb/misc/12V_output: No such file or directory
[Harddisk] enumerating block devices...
----------------
you should upgrade to new drivers for the hardware detection to work properly
----------------
fallback to detect hardware via /proc/cpuinfo!!
[Harddisk] couldn't read model:  [Errno 2] No such file or directory: '/sys/block/dm-/device/model'
[Harddisk] new Harddisk sdf -> /dev/sdf -> /dev/sdf
[Harddisk] couldn't read model:  [Errno 2] No such file or directory: '/sys/block/nvme0n1p3/device/model'
[Harddisk] couldn't read model:  [Errno 2] No such file or directory: '/sys/block/nvme0n1p1/device/model'
[Harddisk] couldn't read model:  [Errno 2] No such file or directory: '/sys/block/nvme0n1p2/device/model'
[Harddisk] new Harddisk sdd -> /dev/sdd -> /dev/sdd
[Harddisk] new Harddisk sdb -> /dev/sdb -> /dev/sdb
[Console] Processing command 'hdparm' with arguments ('hdparm', '-S0', '/dev/sdb').
[eConsoleAppContainer] Starting hdparm
[Harddisk] couldn't read model:  [Errno 2] No such file or directory: '/sys/block/dm-/device/model'
[Harddisk] new Harddisk sdg -> /dev/sdg -> /dev/sdg
[Harddisk] couldn't read model:  [Errno 2] No such file or directory: '/sys/block/dm-/device/model'
[Harddisk] new Harddisk sde -> /dev/sde -> /dev/sde
[Harddisk] new Harddisk sdc -> /dev/sdc -> /dev/sdc
[Harddisk] new Harddisk sda -> /dev/sda -> /dev/sda
[Console] Processing command 'hdparm' with arguments ('hdparm', '-S0', '/dev/sda').
[eConsoleAppContainer] Starting hdparm
[Harddisk] couldn't read model:  [Errno 2] No such file or directory: '/sys/block/dm-/device/model'
[Harddisk] enumerating network mounts...
2024-08-18 19:28:42+0000 [-] Log opened.
2024-08-18 19:28:42+0000 [-] [Keyboard] Adding keymap 'German keyboard' ('de.kmap').
2024-08-18 19:28:42+0000 [-] [Keyboard] Adding keymap 'azerty keyboard' ('azerty.kmap').
2024-08-18 19:28:42+0000 [-] [Keyboard] Adding keymap 'Dreambox Keyboard English' ('eng.kmap').
2024-08-18 19:28:42+0000 [-] [Keyboard] Adding keymap 'USB Keyboard Deutsch (QWERTZ-Layout)' ('usb-de.kmap').
2024-08-18 19:28:42+0000 [-] [Keyboard] Adding keymap 'Dreambox Keyboard Deutsch' ('dream-de.kmap').
2024-08-18 19:28:42+0000 [-] [Keyboard] Adding keymap 'USB Keyboard English (QWERTY-Layout)' ('usb-us.kmap').
2024-08-18 19:28:42+0000 [-] [Keyboard] Adding keymap 'US keyboard' ('us.kmap').
2024-08-18 19:28:42+0000 [-] [Keyboard] Activating keymap: 'German keyboard'.
2024-08-18 19:28:42+0000 [-] [Console] Processing command line 'loadkmap < /usr/share/keymaps/de.kmap'.
[eConsoleAppContainer] Starting /bin/sh
2024-08-18 19:28:42+0000 [-] [International] Selected locale 'de_DE' is not installed or does not exist!
2024-08-18 19:28:42+0000 [-] [StbHardware] Error 2: Unable to access '/dev/dbox/fp0', getFPVersion failed!  (No such file or directory)
2024-08-18 19:28:42+0000 [-] [InputDevice] Line 253: Default '-1' from file '/proc/stb/ir/rc/type'.
2024-08-18 19:28:42+0000 [-] [InputDevice] Warning: File '/usr/share/enigma2/remotes.xml' does not exist!
2024-08-18 19:28:42+0000 [-] [InputDevice] Line 160: Failed to read from XML file '/usr/share/enigma2/remotes.xml'.
2024-08-18 19:28:42+0000 [-] [InputDevice] Loading remote control '/usr/share/enigma2/rc/dmm1.xml'.
2024-08-18 19:28:42+0000 [-] [InputDevice] Warning: File '/usr/share/enigma2/rc/dmm1.xml' does not exist!
2024-08-18 19:28:42+0000 [-] [InputDevice] Line 188: Failed to read from XML file '/usr/share/enigma2/rc/dmm1.xml'.
2024-08-18 19:28:42+0000 [-] [AVSwitch] couldn't read available videomodes.
2024-08-18 19:28:42+0000 [-] [AVSwitch] reading edid modes failed, using all modes
2024-08-18 19:28:42+0000 [-] [AVSwitch] reading preferred modes failed, using all modes
2024-08-18 19:28:42+0000 [-] [AVSwitch] couldn't read available videomodes.
2024-08-18 19:28:42+0000 [-] [AVSwitch] preferend modes not ok, possible driver failer, len= 0
2024-08-18 19:28:42+0000 [-] [AVSwitch] couldn't read available videomodes.
[eDVBSatelliteEquipmentControl] eDVBSatelliteEquipmentControl::clear()
2024-08-18 19:28:42+0000 [-] [NimManager] sec config cleared
2024-08-18 19:28:42+0000 [-] [NimManager] sec config completed
2024-08-18 19:28:42+0000 [-] [InfoBarGenerics] Failed to load resumepoints: [Errno 2] No such file or directory: '/etc/enigma2/resumepoints.pkl'
[eDVBDB] can't open /etc/enigma2/.../bouquets.tv: No such file or directory
[eDVBDB] recreate bouquets.tv
[eDVBDB] loading bouquet... /etc/enigma2/bouquets.tv
[eDVBDB] 0 entries in Bouquet bouquets.tv
[eDVBDB] can't open /etc/enigma2/.../bouquets.radio: No such file or directory
[eDVBDB] recreate bouquets.radio
[eDVBDB] loading bouquet... /etc/enigma2/bouquets.radio
[eDVBDB] 0 entries in Bouquet bouquets.radio
[eDVBDB] Renumbering...
2024-08-18 19:28:42+0000 [-] [Time By]: Transponder
[eEPGCache] time updated.. but cache file not set yet.. dont start epg!!
2024-08-18 19:28:42+0000 [-] initializing StackTracePrinter
2024-08-18 19:28:42+0000 [-] [Skin] Loading skin file 'skin_default.xml'.
2024-08-18 19:28:42+0000 [-] [Skin] Warning: File 'skin_default.xml' does not exist!
2024-08-18 19:28:42+0000 [-] [Skin] Line 160: Failed to read from XML file 'skin_default.xml'.
2024-08-18 19:28:42+0000 [-] [Skin] Loading skin file '/usr/share/enigma2/skin_subtitles.xml'.
2024-08-18 19:28:42+0000 [-] [Skin] Line 160: Read from XML file '/usr/share/enigma2/skin_subtitles.xml'.
[Font] Adding font '/usr/share/fonts/LiberationSans-Regular.ttf' -> 'Subs'.
[Font] Adding font '/usr/share/fonts/LiberationSans-Italic.ttf' -> 'Subsi'.
[Font] Adding font '/usr/share/fonts/LiberationSans-Bold.ttf' -> 'Subsb'.
[Font] Adding font '/usr/share/fonts/LiberationSans-BoldItalic.ttf' -> 'Subsz'.
[Font] Adding font '/usr/share/fonts/fallback.font' -> 'Fallback'.
2024-08-18 19:28:42+0000 [-] [Skin] Skin resolution is 0x0 and colour depth is 0 bits.
2024-08-18 19:28:42+0000 [-] [Skin] Loading skin file '/usr/share/enigma2/skin_subtitles.xml' complete.
2024-08-18 19:28:42+0000 [-] [Skin] Loading skin file '/usr/share/enigma2/MetrixHD/skin.xml'.
2024-08-18 19:28:42+0000 [-] [Skin] Line 160: Read from XML file '/usr/share/enigma2/MetrixHD/skin.xml'.
2024-08-18 19:28:42+0000 [-] [Skin] Loading skin file '/usr/share/enigma2/MetrixHD/skinfiles/skin_unchecked.xml'.
2024-08-18 19:28:42+0000 [-] [Skin] Line 160: Read from XML file '/usr/share/enigma2/MetrixHD/skinfiles/skin_unchecked.xml'.
2024-08-18 19:28:42+0000 [-] [Skin] Skin resolution is 1280x720 and colour depth is 32 bits.
2024-08-18 19:28:42+0000 [-] [Skin] Loading skin file '/usr/share/enigma2/MetrixHD/skinfiles/skin_unchecked.xml' complete.
2024-08-18 19:28:42+0000 [-] [Skin] Loading skin file '/usr/share/enigma2/MetrixHD/skinfiles/skin_templates.xml'.
2024-08-18 19:28:42+0000 [-] [Skin] Line 160: Read from XML file '/usr/share/enigma2/MetrixHD/skinfiles/skin_templates.xml'.
2024-08-18 19:28:42+0000 [-] [Skin] Skin resolution is 1280x720 and colour depth is 32 bits.
2024-08-18 19:28:42+0000 [-] [Skin] Loading skin file '/usr/share/enigma2/MetrixHD/skinfiles/skin_templates.xml' complete.
2024-08-18 19:28:42+0000 [-] [Skin] Loading skin file '/usr/share/enigma2/MetrixHD/skinfiles/skin_design.xml'.
2024-08-18 19:28:42+0000 [-] [Skin] Line 160: Read from XML file '/usr/share/enigma2/MetrixHD/skinfiles/skin_design.xml'.
2024-08-18 19:28:42+0000 [-] [Skin] Skin resolution is 1280x720 and colour depth is 32 bits.
2024-08-18 19:28:42+0000 [-] [Skin] Loading skin file '/usr/share/enigma2/MetrixHD/skinfiles/skin_design.xml' complete.
2024-08-18 19:28:42+0000 [-] [Skin] Loading skin file '/usr/share/enigma2/MetrixHD/skinfiles/skin_infobar.xml'.
2024-08-18 19:28:42+0000 [-] [Skin] Line 160: Read from XML file '/usr/share/enigma2/MetrixHD/skinfiles/skin_infobar.xml'.
2024-08-18 19:28:42+0000 [-] [Skin] Skin resolution is 1280x720 and colour depth is 32 bits.
2024-08-18 19:28:42+0000 [-] [Skin] Loading skin file '/usr/share/enigma2/MetrixHD/skinfiles/skin_infobar.xml' complete.
2024-08-18 19:28:42+0000 [-] [Skin] Loading skin file '/usr/share/enigma2/MetrixHD/skinfiles/skin_infobarlite.xml'.
2024-08-18 19:28:42+0000 [-] [Skin] Line 160: Read from XML file '/usr/share/enigma2/MetrixHD/skinfiles/skin_infobarlite.xml'.
2024-08-18 19:28:42+0000 [-] [Skin] Skin resolution is 1280x720 and colour depth is 32 bits.
2024-08-18 19:28:42+0000 [-] [Skin] Loading skin file '/usr/share/enigma2/MetrixHD/skinfiles/skin_infobarlite.xml' complete.
2024-08-18 19:28:42+0000 [-] [Skin] Loading skin file '/usr/share/enigma2/MetrixHD/skinfiles/skin_secondinfobar.xml'.
2024-08-18 19:28:42+0000 [-] [Skin] Line 160: Read from XML file '/usr/share/enigma2/MetrixHD/skinfiles/skin_secondinfobar.xml'.
2024-08-18 19:28:42+0000 [-] [Skin] Skin resolution is 1280x720 and colour depth is 32 bits.
2024-08-18 19:28:42+0000 [-] [Skin] Loading skin file '/usr/share/enigma2/MetrixHD/skinfiles/skin_secondinfobar.xml' complete.
2024-08-18 19:28:42+0000 [-] [Skin] Loading skin file '/usr/share/enigma2/MetrixHD/skinfiles/skin_secondinfobarecm.xml'.
2024-08-18 19:28:42+0000 [-] [Skin] Line 160: Read from XML file '/usr/share/enigma2/MetrixHD/skinfiles/skin_secondinfobarecm.xml'.
2024-08-18 19:28:42+0000 [-] [Skin] Skin resolution is 1280x720 and colour depth is 32 bits.
2024-08-18 19:28:42+0000 [-] [Skin] Loading skin file '/usr/share/enigma2/MetrixHD/skinfiles/skin_secondinfobarecm.xml' complete.
2024-08-18 19:28:42+0000 [-] [Skin] Loading skin file '/usr/share/enigma2/MetrixHD/skinfiles/skin_channelselection.xml'.
2024-08-18 19:28:42+0000 [-] [Skin] Line 160: Read from XML file '/usr/share/enigma2/MetrixHD/skinfiles/skin_channelselection.xml'.
2024-08-18 19:28:42+0000 [-] [Skin] Skin resolution is 1280x720 and colour depth is 32 bits.
2024-08-18 19:28:42+0000 [-] [Skin] Loading skin file '/usr/share/enigma2/MetrixHD/skinfiles/skin_channelselection.xml' complete.
2024-08-18 19:28:42+0000 [-] [Skin] Loading skin file '/usr/share/enigma2/MetrixHD/skinfiles/skin_openatv.xml'.
2024-08-18 19:28:42+0000 [-] [Skin] Line 160: Read from XML file '/usr/share/enigma2/MetrixHD/skinfiles/skin_openatv.xml'.
2024-08-18 19:28:42+0000 [-] [Skin] Skin resolution is 1280x720 and colour depth is 32 bits.
2024-08-18 19:28:42+0000 [-] [Skin] Loading skin file '/usr/share/enigma2/MetrixHD/skinfiles/skin_openatv.xml' complete.
2024-08-18 19:28:42+0000 [-] [Skin] Loading skin file '/usr/share/enigma2/MetrixHD/skinfiles/skin_plugins.xml'.
2024-08-18 19:28:42+0000 [-] [Skin] Line 160: Read from XML file '/usr/share/enigma2/MetrixHD/skinfiles/skin_plugins.xml'.
2024-08-18 19:28:42+0000 [-] [Skin] Skin resolution is 1280x720 and colour depth is 32 bits.
2024-08-18 19:28:42+0000 [-] [Skin] Loading skin file '/usr/share/enigma2/MetrixHD/skinfiles/skin_plugins.xml' complete.
2024-08-18 19:28:42+0000 [-] [Skin] Loading skin file '/usr/share/enigma2/MetrixHD/skinfiles/skin_movieplayer.xml'.
2024-08-18 19:28:42+0000 [-] [Skin] Line 160: Read from XML file '/usr/share/enigma2/MetrixHD/skinfiles/skin_movieplayer.xml'.
2024-08-18 19:28:42+0000 [-] [Skin] Skin resolution is 1280x720 and colour depth is 32 bits.
2024-08-18 19:28:42+0000 [-] [Skin] Loading skin file '/usr/share/enigma2/MetrixHD/skinfiles/skin_movieplayer.xml' complete.
2024-08-18 19:28:42+0000 [-] [Skin] Loading skin file '/usr/share/enigma2/MetrixHD/skinfiles/skin_emc.xml'.
2024-08-18 19:28:42+0000 [-] [Skin] Line 160: Read from XML file '/usr/share/enigma2/MetrixHD/skinfiles/skin_emc.xml'.
2024-08-18 19:28:42+0000 [-] [Skin] Skin resolution is 1280x720 and colour depth is 32 bits.
2024-08-18 19:28:42+0000 [-] [Skin] Loading skin file '/usr/share/enigma2/MetrixHD/skinfiles/skin_emc.xml' complete.
[Font] Adding font '/usr/share/fonts/lcd.ttf' -> 'LCD'.
[Font] Adding font '/usr/share/fonts/ae_AlMateen.ttf' -> 'Replacement'.
[Font] Adding font '/usr/share/fonts/tuxtxt.ttf' -> 'Console'.
[Font] Adding font '/usr/share/fonts/andale.ttf' -> 'Fixed'.
[Font] Adding font '/usr/share/fonts/nmsbd.ttf' -> 'Arial'.
[Font] Adding font '/usr/share/fonts/DejaVuSans.ttf' -> 'DejaVuSans'.
[Font] Adding font '/usr/share/enigma2/MetrixHD/fonts/OpenSans-Regular.ttf' -> 'Regular'.
[Font] Adding font '/usr/share/enigma2/MetrixHD/fonts/OpenSans-Regular.ttf' -> 'RegularLight'.
[Font] Adding font '/usr/share/enigma2/MetrixHD/fonts/setrixHD.ttf' -> 'SetrixHD'.
[Font] Adding font '/usr/share/enigma2/MetrixHD/fonts/MetrixIcons.ttf' -> 'MetrixIcons'.
[Font] Adding font '/usr/share/enigma2/MetrixHD/fonts/setrixHD.ttf' -> 'global_title'.
[Font] Adding font '/usr/share/enigma2/MetrixHD/fonts/setrixHD.ttf' -> 'global_button'.
[Font] Adding font '/usr/share/enigma2/MetrixHD/fonts/setrixHD.ttf' -> 'global_clock'.
[Font] Adding font '/usr/share/enigma2/MetrixHD/fonts/DroidSans-Bold.ttf' -> 'global_weather_bold'.
[Font] Adding font '/usr/share/enigma2/MetrixHD/fonts/setrixHD.ttf' -> 'global_large'.
[Font] Adding font '/usr/share/enigma2/MetrixHD/fonts/setrixHD.ttf' -> 'global_large_screen'.
[Font] Adding font '/usr/share/enigma2/MetrixHD/fonts/setrixHD.ttf' -> 'global_large_menu'.
[Font] Adding font '/usr/share/enigma2/MetrixHD/fonts/OpenSans-Regular.ttf' -> 'global_small'.
[Font] Adding font '/usr/share/enigma2/MetrixHD/fonts/setrixHD.ttf' -> 'global_menu'.
[Font] Adding font '/usr/share/enigma2/MetrixHD/fonts/OpenSans-Regular.ttf' -> 'screen_label'.
[Font] Adding font '/usr/share/enigma2/MetrixHD/fonts/OpenSans-Regular.ttf' -> 'screen_text'.
[Font] Adding font '/usr/share/enigma2/MetrixHD/fonts/setrixHD.ttf' -> 'screen_info'.
[Font] Adding font '/usr/share/enigma2/MetrixHD/fonts/OpenSans-Regular.ttf' -> 'epg_event'.
[Font] Adding font '/usr/share/enigma2/MetrixHD/fonts/OpenSans-Regular.ttf' -> 'epg_text'.
[Font] Adding font '/usr/share/enigma2/MetrixHD/fonts/OpenSans-Regular.ttf' -> 'epg_info'.
[Font] Adding font '/usr/share/enigma2/MetrixHD/fonts/setrixHD.ttf' -> 'infobar_event'.
[Font] Adding font '/usr/share/enigma2/MetrixHD/fonts/OpenSans-Regular.ttf' -> 'infobar_text'.
[Font] Adding font '/usr/share/fonts/fallback.font' -> 'Fallback'.
2024-08-18 19:28:42+0000 [-] Traceback (most recent call last):
2024-08-18 19:28:42+0000 [-]   File "/usr/lib/enigma2/python/skin.py", line 1014, in loadSingleSkinData
2024-08-18 19:28:42+0000 [-]     style.setColor(eWindowStyleSkinned.__dict__["col" + colorType], color)
2024-08-18 19:28:42+0000 [-] KeyError: 'colScrollbarForeground'
2024-08-18 19:28:42+0000 [-] 
2024-08-18 19:28:42+0000 [-] During handling of the above exception, another exception occurred:
2024-08-18 19:28:42+0000 [-] 
2024-08-18 19:28:42+0000 [-] Traceback (most recent call last):
2024-08-18 19:28:42+0000 [-]   File "/usr/lib/enigma2/python/StartEnigma.py", line 840, in <module>
2024-08-18 19:28:42+0000 [-]     InitSkins()
2024-08-18 19:28:42+0000 [-]   File "/usr/lib/enigma2/python/skin.py", line 113, in InitSkins
2024-08-18 19:28:42+0000 [-]     if loadSkin(config.skin.primary_skin.value, scope=SCOPE_GUISKIN, desktop=getDesktop(GUI_SKIN_ID), screenID=GUI_SKIN_ID):
2024-08-18 19:28:42+0000 [-]   File "/usr/lib/enigma2/python/skin.py", line 164, in loadSkin
2024-08-18 19:28:42+0000 [-]     loadSingleSkinData(desktop, screenID, domSkin, filename, scope=scope)
2024-08-18 19:28:42+0000 [-]   File "/usr/lib/enigma2/python/skin.py", line 1016, in loadSingleSkinData
2024-08-18 19:28:42+0000 [-]     raise SkinError("Unknown color type '%s'" % colorType)
2024-08-18 19:28:42+0000 [-] skin.SkinError: [Skin] {MetrixHD/skin.xml}: Unknown color type 'ScrollbarForeground'!  Please contact the skin's author!
[eDVBDB] ---- saving lame channel db
[gSDLDC] FLUSH
[eDVBDB] saved 0 channels and 0 services!
[eDVBResourceManager] release cached channel (timer timeout)
[eInit] - (41) Stream server
[eInit] - (41) RTSP Stream server
[eInit] - (41) Encoders
[eInit] - (41) eServiceFactoryDVB
[eInit] - (41) eServiceFactoryFS
[eInit] - (41) eServiceFactoryMP3
[eInit] - (41) eServiceFactoryM2TS
[eInit] - (41) eServiceFactoryHDMI
[eInit] - (41) eServiceFactoryTS
[eInit] - (41) eServiceFactoryWebTS
[eInit] - (40) eServiceCenter
[eServiceCenter] clear instance
[eInit] - (35) CA handler
[eInit] - (35) CI Slots
[eInit] - (30) eActionMap
[eInit] - (22) Hdmi CEC driver
[eInit] - (21) input device driver
[eInit] - (21) SDL RC Driver
[eInit] - (20) AVSwitch Driver
[eInit] - (20) misc options
[eInit] - (20) RC Input layer
[eInit] - (20) UHF Modulator
[eInit] - (20) DVB-CI UI
[eInit] - (15) eWindowStyleManager
[eInit] - (10) gRC
[gRC] Waiting for gRC thread shutdown.
[gRC] Thread has finished.
[eInit] - (9) Font Render Class
[eInit] - (9) gLCD
[eInit] - (9) gSDLDC
[eInit] - (8) graphics acceleration manager
[eInit] - (5) Tuxtxt
[eInit] - (1) Background File Eraser
[eInit] reached rl -1

Runlevel -1 ?

When I connect with vnc to docker container I only see a black screen.

In the dockerfile i have replaced the url for libdvbsi++ because git.opendreambox.org/ didn't exist anymore.

#RUN git clone --depth 10 git://git.opendreambox.org/git/obi/libdvbsi++.git
RUN    git clone --depth 1 https://github.com/j...15/libdvbsi.git
RUN cd libdvbsi \
 && ./autogen.sh \

Maybe someone could help me setup this correctly? technic?

Thank you.


 


VU+ Duo 4k SE 2x DVB-C / Openpli 9.x



5 user(s) are reading this topic

0 members, 5 guests, 0 anonymous users