Jump to content


Photo

OpenPLi-py3


  • Please log in to reply
1139 replies to this topic

Re: OpenPLi-py3 #221 Huevos

  • PLi® Contributor
  • 4,621 posts

+161
Excellent

Posted 9 March 2022 - 23:11

So, in the document you linked it says this:

exec some_code in globals, locals

Should be converted to this:

exec(some_code, globals, locals)

In the commit you have this:

exec(entry['args'] in globals(), locals())

Does it work?



Re: OpenPLi-py3 #222 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 9 March 2022 - 23:30

Perl !== Nodejs

Please don't bring back the bbappend, those are two completely different languages.

Different syntax, different 100%.

The only common, both are programming languages! Nothing else.
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: OpenPLi-py3 #223 rantanplan

  • PLi® Contributor
  • 1,857 posts

+87
Good

Posted 9 March 2022 - 23:57

Nobody says Perl = Nodejs.

The question is whether Perl is sufficient for the required features.
So for the mediaportal, Nodejs is specified as a depend. However, the required Java components can just as easily be read by Perl.
The qthbbtv applications are similar.
Of course, perl is different.
Everything worked.
But I'll leave it like that for now.

Not realy a problem.



Re: OpenPLi-py3 #224 WanWizard

  • PLi® Core member
  • 70,219 posts

+1,798
Excellent

Posted 10 March 2022 - 00:36

Ah, ok, so it is only a replacement for that specific bb recipe.


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

  • PLi® Contributor
  • 1,602 posts

+203
Excellent

Posted 10 March 2022 - 02:28

So, in the document you linked it says this:

exec some_code in globals, locals

Should be converted to this:

exec(some_code, globals, locals)

In the commit you have this:

exec(entry['args'] in globals(), locals())

Does it work?

Yes it does.

 

I forced the condition to be true and no crash.

No problem With:

exec('from ' + module + ' import ' + screen in globals(), locals())
exec('from ' + module + ' import ' + screen, globals(), locals())
exec('from ' + module + ' import ' + screen, globals, locals)

For now option 2

exec('from ' + module + ' import ' + screen, globals(), locals())

https://github.com/D...mberZap/pull/14
 

 

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 #226 dhwz

  • Senior Member
  • 227 posts

+20
Neutral

Posted 10 March 2022 - 10:02

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

Rergards,
DJWeed

Doesn't matter as this plugin does not exist...

Re: OpenPLi-py3 #227 DJWeed

  • Senior Member
  • 116 posts

0
Neutral

Posted 10 March 2022 - 12:37

After today's update.

 

1. Mediaportal-py3 intalled and working properly

2. KODI - still not starting

3. ExtNumberZap - removed from feed, unable to test it at this moment

 

Regardfs,

DJWeed



Re: OpenPLi-py3 #228 Pr2

  • PLi® Contributor
  • 6,165 posts

+261
Excellent

Posted 10 March 2022 - 15:50

When performing opkg update / upgrade it stop at this:

Configuring enigma2-plugin-systemplugins-satfinder.
Configuring modutils-loadscript.
 Adding system startup for /etc/init.d/modload.sh.
Configuring enigma2-plugin-systemplugins-videotune.
Configuring enigma2-plugin-extensions-audiosync.
Collected errors:
 * opkg_download_backend: Failed to download http://downloads.openpli.org/feeds/openpli-develop/pulse4k/kernel-image_4.4.35-r0r0.1.12_pulse4k.ipk, wget returned 1.
 * opkg_install_pkg: Failed to download kernel-image. Perhaps you need to run 'opkg update'?
I immediately perform another opkg update / upgrade and the upgrade continue.
 
so people that will try to perform a GUI update have the risk to have a box that no longer boot, so it is probably advised to flash.  :)

Edited by Pr2, 10 March 2022 - 15:51.

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

  • PLi® Core member
  • 70,219 posts

+1,798
Excellent

