Jump to content


Photo

OpenPLi-py3


  • Please log in to reply
1139 replies to this topic

Re: OpenPLi-py3 #141 Pr2

  • PLi® Contributor
  • 6,197 posts

+261
Excellent

Posted 26 February 2022 - 14:07

plugin slowzap is not yet python3 compatible.

 

Attached File  slow-zap.jpg   64.02KB   2 downloads

[Skin] Processing screen '<embedded-in-PluginBrowserSummary>', position=(?, ?), size=(? x ?) for module 'PluginBrowserSummary'.
[Screen] Showing screen 'PluginBrowserSummary'.
[Skin] Processing screen 'MessageBox', position=(0, 0), size=(1920 x 1080) for module 'MessageBox'.
[Screen] Warning: Skin is missing element 'autoresize' in <class 'Screens.MessageBox.MessageBox'>(Certains plugins ne sont pas disponibles:
SystemPlugins/SlowZap (Missing parentheses in call to 'print'. Did you mean print("[newPlayService] Failed to start", currentlyServiceReference)? (plugin.py, line 214))
).
[Skin] Parsing embedded skin '<embedded-in-SimpleSummary>'.
[Skin] Processing screen '<embedded-in-SimpleSummary>' from list 'MessageBox_summary, SimpleSummary', position=(0, 0), size=(132 x 64) for module 'SimpleSummary'.
[Screen] Show

Edited by Pr2, 26 February 2022 - 14:17.

NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: OpenPLi-py3 #142 Pr2

  • PLi® Contributor
  • 6,197 posts

+261
Excellent

Posted 26 February 2022 - 15:26

Extensions/QtHbbbtv (invalid syntact (plugin.py line 61))

 

Attached File  qthhb.jpg   75.2KB   2 downloads


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: OpenPLi-py3 #143 Beeker

  • PLi® Contributor
  • 1,616 posts

+204
Excellent

Posted 26 February 2022 - 16:50

Extensions/QtHbbbtv (invalid syntact (plugin.py line 61))

 

attachicon.gifqthhb.jpg

The plugin is closed source so I'm afraid loading python module won't work.

Python code updated to python 3 anyway, so far.

Need support from manufacturer.


Edited by Beeker, 26 February 2022 - 16:59.

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 #144 Pr2

  • PLi® Contributor
  • 6,197 posts

+261
Excellent

Posted 26 February 2022 - 18:03

Not really closed source: 

 

root@pulse4k:/usr/lib/enigma2/python/Plugins/Extensions/QtHbbtv# ls  
__init__.py    __init__.pyc   browser.py     datasocket.py  hbbtv.py       plugin.py

 

So I use 2to3

2to3 -w plugin.py 
RefactoringTool: Skipping optional fixer: buffer
RefactoringTool: Skipping optional fixer: idioms
RefactoringTool: Skipping optional fixer: set_literal
RefactoringTool: Skipping optional fixer: ws_comma
RefactoringTool: Refactored plugin.py
--- plugin.py   (original)
+++ plugin.py   (refactored)
@@ -24,9 +24,9 @@
 from Tools.Directories import fileExists, copyfile, pathExists, createDir
 from Components.ServicePosition import ServicePosition
 from Components.VolumeControl import VolumeControl
-import urllib
-import urllib2
-from hbbtv import HbbTVWindow
+import urllib.request, urllib.parse, urllib.error
+import urllib.request, urllib.error, urllib.parse
+from .hbbtv import HbbTVWindow
 
 
 
@@ -58,8 +58,8 @@
                onid = info and info.getInfo(iServiceInformation.sONID) or -1
                ssid = info and info.getInfo(iServiceInformation.sSID) or -1
 
-               print 'URL %s' % (startUrl)
-               print 'PMT %d TSID %d ONID %d SSID %d' % (pmt, tsid, onid, ssid)
+               print('URL %s' % (startUrl))
+               print('PMT %d TSID %d ONID %d SSID %d' % (pmt, tsid, onid, ssid))
 
                ait = info.getAITApplications()
 
RefactoringTool: Files that were modified:
RefactoringTool: plugin.py

But then i have no module name browser


Edited by Pr2, 26 February 2022 - 18:07.

NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: OpenPLi-py3 #145 Beeker

  • PLi® Contributor
  • 1,616 posts

+204
Excellent

Posted 26 February 2022 - 18:16

https://github.com/O...5dcee59844e53a9

 

We don't have the C/C++ code of the shared object file (.so).


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 #146 Pr2

  • PLi® Contributor
  • 6,197 posts

+261
Excellent

Posted 26 February 2022 - 18:24

Strange I was thinking that EPGImport was totally fixed for python 3 but I start a manual update (yellow button) and get an error:  cannot concat byte to str (or the opposite).


Edited by Pr2, 26 February 2022 - 18:25.

NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: OpenPLi-py3 #147 geisivi

  • Member
  • 16 posts

0
Neutral

Posted 26 February 2022 - 18:39

Vu uno 4k

 

There is a bug in feed backupsuite plugin.

 

In files backuphdd.sh, backupusb.sh, and others backup.xxx.sh, there is a line "export .... Message.pyo, instead Message.pyc

 

export SHOW="python $LIBDIR/enigma2/python/Plugins/Extensions/BackupSuite/message.pyo $LANG"

 

Need to change Message.pyo to Message.pyc in theese files.

 

 

 

Attached Files



