SkinReloader-Plugin (DreamOS)

  • This error is also returned if a skin of a plugin or skin_user uses a named color that is not defined in the currently active skin

    Gruss
    Dre


    Boxen (im Einsatz): DM920, DM900, DMOne
    Developer Project Merlin - we are OpenSource

  • Yes i have wrote this before :winking_face:

    Quote

    The error is only if you use a unknown colorname in the color-value or you have forget the "#" in the color-value.

    But why the raise SkinError not contains the color-value in the error-Message ? There is show only the original message from code.

    May 24 11:28:41 dreambox enigma2 [3320]: raise SkinError ("color '% s' must be #aarrggbb or valid named color"% (str))


    On this error-message i don't know on which color i got this error :winking_face:


    Edit:

    Ok, the log-output is only from the traceback an is not the real e2-log-output frpm the skinError.

    Gruß Sven (aka Dreamy)


    DM920 mit unstable OE2.5 DP
    One + Two mit DP AIO - OE2.6

    Edited once, last by Sven H ().

  • I run into this issue on the Dreambox UltraHD with Dream-Elite7 longtime ago when using zombi skin with styles.

    There i hade to physical add the colour name into the Dream-Elite skin.xml (default skin) file else the Style crashed in the same way.


    So for Peter pan we where trying to work around this by loading a external xml file for plugins and skin default

    This would prevent the issue that dre is writing about and have worked just fine


    So i did the same. added menutext colour code to the skin.xml of the default skin and then all works fine again.

    Now i only get an error from the infobar reaload.


    AttributeError: 'InfoBar' object has no attribute 'unhandledKeyDialog'

    Everything in life that's any fun is either immoral, illegal or fattening

  • All works fine if i leave the infobar unchecked. Then the skin reloads but with the infobar checked i get this error.

    But don't put to much into this, Since we can establish that the plugin works as it should. It's my mod of the DreamOS image that does not play ball.

    Not that easy to create a plugin that can handle all Cowboys builds also :grinning_face_with_smiling_eyes:



    Everything in life that's any fun is either immoral, illegal or fattening

  • Just as an update....

    The important thing for me was the syntax check and that works just perfect so for me the plugin does the work even on my Cowboy build


    This is a skinners dream to have smart plugin like this to check for misspellings and wrong use of syntax


    So thanks Sven for just another amazing quality work :thumbs_up::thumbs_up:

    Everything in life that's any fun is either immoral, illegal or fattening

  • Sven H

    You are one of the best plugin makers

    Most of your works are essential and practical for the Dreambox users :red_heart:

    Thanks for your effort

    Isn't it possible in the future to have this plugin in dm820?

    & I have also another question about CSP

    didn't want to ask two times in separate thread just excuse☺️

    Isn't it possible to add functionality for moving channels in group ways, I mean like (DreamEdit) not one by one

  • ...Isn't it possible in the future to have this plugin in dm820?

    Why you can't use this Plugin on dm820?

    I think, this plugin should also works on dm820 if you have installed DreamOS OE2.5.

    Quote

    I have also another question about CSP

    didn't want to ask two times in separate thread just excuse☺️

    Isn't it possible to add functionality for moving channels in group ways, I mean like (DreamEdit) not one by one

    This functionality is not planned.

    Gruß Sven (aka Dreamy)


    DM920 mit unstable OE2.5 DP
    One + Two mit DP AIO - OE2.6

  • Ok, Thanks for the info .

    I hadn't thought of that.

    Because i don't have a dm820, i can't create a plugin-so-File for this box.

    So this plugin only works on armhf and arm64 boxes.


    Notice for AIO-Image on One/Two:

    On AIO-Image for One/Two the box freeze if you want to change to a skin with other resolution.

    This is a "bug" of aio-image, which should fix in next versions, but then dream property gave up, before fix this.

    Gruß Sven (aka Dreamy)


    DM920 mit unstable OE2.5 DP
    One + Two mit DP AIO - OE2.6