If I start enigma2 from a telnet console I get
[SKIN] Parsing embedded skin <embedded-in-'VirtualKeyBoardExt'> [Skin] Error: scale
Maybe openpli don't support this "scale" attribute in engima2 skins? Why?
Posted 23 November 2014 - 20:35
Maybe openpli don't support this "scale" attribute in engima2 skins? Why?
Sounds like an attribute that is available in the closed source DMMs stuff (DMM7080)... We can also add it to give a parameter to scale pngs... (scaling is something PLi used for years for e.g. scale the picons). As far I can see we have scale in skin.py.... (row 307) but somehow this possibly crashes...)
And why shoot we create solutions for a closed source plugin....?
@dhwz,
When you want to have that code removed please Report it to our moderator via the Report button (sorry I do not have moderator rights)
Edited by littlesat, 23 November 2014 - 20:47.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Posted 23 November 2014 - 20:58
At least thanks dhwz for solving the "issue"....
I also marked the py to the moderator for removal.
Just a question.... why not using a build in virtual keyboard?
Edited by littlesat, 23 November 2014 - 21:00.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Posted 23 November 2014 - 22:06
Yes not funny if someone is decompiling our plugin without permission.
And I've already fixed that issue.
Sorry, I just searched a solution. Maybe a mod can remove the attachment (I cannot edit it anymore), if you have a problem with it.
[modbreak=Done]Just removed it[/modbreak]
Posted 23 November 2014 - 22:28
Just a question.... why not using a build in virtual keyboard?
Because its a modified one, which is also displaying captcha codes and some other things. And importing the virtual keyboard of the image and modifiying it didn't work, thats what we did before but there are too many differences between some images.
Edited by dhwz, 23 November 2014 - 22:29.
Posted 24 November 2014 - 08:44
@littlesat, maybe this is not the right topic, but if we talk about skin errors, then please change haligh to halign in skin_default.xml introduced in this commit: http://sourceforge.n...2de5542cc2ee42/
Edited by Taapat, 24 November 2014 - 08:46.
Posted 24 November 2014 - 14:19
"Thanks" dhwz for supplying a plugin IN SOURCE so we can build it ourselves and there will be less chances for incompatibilities. Oh no, I was dreaming.
* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.
Posted 24 November 2014 - 18:55
And now I understand the real issue...
self.scale is a tupple here.... and later it becomes a function... but where it is called it is still a tupple...
This bug was in there for ever....
I suggest to rename the tupple so it is capable to call the scale function....
def __init__(self, guiObject, desktop, scale = ((1,1),(1,1))):self.guiObject = guiObjectself.desktop = desktopself.scale = scaledef applyOne(self, attrib, value):try:getattr(self, attrib)(value)except AttributeError:print "[Skin] Attribute not implemented:", attrib, "value:", valueexcept SkinError, ex:print "[Skin] Error:", exexcept:print "[Skin] Error:", attrib
Edited by littlesat, 24 November 2014 - 19:45.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Posted 24 November 2014 - 19:30
FYI:
http://sourceforge.n...512578722551a7/
Sometimes it is not just ignoring "the bug"...
But I understand... this is a typical "python" trap.....
In fact it was induced here...
http://sourceforge.n...656db7cedb33b1/
So in there since 2010-07-06..... And indeed not a 'bug" in DMM's Enigma2, but slightly faster here as we do not have the big if/else...
Edited by littlesat, 24 November 2014 - 19:55.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
0 members, 1 guests, 0 anonymous users