Jump to content


Photo

Search screen gives green screen of death


  • Please log in to reply
34 replies to this topic

Re: Search screen gives green screen of death #21 Kermit00

  • Senior Member
  • 105 posts

0
Neutral

Posted 23 November 2014 - 20:28

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?



Re: Search screen gives green screen of death #22 Kermit00

  • Senior Member
  • 105 posts

0
Neutral

Posted 23 November 2014 - 20:31

Yes not funny if someone is decompiling our plugin without permission.  :mellow:

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.



Re: Search screen gives green screen of death #23 dhwz

  • Senior Member
  • 227 posts

+20
Neutral

Posted 23 November 2014 - 20:34

Yes because the scale parameter is only used on DM7080, but all DMM Images just ignore this parameter, so it doesn't crash.



Re: Search screen gives green screen of death #24 littlesat

  • PLi® Core member
  • 56,272 posts

+691
Excellent

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


Re: Search screen gives green screen of death #25 Kermit00

  • Senior Member
  • 105 posts

0
Neutral

Posted 23 November 2014 - 20:43

Ok, i didn't know it's dmm stuff. I already reported it (asked for removal)



Re: Search screen gives green screen of death #26 dhwz

  • Senior Member
  • 227 posts

+20
Neutral

Posted 23 November 2014 - 20:45

Ok again, I've already fixed that so it should work with any image with the next update. There is no need to change anything on the image.



Re: Search screen gives green screen of death #27 Kermit00

  • Senior Member
  • 105 posts

0
Neutral

Posted 23 November 2014 - 20:56

Sorry, I mean I reported the attached decompiled code (for removal).


Edited by Kermit00, 23 November 2014 - 20:56.


Re: Search screen gives green screen of death #28 littlesat

  • PLi® Core member
  • 56,272 posts

+691
Excellent

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


Re: Search screen gives green screen of death #29 dAF2000

  • PLi® Ex-Leden
  • 14,151 posts

+52
Good

Posted 23 November 2014 - 22:06

 

Yes not funny if someone is decompiling our plugin without permission.  :mellow:

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]


Many answers to your question can be found in our wiki: http://openpli.org/wiki

Re: Search screen gives green screen of death #30 dhwz

  • Senior Member
  • 227 posts

+20
Neutral

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.


Re: Search screen gives green screen of death #31 Taapat

  • PLi® Core member
  • 2,343 posts

+120
Excellent

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.


Re: Search screen gives green screen of death #32 littlesat

  • PLi® Core member
  • 56,272 posts

+691
Excellent

Posted 24 November 2014 - 11:31

Wauw good catch....


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Search screen gives green screen of death #33 Erik Slagter

  • PLi® Core member
  • 46,957 posts

+541
Excellent

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.


Re: Search screen gives green screen of death #34 littlesat

  • PLi® Core member
  • 56,272 posts

+691
Excellent

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 = guiObject
self.desktop = desktop
self.scale = scale
def applyOne(self, attrib, value):
try:
getattr(self, attrib)(value)
except AttributeError:
print "[Skin] Attribute not implemented:", attrib, "value:", value
except SkinError, ex:
print "[Skin] Error:", ex
except:
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


Re: Search screen gives green screen of death #35 littlesat

  • PLi® Core member
  • 56,272 posts

+691
Excellent

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..... :D

 

In fact it was induced here...

http://sourceforge.n...656db7cedb33b1/

So in there since  2010-07-06..... :D 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



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users