Jump to content


Photo

OpenPLi-py3


  • Please log in to reply
1139 replies to this topic

Re: OpenPLi-py3 #441 Beeker

  • PLi® Contributor
  • 1,477 posts

+198
Excellent

Posted 20 July 2022 - 18:58

https://github.com/E...344524e8dd79b26


Dreambox dm920, Uclan Ustym4Kpro, Gigablue UHD TRIO 4K and Dreambox dm8000. Wavefrontier T55 13.0|19.2|23.5|28.2 + Ziggo.


Re: OpenPLi-py3 #442 WanWizard

  • PLi® Core member
  • 68,577 posts

+1,737
Excellent

Posted 20 July 2022 - 19:08

Any idea what the issue here is?

Traceback (most recent call last):
  File "/usr/lib/enigma2/python/Plugins/Extensions/AnalogClock/ui.py", line 445, in ControlLoop
    self.drawClock()
  File "/usr/lib/enigma2/python/Plugins/Extensions/AnalogClock/ui.py", line 468, in drawClock
    self["Canvas"].flush()
  File "/usr/lib/enigma2/python/Components/Sources/CanvasSource.py", line 32, in flush
    self.changed((self.CHANGED_DEFAULT,))
  File "/usr/lib/enigma2/python/Components/Element.py", line 91, in changed
    self.downstream_elements.changed(*args, **kwargs)
  File "/usr/lib/enigma2/python/Tools/CList.py", line 7, in __call__
    x(*args, **kwargs)
  File "/usr/lib/enigma2/python/Components/Renderer/Canvas.py", line 47, in changed
    self.pull_updates()
  File "/usr/lib/enigma2/python/Components/Renderer/Canvas.py", line 28, in pull_updates
    self.draw(list[1][self.draw_count:])
  File "/usr/lib/enigma2/python/Components/Renderer/Canvas.py", line 35, in draw
    self.instance.fillRect(eRect(l[1], l[2], l[3], l[4]), gRGB(l[5]))
  File "/usr/lib/enigma2/python/enigma.py", line 1271, in __init__
    _enigma.eRect_swiginit(self, _enigma.new_eRect(*args))
TypeError: in method 'new_eRect', argument 1 of type 'int'

As far as I can see, all parameters passed are int's.
 


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: OpenPLi-py3 #443 WanWizard

  • PLi® Core member
  • 68,577 posts

+1,737
Excellent

Posted 20 July 2022 - 19:09

 

Like Lucky Luke, faster than his shadow... :thumbs-up:


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: OpenPLi-py3 #444 Beeker

  • PLi® Contributor
  • 1,477 posts

+198
Excellent

Posted 20 July 2022 - 19:20

Any idea what the issue here is?

Traceback (most recent call last):
  File "/usr/lib/enigma2/python/Plugins/Extensions/AnalogClock/ui.py", line 445, in ControlLoop
    self.drawClock()
  File "/usr/lib/enigma2/python/Plugins/Extensions/AnalogClock/ui.py", line 468, in drawClock
    self["Canvas"].flush()
  File "/usr/lib/enigma2/python/Components/Sources/CanvasSource.py", line 32, in flush
    self.changed((self.CHANGED_DEFAULT,))
  File "/usr/lib/enigma2/python/Components/Element.py", line 91, in changed
    self.downstream_elements.changed(*args, **kwargs)
  File "/usr/lib/enigma2/python/Tools/CList.py", line 7, in __call__
    x(*args, **kwargs)
  File "/usr/lib/enigma2/python/Components/Renderer/Canvas.py", line 47, in changed
    self.pull_updates()
  File "/usr/lib/enigma2/python/Components/Renderer/Canvas.py", line 28, in pull_updates
    self.draw(list[1][self.draw_count:])
  File "/usr/lib/enigma2/python/Components/Renderer/Canvas.py", line 35, in draw
    self.instance.fillRect(eRect(l[1], l[2], l[3], l[4]), gRGB(l[5]))
  File "/usr/lib/enigma2/python/enigma.py", line 1271, in __init__
    _enigma.eRect_swiginit(self, _enigma.new_eRect(*args))
TypeError: in method 'new_eRect', argument 1 of type 'int'

As far as I can see, all parameters passed are int's.
 

 

....


Edited by Beeker, 20 July 2022 - 19:23.

Dreambox dm920, Uclan Ustym4Kpro, Gigablue UHD TRIO 4K and Dreambox dm8000. Wavefrontier T55 13.0|19.2|23.5|28.2 + Ziggo.


Re: OpenPLi-py3 #445 WanWizard

  • PLi® Core member
  • 68,577 posts

+1,737
Excellent

Posted 20 July 2022 - 19:22

Yes, I know that, that is already addressed (just pushed those fixes). But that doesn't fix this error.

 

Edit: found the cause:

[Canvas:draw()] (1, 57.0, 57.0, 6, 6, 16725044)

Now check where those two floats come from...


Edited by WanWizard, 20 July 2022 - 19:25.

Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: OpenPLi-py3 #446 WanWizard

  • PLi® Core member
  • 68,577 posts

+1,737
Excellent

Posted 20 July 2022 - 23:10

