Jump to content


Photo

OpenPLi-py3


  • Please log in to reply
1139 replies to this topic

Re: OpenPLi-py3 #201 suhuf

  • New Member
  • 3 posts

0
Neutral

Posted 6 March 2022 - 20:35

 

Good days dear admin.

I installed openpli-python3-vuduo4k-20220306,to day image on my Vu Duo4K device, there is sound, no image.Again.Thank you every body.

 

Please describe precisely your problem which channel are you watching with sound and no image?  My guess is that it is IPTV channels and not DVB ones.

 

Moreover python3 is intended to be flashed and used for daily usage, so I recommend that you flash the 8.1 stable (or the develop image but yet not the python3).

 

 

Thank you for the response. I know that the version is for testing and not a stable version, the software is already offered as test software.I'm just sharing what I've experienced during development to contribute to the situation.
Now, I'm not talking about the IP TV part. Satellite broadcasts do not show any resolution that I have tried. There is sound but no image. Thank you again.

 

Edited by suhuf, 6 March 2022 - 20:37.


Re: OpenPLi-py3 #202 lme

  • Member
  • 11 posts

0
Neutral

Posted 6 March 2022 - 20:41

Why this never happen till now ?

the only option to boot into another image is to unplug the box during the reboot loop & plug it back.

the box will boot into the desired image.
here are the pics, as there is no crash log:

Attached Files

  • Attached File  1.jpg   250.14KB   5 downloads
  • Attached File  2.jpg   71.29KB   4 downloads
  • Attached File  3.jpg   100.74KB   4 downloads
  • Attached File  4.jpg   94.54KB   5 downloads

Edited by lme, 6 March 2022 - 20:46.

Nihil Sine Deo !


Re: OpenPLi-py3 #203 Aliraza63

  • PLi® Tester
  • 250 posts

+23
Neutral

Posted 7 March 2022 - 13:23

Flash image must be different /py2 

During flash partition there are number of files which are shared and used . 


 DM-900 ,DM-520, Vu+Duo2


Re: OpenPLi-py3 #204 Pr2

  • PLi® Contributor
  • 6,185 posts

+261
Excellent

Posted 7 March 2022 - 23:13

Flash image must be different /py2 

During flash partition there are number of files which are shared and used . 

 

You are mixing up people using OpenMultiboot where indeed files are shared between images and that's always lead to problem (like on VU+ boxes) and people using box which support true Mutlboot without any interaction between images, each one have its own kernel.

 

Switching between OpenPLi develop (python 2) and OpenPLi python was working on true Multiboot capable STB (Gigablue Trio 4K, ABCom Pulse 4K,...) and now it is no longer working, we are stuck on the OpenPLi python 3 image.


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 #205 littlesat

  • PLi® Core member
  • 57,330 posts

+708
Excellent

Posted 8 March 2022 - 07:35

It could only be that somehow the startup file is not changed in the ‘multiboot’ partition….

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


Re: OpenPLi-py3 #206 Beeker

  • PLi® Contributor
  • 1,615 posts

+204
Excellent

Posted 8 March 2022 - 09:21

Tested with Uclan4Kpro

 

With python3 image I can jump from slot 1 to slot 2, 3 and 4 and back. Even from and to OpenATV 6.4 (both with GUI E2).

 

Only OpenPLi 8.1 is problem. No way to install multiboot image.

First it seems to going well.Updating ...Image unzip ...multiboot.zip blabla.

But when finished..no 8.1 in selector.


Edited by Beeker, 8 March 2022 - 09: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 #207 DJWeed

  • Senior Member
  • 116 posts

0
Neutral

Posted 8 March 2022 - 17:26

After today's update still problem with rebooting. There is simple test, just type command "reboot" in putty and nothing is happening.

 

 

Regards,

DJWeed



Re: OpenPLi-py3 #208 Beeker

  • PLi® Contributor
  • 1,615 posts

+204
Excellent

Posted 8 March 2022 - 18:10

After today's update still problem with rebooting. There is simple test, just type command "reboot" in putty and nothing is happening.

 

 

Regards,

DJWeed

Reboot works fine here.

Probably related to multiboot problem.


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 #209 DJWeed

  • Senior Member
  • 116 posts

0
Neutral

Posted 8 March 2022 - 19:26

Hi,

 

Encouraged by your reassurance that it works properly on clean software, I uploaded clean software and indeed the option "reboot" works properly. 

 

Regards.

DJWeed


Edited by DJWeed, 8 March 2022 - 19:30.


Re: OpenPLi-py3 #210 DJWeed

  • Senior Member
  • 116 posts

0
Neutral

Posted 8 March 2022 - 19:47

Can't edit my post above that's why writing another one:

 

1. KODI still not starting

2. ExtendedNumberZap got en error - please see attached file for details.

3. Unable to install mediaportal-py3 - please see attached file for details.

 

Regards,

DJWeed

Attached Files


Edited by DJWeed, 8 March 2022 - 19:51.


Re: OpenPLi-py3 #211 DJWeed

  • Senior Member
  • 116 posts

0
Neutral

Posted 8 March 2022 - 21:08

In accordance to point 3 above, when used command:

opkg install python3-future

still unable to install mediaportal-py3, please see attached for details.

 

Regards,

DJWeed

Attached Files



Re: OpenPLi-py3 #212 Pr2

  • PLi® Contributor
  • 6,185 posts

+261
Excellent

Posted 8 March 2022 - 21:17

nodejs is not (yet) available in python3 image (it is in python2).


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 #213 DJWeed

  • Senior Member
  • 116 posts

0
Neutral

Posted 8 March 2022 - 21:19