Posted 10 March 2022 - 15:54

Now? That is odd.


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 #230 Aliraza63

  • PLi® Tester
  • 250 posts

+23
Neutral

Posted 11 March 2022 - 06:32

No any Py3 test available for Octagon8008 yet at download page . 

:(


 DM-900 ,DM-520, Vu+Duo2


Re: OpenPLi-py3 #231 littlesat

  • PLi® Core member
  • 57,062 posts

+698
Excellent

Posted 11 March 2022 - 07:21

It is not build at this moment for all boxes to speed up the build of the image that somehow increases the development time.

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


Re: OpenPLi-py3 #232 DJWeed

  • Senior Member
  • 116 posts

0
Neutral

Posted 11 March 2022 - 12:19

After today's update ExtNumbZap works ok. KODI still not starting.

 

Regards,

DJWeed



Re: OpenPLi-py3 #233 Pr2

  • PLi® Contributor
  • 6,165 posts

+261
Excellent

Posted 11 March 2022 - 18:43

PULSe 4K reboot command is doing nothing.

root@pulse4k:~# python --version
Python 3.9.9
root@pulse4k:~# reboot
root@pulse4k:~# 
root@pulse4k:~# reboot
root@pulse4k:~# 
root@pulse4k:~# reboot
root@pulse4k:~# reboot
root@pulse4k:~# reboot
root@pulse4k:~# 
root@pulse4k:~# which reboot 
/sbin/reboot
root@pulse4k:~#  
root@pulse4k:~# ls -Falh /sbin/reboot
lrwxrwxrwx    1 root     root          19 Mar 11 18:44 /sbin/reboot -> /bin/busybox.nosuid*



Edited by Pr2, 11 March 2022 - 18:46.

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

  • PLi® Core member
  • 70,219 posts

+1,798
Excellent

Posted 11 March 2022 - 18:58

Odd. that is not python related? What does "shutdown -h now" do?


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

  • Senior Member
  • 116 posts

0
Neutral

Posted 11 March 2022 - 20:03

@Pr2 - You need to reflash Your image because an error occured with rebooting when one of the online updates was proceeded.

 

Regards,

DJWeed


Edited by DJWeed, 11 March 2022 - 20:03.


Re: OpenPLi-py3 #236 Pr2

  • PLi® Contributor
  • 6,165 posts

+261
Excellent

Posted 12 March 2022 - 08:45

Indeed I reflash the box after discovering this problem and now reboot is working.


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 #237 andrejicd

  • Member
  • 22 posts

0
Neutral

Posted 18 March 2022 - 18:15

Is the problem with me or you

do I need to delete the BUILD folder

 

 

ERROR: enigma2-plugin-extensions-openwebif-gitAUTOINC+6ab96145aa-r0 do_package: Error executing a python function in exec_python_func() autogenerated:

 
The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
     0001:
 *** 0002:do_package(d)
     0003:
File: '/home/andrejicd/openpli-oe-core/openembedded-core/meta/classes/package.bbclass', lineno: 2396, function: do_package
     2392:    # Setup PKGD (from D)
     2393:    ###########################################################################
     2394:
     2395:    for f in (d.getVar('PACKAGEBUILDPKGD') or '').split():
 *** 2396:        bb.build.exec_func(f, d)
     2397:
     2398:    ###########################################################################
     2399:    # Split up PKGD into PKGDEST
     2400:    ###########################################################################
File: '/home/andrejicd/openpli-oe-core/bitbake/lib/bb/build.py', lineno: 194, function: exec_func
     0190:    flags = d.getVarFlags(func)
     0191:    cleandirs = flags.get('cleandirs') if flags else None
     0192:    if cleandirs:
     0193:        for cdir in d.expand(cleandirs).split():
 *** 0194:            bb.utils.remove(cdir, True)
     0195:            bb.utils.mkdirhier(cdir)
     0196:
     0197:    if flags and dirs is None:
     0198:        dirs = flags.get('dirs')
File: '/home/andrejicd/openpli-oe-core/bitbake/lib/bb/utils.py', lineno: 697, function: remove
     0693:        # shutil.rmtree(name) would be ideal but its too slow
     0694:        cmd = []
     0695:        if ionice:
     0696:            cmd = ['ionice', '-c', '3']
 *** 0697:        subprocess.check_call(cmd + ['rm', '-rf'] + glob.glob(path))
     0698:        return
     0699:    for name in glob.glob(path):
     0700:        try:
     0701:            os.unlink(name)
File: '/usr/lib/python3.8/subprocess.py', lineno: 364, function: check_call
     0360:    if retcode:
     0361:        cmd = kwargs.get("args")
     0362:        if cmd is None:
     0363:            cmd = popenargs[0]
 *** 0364:        raise CalledProcessError(retcode, cmd)
     0365:    return 0
     0366:
     0367:
     0368:def check_output(*popenargs, timeout=None, **kwargs):
Exception: subprocess.CalledProcessError: Command '['rm', '-rf', '/home/andrejicd/openpli-oe-core/build/tmp/work/vuzero4k-oe-linux-gnueabi/enigma2-plugin-extensions-openwebif/gitAUTOINC+6ab96145aa-r0/package']' died with <Signals.SIGABRT: 6>.
 
ERROR: Logfile of failure stored in: /home/andrejicd/openpli-oe-core/build/tmp/work/vuzero4k-oe-linux-gnueabi/enigma2-plugin-extensions-openwebif/gitAUTOINC+6ab96145aa-r0/temp/log.do_package.2100745
ERROR: Task (/home/andrejicd/openpli-oe-core/meta-openpli/recipes-openpli/e2openplugins/enigma2-plugin-extensions-openwebif.bb:do_package) failed with exit code '1' 
Pseudo log:
Setup complete, sending SIGUSR1 to pid 2100751.
path mismatch [2 links]: ino 10361861 db '/home/andrejicd/openpli-oe-core/build/tmp/work/vuzero4k-oe-linux-gnueabi/enigma2-plugin-extensions-openwebif/gitAUTOINC+6ab96145aa-r0/image/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/public/images/boxes/osnino.png' req '/home/andrejicd/openpli-oe-core/build/tmp/work/vuzero4k-oe-linux-gnueabi/enigma2-plugin-extensions-openwebif/gitAUTOINC+6ab96145aa-r0/package/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/public/modern/plugins/node-waves'.
 
NOTE: Tasks Summary: Attempted 4593 tasks of which 4586 didn't need to be rerun and 1 failed.
 
Summary: 1 task failed:
  /home/andrejicd/openpli-oe-core/meta-openpli/recipes-openpli/e2openplugins/enigma2-plugin-extensions-openwebif.bb:do_package
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
make: *** [Makefile:130: image] Error 1
 


Re: OpenPLi-py3 #238 WanWizard

  • PLi® Core member
  • 70,219 posts

+1,798
Excellent

Posted 18 March 2022 - 21:08

Bitbake starts a sub-shell to run an "rm -f", and that terminates with a SIGABORT signal. I've noticed the same on our buildserver, but no idea what causes it.


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 #239 lme

  • Member
  • 11 posts

0
Neutral

Posted 19 March 2022 - 19:18

After today online update (563 updates), my osmio4k is bricked !?!?

I can not boot in any other image..

Way to go py3 !!!


Nihil Sine Deo !


Re: OpenPLi-py3 #240 lme

  • Member
  • 11 posts

0
Neutral

Posted 19 March 2022 - 19:27

Here it is programers ???, and now i can't edit my own post ???

Good job: you acomlished your gol...... 

Attached Files


Edited by lme, 19 March 2022 - 19:31.

Nihil Sine Deo !



20 user(s) are reading this topic

0 members, 20 guests, 0 anonymous users