Springen naar inhoud


Foto

develop: python3 transition


  • Please log in to reply
Er zijn 371 reacties in dit onderwerp

Re: develop: python3 transition #201 Huevos

  • PLi® Contributor
  • 4400 berichten

+160
Excellent

Geplaatst op 5 januari 2022 - 20:57

I saw that the plugin EPGimport is not in the list of the available plugin:

enigma2-plugin-extensions-epgimport

 

I guess that's because EPGimport is not compatible with Python3 so it doesn't build? Or is it just because we forgot to include it?

 

My internal plugins feed is working now.

Where is PLi building that from? We build our Py3 version from here: https://github.com/o...rt/tree/python3



Re: develop: python3 transition #202 Beeker

  • PLi® Contributor
  • 1483 berichten

+198
Excellent

Geplaatst op 5 januari 2022 - 21:04

https://github.com/O...sions-epgimport


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


Re: develop: python3 transition #203 Tech

  • Forum Moderator
    PLi® Core member
  • 14741 berichten

+466
Excellent

Geplaatst op 5 januari 2022 - 21:08

I build (homebuild) VuUltimo4k and VuDuo4kse but enigma refuses to start :( log doesn't show much info... 

Bijgevoegde Bestanden


Aan de rand van de afgrond is een stap voorwaarts niet altijd vooruitgang....

On the edge of the abyss, a step forward is not always progress....


Hardware: 2x Daily used Vu+ Ultimo 4K - Vu+ Duo 4K SE and a lot more.... - VisioSat BiBigsat - Jultec Unicable Multiswitch 4 positions: 19.2/23.5/28.2 East - Diseqc motorized flatdish antenna

Software : HomeBuild OpenPLi Develop and Kirkstone builds, local cards driven by OsCam

 

Press the rep_up.png button on the buttom right of this message ;)


Have you tried our wiki yet? Many answers can be found in our OpenPLi wiki


Re: develop: python3 transition #204 Pr2

  • PLi® Contributor
  • 6102 berichten

+260
Excellent

Geplaatst op 5 januari 2022 - 21:27

 

I saw that the plugin EPGimport is not in the list of the available plugin:

enigma2-plugin-extensions-epgimport

 

I guess that's because EPGimport is not compatible with Python3 so it doesn't build? Or is it just because we forgot to include it?

 

My internal plugins feed is working now.

Where is PLi building that from? We build our Py3 version from here: https://github.com/o...rt/tree/python3

 

 

 

As mentionned by Beeker this is the link:

 

https://github.com/O...sions-epgimport

 

OpenPLi is using EPGImport while OE-A is using XMLVTVimport and they are not in sync (afaik).

 

Seems that 2to3 does the job on it but I need to find how to cross-compile using: python3 setup.py build  because there is a C component that needs to be cross-compiled and I didn't find yet how to do it.


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: develop: python3 transition #205 WanWizard

  • PLi® Core member
  • 69003 berichten

+1754
Excellent

Geplaatst op 5 januari 2022 - 21:29

FYI:

 

OE-A made a fork of our plugin a long time ago. We renamed it from XMLTVimport to EPGimport I think with OpenPLi 7.0 (as it imports more than only xmltv files).


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: develop: python3 transition #206 WanWizard

  • PLi® Core member
  • 69003 berichten

+1754
Excellent

Geplaatst op 5 januari 2022 - 23:19

Should be fixed when the current build run is finished.

 

Online now.

 

Note that still a lot fails to build, so some images could be missing, and the feed can be incomplete.


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: develop: python3 transition #207 zeros

  • PLi® Contributor
  • 1635 berichten

+61
Good

Geplaatst op 6 januari 2022 - 05:17

Thanks, I checked, that for Qviart Lunix3 4K not yet, but for example python3 images are online for 

Edision OS mio 4K

Gigablue Trio 4K


DM920UHD DVB-S2X TRIPLE tuner + Triple M.S tuner DVB-S2X, DVB-T2/T, QboxHD, QboxHD Mini, Icecrypt T2300HD,
Qviart Lunix3 4K, Raspberry Pi 4 Model B 4GB & 8GB

Vertex 4K60 4:4:4 600MHz


Re: develop: python3 transition #208 WanWizard

  • PLi® Core member
  • 69003 berichten

+1754
Excellent

Geplaatst op 6 januari 2022 - 11:06

Lunix3-4k fails on

2022-01-05 22:17:09 ERROR: Nothing RPROVIDES 'webkit-hbbtv-plugin' (but /openpli/oe/python3/meta-xsarius.pli5/recipes-webkit/webkit/enigma2-plugin-extensions-hbbtv-webkit.bb RDEPENDS on or otherwise requires it)
2022-01-05 22:17:09 ERROR: Required build target 'openpli-enigma2-image' has no buildable providers.

which looks weird since it references a Xsarius BSP recipe, so I guqess this is a compatible_machine issue...


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: develop: python3 transition #209 Jaikat

  • New Member
  • 3 berichten

0
Neutral

Geplaatst op 6 januari 2022 - 11:57

Hi guys.. i hope this is the right section/thread..

 

Octagon SF8008 4k