Previously when used the command above there was possible to install Mediaportal-py3. What happened in few days? ;) 

 

Rergards,

DJWeed



Re: OpenPLi-py3 #214 Beeker

  • PLi® Contributor
  • 1,615 posts

+204
Excellent

Posted 8 March 2022 - 21:47

PR extended-Numberzap

https://github.com/D...cafe04f588ae9e2

 

Nodejs is removed from feed since September, 2021.

I'll reinstate it.

Mediaportal has added nodejs as dependency apparently.

 

Kodi: Still big problem.


Edited by Beeker, 8 March 2022 - 21:51.

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 #215 rantanplan

  • PLi® Contributor
  • 1,861 posts

+87
Good

Posted 9 March 2022 - 00:21

Mediaportal an depends...
I activated "perl" as a nodejs replacement for a long time.
It works perfect.
In addition, you save a lot of resources when building your image.
I reversed that with the commit because the really complex qt webkit obviously queries nodejs several times as a depend.

https://github.com/O...608317a40311237

Kodi 20
I have no more ideas, sorry.
I will continue to update the patches.
Andrea Adami(Git) AA has little time, wants to watch it.
Maybe he needs to get access to this area?



Re: OpenPLi-py3 #216 WanWizard

  • PLi® Core member
  • 70,718 posts

+1,824
Excellent

Posted 9 March 2022 - 01:51

How is perl a replacement for nodejs? Or do you mean exclusively for mediaportal?

 

Andrea Adami(Git) AA has little time, wants to watch it.
Maybe he needs to get access to this area?

 

Not a problem, he can PM me if he wants...


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 #217 Huevos

  • PLi® Contributor
  • 4,735 posts

+167
Excellent

Posted 9 March 2022 - 08:46

PR extended-Numberzap

https://github.com/D...cafe04f588ae9e2

 

Nodejs is removed from feed since September, 2021.

I'll reinstate it.

Mediaportal has added nodejs as dependency apparently.

 

Kodi: Still big problem.

How is that ever going to work? That is not valid syntax. Even if it is in a "PY2" block, it still has to be valid Py3 syntax or it will crash in Py3.

Python 3.10.2 (main, Jan 13 2022, 19:06:22) [GCC 11.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
>>> import six
>>>
>>> if six.PY2:
...     exec "1+1"
  File "<stdin>", line 2
    exec "1+1"
    ^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'exec'. Did you mean exec(...)?
>>>

Just add the parenthesis, not the if block:

# Python 2 only:
exec 'x = 10'

# Python 2 and 3:
exec('x = 10')

Works fine in python2:

Python 2.7.16 (v2.7.16:413a49145e, Mar  4 2019, 01:37:19) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
>>> exec("1+1")
>>>

Your code is doing the same as this:

import six
if six.PY2:
	print "xyz"
else:
	print("xyz")

And will end up like this:

root@vuultimo4k:/tmp# python v.py
  File "/var/volatile/tmp/v.py", line 3
    print "xyz"
    ^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
root@vuultimo4k:/tmp#


Edited by Huevos, 9 March 2022 - 09:16.


Re: OpenPLi-py3 #218 rantanplan

  • PLi® Contributor
  • 1,861 posts

+87
Good

Posted 9 March 2022 - 10:48

https://github.com/O...5.32.1.bbappend

 

I had undone it again due to occasional build errors related to qthbbtv.
In principle, however, perl is completely sufficient. Nodejs is way too big.
I would like to re-enable perl.

Whether we want to use qthbbtv is another question anyway.



Re: OpenPLi-py3 #219 Beeker

  • PLi® Contributor
  • 1,615 posts

+204
Excellent

Posted 9 March 2022 - 13:15

 

PR extended-Numberzap

https://github.com/D...cafe04f588ae9e2

 

Nodejs is removed from feed since September, 2021.

I'll reinstate it.

Mediaportal has added nodejs as dependency apparently.

 

Kodi: Still big problem.

How is that ever going to work? That is not valid syntax. Even if it is in a "PY2" block, it still has to be valid Py3 syntax or it will crash in Py3.

Python 3.10.2 (main, Jan 13 2022, 19:06:22) [GCC 11.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
>>> import six
>>>
>>> if six.PY2:
...     exec "1+1"
  File "<stdin>", line 2
    exec "1+1"
    ^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'exec'. Did you mean exec(...)?
>>>

Just add the parenthesis, not the if block:

# Python 2 only:
exec 'x = 10'

# Python 2 and 3:
exec('x = 10')

Works fine in python2:

Python 2.7.16 (v2.7.16:413a49145e, Mar  4 2019, 01:37:19) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
>>> exec("1+1")
>>>

Your code is doing the same as this:

import six
if six.PY2:
	print "xyz"
else:
	print("xyz")

And will end up like this:

root@vuultimo4k:/tmp# python v.py
  File "/var/volatile/tmp/v.py", line 3
    print "xyz"
    ^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
root@vuultimo4k:/tmp#

 

Yes it's not a regular crash. My fault.

https://github.com/D...fced6d8b2965dd0


Edited by Beeker, 9 March 2022 - 13:16.

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

  • PLi® Contributor
  • 1,615 posts

+204
Excellent

Posted 9 March 2022 - 13:26

https://github.com/O...5.32.1.bbappend

 

I had undone it again due to occasional build errors related to qthbbtv.
In principle, however, perl is completely sufficient. Nodejs is way too big.
I would like to re-enable perl.

Whether we want to use qthbbtv is another question anyway.

If it is no problem for Mediaportal, feel free to restore perl bbappend and revert my nodejs commit.


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



3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users