I've updated all "extensions" plugins in the feed (the ones we build, not the 3rd-party feed), so at least they load without errors.

 

I haven't tested any of them functionally, so by all means, do so, and report back.

 

I skipped all plugins we (as in OpenPLi) don't maintain the source of, I expect the authors of those plugins to take care of compatibibity themselfs (looking at you, @ims, @dimitrij ;)).

 

I'll try to find time soon to do the same with the systemplugins.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: OpenPLi-py3 #447 foxbob

  • Senior Member
  • 612 posts

+18
Neutral

Posted 5 August 2022 - 20:05

Here are more errors in these plugins.

 

Attached Files



Re: OpenPLi-py3 #448 Beeker

  • PLi® Contributor
  • 1,477 posts

+198
Excellent

Posted 5 August 2022 - 21:44

Extrafancontrol awaiting PR

https://github.com/D...ncontrol/pull/4

 

Swapmanager is an 3rth-party plugin.


Dreambox dm920, Uclan Ustym4Kpro, Gigablue UHD TRIO 4K and Dreambox dm8000. Wavefrontier T55 13.0|19.2|23.5|28.2 + Ziggo.


Re: OpenPLi-py3 #449 WanWizard

  • PLi® Core member
  • 68,577 posts

+1,737
Excellent

Posted 5 August 2022 - 21:46

You've just beaten me to it ;).


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: OpenPLi-py3 #450 Beeker

  • PLi® Contributor
  • 1,477 posts

+198
Excellent

Posted 5 August 2022 - 21:48

:P


Dreambox dm920, Uclan Ustym4Kpro, Gigablue UHD TRIO 4K and Dreambox dm8000. Wavefrontier T55 13.0|19.2|23.5|28.2 + Ziggo.


Re: OpenPLi-py3 #451 foxbob

  • Senior Member
  • 612 posts

+18
Neutral

Posted 6 August 2022 - 07:59

Extrafancontrol next error

 

Attached Files



Re: OpenPLi-py3 #452 Beeker

  • PLi® Contributor
  • 1,477 posts

+198
Excellent

Posted 6 August 2022 - 09:35

Can't confirm.

No errors in plugin menu.

 

Looking at line 107 HddTempWatcher.py

removable = bool(int(data))

Nothing wrong with it.

 

Are you building from dima73's repo or your own foxbob 'collected and assembled' plugin repo?


Dreambox dm920, Uclan Ustym4Kpro, Gigablue UHD TRIO 4K and Dreambox dm8000. Wavefrontier T55 13.0|19.2|23.5|28.2 + Ziggo.


Re: OpenPLi-py3 #453 foxbob

  • Senior Member
  • 612 posts

+18
Neutral

Posted 6 August 2022 - 13:38

I collect from the original source, I just decided to check on an unsupported device - et11000 4k.



Re: OpenPLi-py3 #454 foxbob

  • Senior Member
  • 612 posts

+18
Neutral

Posted 6 August 2022 - 18:43

And this plugin works on python 2, but not on python 3.This was told to me by a user who has duo4kse.



Re: OpenPLi-py3 #455 Beeker

  • PLi® Contributor
  • 1,477 posts

+198
Excellent

Posted 6 August 2022 - 18:56

For me the plugin works fine.

Syntax error line 107 not related to box (most unlikely)

 

Attached Files


Dreambox dm920, Uclan Ustym4Kpro, Gigablue UHD TRIO 4K and Dreambox dm8000. Wavefrontier T55 13.0|19.2|23.5|28.2 + Ziggo.


Re: OpenPLi-py3 #456 WanWizard

  • PLi® Core member
  • 68,577 posts

+1,737
Excellent

Posted 6 August 2022 - 21:36

I'm planning on resetting the 3rd-party feed, when we move python3 to develop, and start with an empty one.

 

People that miss plugins can provide a working ipk (but ideally a source repo) so we'll end up with only working ones, instead of dragging along old junk from times gone by...


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: OpenPLi-py3 #457 littlesat

  • PLi® Core member
  • 56,267 posts

+691
Excellent

Posted 8 August 2022 - 15:51


I'm planning on resetting the 3rd-party feed, when we move python3 to develop, and start with an empty one.

 

People that miss plugins can provide a working ipk (but ideally a source repo) so we'll end up with only working ones, instead of dragging along old junk from times gone by...

+1


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


Re: OpenPLi-py3 #458 WanWizard

  • PLi® Core member
  • 68,577 posts

+1,737
Excellent

Posted 8 August 2022 - 16:50

Done now, will be active after the next build. Lets see how many ipk's we will end up with.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: OpenPLi-py3 #459 monassat

  • Senior Member
  • 33 posts

0
Neutral

Posted 9 August 2022 - 14:33

Installed succesfully in old DM8000. Really great img. Expecially copy itself all old settings from last working img.

Will test carefully and replay if issue.

Thanks



Re: OpenPLi-py3 #460 monassat

  • Senior Member
  • 33 posts

0
Neutral

Posted 10 August 2022 - 14:57

Installed succesfully in old DM8000. Really great img. Expecially copy itself all old settings from last working img.

Will test carefully and replay if issue.

Thanks

Tryed to install swapmanager but I didn't find it.




1 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users


    Bing (1)