Openpli develop

 

Anybody tried kodi 19-r0 (python 3)?

For me, after a few minutes of starting playback for anything(movie/series) through any add-on, the receiver starts to suffer, the video hangs and I get the system loading spinner (not kodi buffering)..at this point the box becomes unresponsive, I can't even connect to it by telnet or ssh..only thing I could do is restart using the back switch..very frustrating.

 

How was your experience with kodi ?
Is this a known issue and could it be fixed?

 

 

ps: i have it running on a old E2 image without a hitch, which is good for now.. problem is with the python 3 migration and add-ons not working anymore on older versions.


Veranderd door Jaikat, 6 januari 2022 - 11:59


Re: develop: python3 transition #210 40H3X

  • Forum Moderator
    PLi® Contributor
  • 5840 berichten

+188
Excellent

Geplaatst op 6 januari 2022 - 13:53

──(private㉿kali)-[~/OpenPLi/openpli-oe-core]
└─$ MACHINE=vuduo4k make image                                                                              2 ⨯
Building image for vuduo4k
ERROR: Traceback (most recent call last):
  File "/home/private/OpenPLi/openpli-oe-core/bitbake/lib/bb/cookerdata.py", line 162, in wrapped               
    return func(fn, *args)                                                                                      
  File "/home/private/OpenPLi/openpli-oe-core/bitbake/lib/bb/cookerdata.py", line 187, in parse_config_file     
    return bb.parse.handle(fn, data, include)                                                                   
  File "/home/private/OpenPLi/openpli-oe-core/bitbake/lib/bb/parse/__init__.py", line 107, in handle            
    return h['handle'](fn, data, include)                                                                       
  File "/home/private/OpenPLi/openpli-oe-core/bitbake/lib/bb/parse/parse_py/ConfHandler.py", line 121, in handle
    abs_fn = resolve_file(fn, data)                                                                             
  File "/home/private/OpenPLi/openpli-oe-core/bitbake/lib/bb/parse/__init__.py", line 131, in resolve_file      
    raise IOError(errno.ENOENT, "file %s not found" % fn)                                                       
FileNotFoundError: [Errno 2] file /home/private/OpenPLi/openpli-oe-core/meta-dream/conf/layer.conf not found    
                                                                                                                
ERROR: Unable to parse /home/private/OpenPLi/openpli-oe-core/meta-dream/conf/layer.conf: [Errno 2] file /home/private/OpenPLi/openpli-oe-core/meta-dream/conf/layer.conf not found                                              
make: *** [Makefile:130: image] Error 1
                                                          



 


Hardware: Vu+ Uno 4K SE - Vu+ Duo 4K  - Fuba 78 cm - Tripleblock LNB Quad 19.2/23.5/28.2 - DS918+
Software : OpenPLi - OSCam - Settings van Hans - Autotimer - EPGImport

---------------------------------------------------------------------------------------------------------------------------------------

Remember: Upvote with the rep_up.png button for any user/post you find to be helpful, informative, or deserving of recognition!

---------------------------------------------------------------------------------------------------------------------------------------

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

Note: I do not provide support via PM !.


Re: develop: python3 transition #211 WanWizard

  • PLi® Core member
  • 69003 berichten

+1754
Excellent

Geplaatst op 6 januari 2022 - 16:15

check if the submodule is checked out properly, I had issues with meta-dream too.


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: develop: python3 transition #212 blzr

  • PLi® Core member
  • 2269 berichten

+118
Excellent

Geplaatst op 6 januari 2022 - 16:58

FYI

vs-1500 image and feed have built successfully here 

Now it's time for some testing (unfortunately only when the box is not occupied... :ph34r: )

 

A helluva job, Beeker! :thumbs-up: 


True sarcasm doesn't need green font...

Re: develop: python3 transition #213 40H3X

  • Forum Moderator
    PLi® Contributor
  • 5840 berichten

+188
Excellent

Geplaatst op 6 januari 2022 - 18:05

check if the submodule is checked out properly, I had issues with meta-dream too.

 

Edit: Yes that was it, build is running


Hardware: Vu+ Uno 4K SE - Vu+ Duo 4K  - Fuba 78 cm - Tripleblock LNB Quad 19.2/23.5/28.2 - DS918+
Software : OpenPLi - OSCam - Settings van Hans - Autotimer - EPGImport

---------------------------------------------------------------------------------------------------------------------------------------

Remember: Upvote with the rep_up.png button for any user/post you find to be helpful, informative, or deserving of recognition!

---------------------------------------------------------------------------------------------------------------------------------------

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

Note: I do not provide support via PM !.


Re: develop: python3 transition #214 Beeker

  • PLi® Contributor
  • 1483 berichten

+198
Excellent

Geplaatst op 6 januari 2022 - 18:16

Build image and feed fully tested:

 

vuduo4k.OK

vuultimo4. OK

osmio4k OK.

lunix3-4k OK

 

@wanwizard, which boxes still fail at build?


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


Re: develop: python3 transition #215 nautilus7

  • Senior Member
  • 229 berichten

+6
Neutral

Geplaatst op 6 januari 2022 - 18:19