Re: OpenPLi-py3 #148 nikos100

  • Senior Member
  • 25 posts

0
Neutral

Posted 27 February 2022 - 00:51

Good evening! where can i find it? openpli-python3-recovery for sf8008



Re: OpenPLi-py3 #149 WanWizard

  • PLi® Core member
  • 70,891 posts

+1,833
Excellent

Posted 27 February 2022 - 01:17

It is not being built at the moment.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (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 #150 Pr2

  • PLi® Contributor
  • 6,197 posts

+261
Excellent

Posted 27 February 2022 - 19:11

PULSe 4K:  EPGImport is not working:

 

Can't concat str to bytes  when entering menu and pressing Yellow button (Manual).

[EPGImport] nextImport, source= News Channels (xz)
[EPGImport] Downloading: http://rytecepg.dyndns.tv/epg_data/rytecNWS.xz to local path: /tmp/epgimport.xz
[EPGImport] checkValidServer serverurl b'http://rytecepg.dyndns.tv/epg_data/rytecNWS.xz'
[EPGImport] Error at start: can't concat str to bytes
[Skin] Processing screen 'MessageBox', position=(0, 0), size=(1920 x 1080) for module 'MessageBox'.
[Screen] Warning: Skin is missing element 'autoresize' in <class 'Screens.MessageBox.MessageBox'>(EPGImport Plugin
Echec du démarrage:
can't concat str to bytes).


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: OpenPLi-py3 #151 isteric2005

  • Senior Member
  • 220 posts

+3
Neutral

Posted 27 February 2022 - 21:20

just for info ...... but maybe you already know that devicemanager doesn't work on python3



Re: OpenPLi-py3 #152 Beeker

  • PLi® Contributor
  • 1,616 posts

+204
Excellent

Posted 27 February 2022 - 21:42

 

PULSe 4K:  EPGImport is not working:

 

Can't concat str to bytes  when entering menu and pressing Yellow button (Manual).

[EPGImport] nextImport, source= News Channels (xz)
[EPGImport] Downloading: http://rytecepg.dyndns.tv/epg_data/rytecNWS.xz to local path: /tmp/epgimport.xz
[EPGImport] checkValidServer serverurl b'http://rytecepg.dyndns.tv/epg_data/rytecNWS.xz'
[EPGImport] Error at start: can't concat str to bytes
[Skin] Processing screen 'MessageBox', position=(0, 0), size=(1920 x 1080) for module 'MessageBox'.
[Screen] Warning: Skin is missing element 'autoresize' in <class 'Screens.MessageBox.MessageBox'>(EPGImport Plugin
Echec du démarrage:
can't concat str to bytes).

 

https://github.com/O...gimport/pull/82


Edited by Beeker, 27 February 2022 - 21:42.

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 #153 Beeker

  • PLi® Contributor
  • 1,616 posts

+204
Excellent

Posted 27 February 2022 - 21:44

just for info ...... but maybe you already know that devicemanager doesn't work on python3

Do you have a crash log? And when does it happen?


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 #154 WanWizard

  • PLi® Core member
  • 70,891 posts

+1,833
Excellent

Posted 27 February 2022 - 22:04

https://github.com/O...gimport/pull/82

 

Merged.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (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 #155 suhuf

  • New Member
  • 3 posts

0
Neutral

Posted 28 February 2022 - 14:11

 

I installed openpli-python3-vuduo4k-20220222 on my Vu Duo4K device, there is sound, no image. I had to revert to normal image.

Check video settings.

 

I installed openpli-python3-vuduo4k-20220222 on my Vu Duo4K device, there is sound, no image
 



Re: OpenPLi-py3 #156 DJWeed

  • Senior Member
  • 116 posts

0
Neutral

Posted 28 February 2022 - 17:58

Hi,

 

After today's update KODI still not starting.

 

I found another bug. When upload ipk file to /tmp and trying to install there is unable to install local package because of permanent information about "there is no files on this device".

 

Regards,

DJWeed



Re: OpenPLi-py3 #157 rantanplan

  • PLi® Contributor
  • 1,863 posts

+87
Good

Posted 28 February 2022 - 18:02

ok.
Waiting next build.



Re: OpenPLi-py3 #158 isteric2005

  • Senior Member
  • 220 posts

+3
Neutral

Posted 28 February 2022 - 21:02

 

just for info ...... but maybe you already know that devicemanager doesn't work on python3

Do you have a crash log? And when does it happen?

 

I uploaded the new image .... on restart it found me the backup of the openpli 8.1 configurations ..... it uploaded them to me at reboot the message that some plugins do not work .... and highlights device manager



Re: OpenPLi-py3 #159 DJWeed

  • Senior Member
  • 116 posts

0
Neutral

Posted 1 March 2022 - 08:34

After today's update there are the same bugs like described before.

 

Regards,

DJWeed



Re: OpenPLi-py3 #160 Beeker

  • PLi® Contributor
  • 1,616 posts

+204
Excellent

Posted 1 March 2022 - 09:25

 

 

just for info ...... but maybe you already know that devicemanager doesn't work on python3

Do you have a crash log? And when does it happen?

 

I uploaded the new image .... on restart it found me the backup of the openpli 8.1 configurations ..... it uploaded them to me at reboot the message that some plugins do not work .... and highlights device manager

 

 

Probably old source.

Manual install with homebuild no problem.

Attached Files


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



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users