Wireless lan is crashing: https://github.com/O...ll/3251/commits

 

Also, all config elements/options that contain text stings are not displaying. They are empty.

Traceback (most recent call last):
  File "/usr/lib/enigma2/python/Components/config.py", line 144, in __call__
    return self.getMulti(selected)
  File "/usr/lib/enigma2/python/Components/config.py", line 1060, in getMulti
    return ("mtext"[1 - selected:], self.text[self.offset:self.offset + self.visible_width].encode("utf-8") + " ", mark)
TypeError: can't concat str to bytes
Traceback (most recent call last):
  File "/usr/lib/enigma2/python/Components/config.py", line 144, in __call__
    return self.getMulti(selected)
  File "/usr/lib/enigma2/python/Components/config.py", line 1060, in getMulti
    return ("mtext"[1 - selected:], self.text[self.offset:self.offset + self.visible_width].encode("utf-8") + " ", mark)
TypeError: can't concat str to bytes

NumericalTextInput is displaying usable characters with a 'b' prefix.

 

 

VirtualKeyboard is crashing

Traceback (most recent call last):
  File "/usr/lib/enigma2/python/Components/ActionMap.py", line 78, in action
    return ActionMap.action(self, contexts, action)
  File "/usr/lib/enigma2/python/Components/ActionMap.py", line 58, in action
    res = self.actions[action]()
  File "/usr/lib/enigma2/python/Screens/TimerEntry.py", line 271, in keyRight
    self.renameEntry()
  File "/usr/lib/enigma2/python/Screens/TimerEntry.py", line 284, in renameEntry
    self.session.openWithCallback(self.renameEntryCallback, VirtualKeyBoard, title=title_text, text=old_text)
  File "/usr/lib/enigma2/python/StartEnigma.py", line 303, in openWithCallback
    dlg = self.open(screen, *arguments, **kwargs)
  File "/usr/lib/enigma2/python/StartEnigma.py", line 313, in open
    dlg = self.current_dialog = self.instantiateDialog(screen, *arguments, **kwargs)
  File "/usr/lib/enigma2/python/StartEnigma.py", line 256, in instantiateDialog
    return self.doInstantiateDialog(screen, arguments, kwargs, self.desktop)
  File "/usr/lib/enigma2/python/StartEnigma.py", line 273, in doInstantiateDialog
    dlg = screen(self, *arguments, **kwargs)
  File "/usr/lib/enigma2/python/Screens/VirtualKeyBoard.py", line 518, in __init__
    self["text"] = Input(text=text, maxSize=maxSize, visible_width=visible_width, type=type, currPos=len(text.decode("utf-8", "ignore")) if currPos is None else currPos, allMarked=allMarked)
AttributeError: 'str' object has no attribute 'decode'
[ePyObject] (CallObject(<bound method NumberActionMap.action of <Components.ActionMap.NumberActionMap object at 0xb1be6268>>,('SetupActions', 'right')) failed)



Veranderd door nautilus7, 6 januari 2022 - 18:20


Re: develop: python3 transition #216 nautilus7

  • Senior Member
  • 229 berichten

+6
Neutral

Geplaatst op 6 januari 2022 - 18:34

PR's coming...



Re: develop: python3 transition #217 Beeker

  • PLi® Contributor
  • 1483 berichten

+198
Excellent

Geplaatst op 6 januari 2022 - 18:41

OOPS ...working on the thing, the same time.


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


Re: develop: python3 transition #218 Beeker

  • PLi® Contributor
  • 1483 berichten

+198
Excellent

Geplaatst op 6 januari 2022 - 18:45

2 Merged, one closed. Thanks.


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


Re: develop: python3 transition #219 nautilus7

  • Senior Member
  • 229 berichten

+6
Neutral

Geplaatst op 6 januari 2022 - 18:55

Is the check in line 155 of input.py still needed? https://github.com/O...s/Input.py#L155

 

EDIT: In fact it should be removed. It still crashes!

		if isinstance(ch, str):
			ch = ch.decode("utf-8", "ignore")
Traceback (most recent call last):
  File "/usr/lib/enigma2/python/Components/ActionMap.py", line 78, in action
    return ActionMap.action(self, contexts, action)
  File "/usr/lib/enigma2/python/Components/ActionMap.py", line 58, in action
    res = self.actions[action]()
  File "/usr/lib/enigma2/python/Screens/VirtualKeyBoard.py", line 1033, in processSelect
    self['text'].char(text)
  File "/usr/lib/enigma2/python/Components/Input.py", line 265, in char
    self.insertChar(char)
  File "/usr/lib/enigma2/python/Components/Input.py", line 156, in insertChar
    ch = ch.decode("utf-8", "ignore")
AttributeError: 'str' object has no attribute 'decode'

Veranderd door nautilus7, 6 januari 2022 - 19:02


Re: develop: python3 transition #220 Beeker

  • PLi® Contributor
  • 1483 berichten

+198
Excellent

Geplaatst op 6 januari 2022 - 19:10

Yes that can be removed. :)


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



1 gebruiker(s) lezen dit onderwerp

0 leden, 1 bezoekers, 0 anonieme gebruikers