Jump to content


Photo

OpenPLi-py3


  • Please log in to reply
1139 replies to this topic

Re: OpenPLi-py3 #241 andrejicd

  • Member
  • 22 posts

0
Neutral

Posted 19 March 2022 - 21:13

 

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
 

 

 

I deleted the BULID folder and made that image without error.



Re: OpenPLi-py3 #242 WanWizard

  • PLi® Core member
  • 70,219 posts

+1,798
Excellent

Posted 20 March 2022 - 01:17

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

I can not boot in any other image..

Way to go py3 !!!

 

It is a development test image. If you're not a developer or tester, and not have the knowledge to deal with issues like this, don't use 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 #243 el bandido

  • Senior Member
  • 392 posts

+15
Neutral

Posted 20 March 2022 - 03:12

No one insisted you test these images. Trying to blame the developers will not help your situation. I doubt your receiver is actually bricked as this is not easy to do with enigma2 type receivers. Reloading the image should fix it unless you have a hardware issue. 


Edited by el bandido, 20 March 2022 - 03:12.


Re: OpenPLi-py3 #244 Pr2

  • PLi® Contributor
  • 6,165 posts

+261
Excellent

Posted 20 March 2022 - 10:07

When there is 563 updates it is always adviced to flash the box. So try to flash it.

I already ask you to use a static picture for your profile and you ignored my request.

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

  • PLi® Contributor
  • 4,621 posts

+161
Excellent

Posted 20 March 2022 - 15:56

When there is 563 updates it is always adviced to flash the box. So try to flash itt.

Why? So when I have 500 update on my Ubuntu or Windows machines should I reload the operating system?



Re: OpenPLi-py3 #246 WanWizard

  • PLi® Core member
  • 70,219 posts

+1,798
Excellent

Posted 20 March 2022 - 16:25

It depends on the box, on the packages, and the quality of them.

 

opkg processes downloads and installs in parallel, so the box needs enough free flash to accomodate those files. And there shouldn't be any inter package dependencies that interfere.

 

The biggest issue is that opkg performs an upgrade by doing an uninstall followed by an install, and if it is a bulk upgrade, multiple packages get uninstalled before being installed again. A big issue for example is busybox itself. If you remove that, you remove most of the linux commands as well, which may cause subsequent pre- or post inst- and rm scripts to fail.

 

If you run an upgrade on the commandline, you can usually work around this by running the upgrade again, until there is nothing left to upgrade.

 

But if you run the upgrade from the image, it won't do that, it will reboot after the first run, with the change the box won't boot up again if part of the upgrade failed.

 

A desktop OS doesn't have these issues. Plenty of space, no issues with busybox commands, and if the distro uses rpm, there is no uninstall/install cycle, as it supports incremental upgrades.


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

  • PLi® Contributor
  • 1,857 posts

+87
Good

Posted 20 March 2022 - 16:26

 

When there is 563 updates it is always adviced to flash the box. So try to flash itt.

Why? So when I have 500 update on my Ubuntu or Windows machines should I reload the operating system?

 

No, that's not correct.
or rather it is an inappropriate comparison.
We're talking about a branch that is under development!
This means that the entire OE core is constantly being updated.
These are version jumps that are not made in Ubuntu either.
If you test from the py3 branch, please always test with a new flash.

Otherwise we have to stop the updates coming from the OE core.
Then the updates wouldn't cause any problems either.



Re: OpenPLi-py3 #248 foxbob

  • Senior Member
  • 624 posts

+18
Neutral

Posted 20 March 2022 - 20:08

Good evening. There is a small problem with installing some files. There is a python version check in the postinst file - pyver=$(python -V 2>&1 | sed 's/.* \([0-9]\).\([0-9]\).*/\1\2/').

And depending on the version, the required one is installed.On OpenPli-py3 the plugin is not installed on openatv 7 there are no problems.

2022-03-20 19:05:33+0000 [-] Plugin  Extensions/E2m3u2bouquet failed to load: No module named 'Plugins.Extensions.E2m3u2bouquet.plugin'
2022-03-20 19:05:33+0000 [-] Plugin probably removed, but not cleanly in /usr/lib/enigma2/python/Plugins/Extensions/E2m3u2bouquet
root@et1x000:~# python -V 2>&1 | sed 's/.* \([0-9]\).\([0-9]\).*/\1\2/'
-sh: python: command not found
root@et1x000:~# python3 -V 2>&1 | sed 's/.* \([0-9]\).\([0-9]\).*/\1\2/'
39

Attached Files



Re: OpenPLi-py3 #249 Huevos

  • PLi® Contributor
  • 4,621 posts

+161
Excellent

Posted 20 March 2022 - 22:45

What does "python -V" return?



Re: OpenPLi-py3 #250 WanWizard

  • PLi® Core member
  • 70,219 posts

+1,798
Excellent

Posted 20 March 2022 - 23:15

The problem is "python not found".

 

Not sure if it expects python2 there, or an alias that maps "python" to "python3".


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 #251 scriptmelvin †

  • PLi® Contributor
  • 720 posts

+46
Good

Posted 20 March 2022 - 23:35

I guess it expects something that eventually maps to either a python2 or a python3 binary, so it can install the proper plugin version.

 

On my box there's a symlink /usr/bin/python that seems to be missing or dangling here.


Edited by scriptmelvin, 20 March 2022 - 23:43.

Sorry to inform you this member, my brother, passed away.

Re: OpenPLi-py3 #252 Huevos

  • PLi® Contributor
  • 4,621 posts

+161
Excellent

Posted 21 March 2022 - 00:41

In OE-A it looks like this:

root@vuultimo4k:~# ls -l /usr/bin | grep "python"
lrwxrwxrwx    1 root     root             7 Mar 15 18:01 python -> python3
lrwxrwxrwx    1 root     root            10 Mar 15 18:01 python3 -> python3.10
-rwxr-xr-x    1 root     root          5548 Mar 15 16:33 python3.10
root@vuultimo4k:~#

So PLi is "missing" the python -> python3 symlink.


Edited by Huevos, 21 March 2022 - 00:44.


Re: OpenPLi-py3 #253 WanWizard

  • PLi® Core member
  • 70,219 posts

+1,798
Excellent

Posted 21 March 2022 - 01:04

It is created by python3-compat2. Not build, or not installed?


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 #254 foxbob

  • Senior Member
  • 624 posts

+18
Neutral

Posted 21 March 2022 - 05:39

I have so

root@et1x000:~# ls -l /usr/bin | grep "python"
lrwxrwxrwx    1 root     root            47 Jan  1  1970 ndg_httpclient -> /usr/bin/ndg_httpclient.python3-ndg-httpsclient
-rwxr-xr-x    1 root     root          1000 Mar 19 18:05 ndg_httpclient.python3-ndg-httpsclient
lrwxrwxrwx    1 root     root             9 Jan  1  1970 python3 -> python3.9
-rwxr-xr-x    1 root     root          5544 Mar 19 17:43 python3.9
root@et1x000:~# python -V
-sh: python: command not found
root@et1x000:~# python3 -V
Python 3.9.9
root@et1x000:~#


Re: OpenPLi-py3 #255 Beeker

  • PLi® Contributor
  • 1,602 posts

+203
Excellent

Posted 21 March 2022 - 08:04

python3-compat2 added to the feed

https://github.com/O...73ec19c9c209605


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

  • PLi® Contributor
  • 1,602 posts

+203
Excellent

Posted 21 March 2022 - 08:55

lcd4linux is not working

 

1_0_1_3DD2_640_13E_820000_0_0_0_20220303

Run new build or wait for new one.

I've fixed the imports.


Edited by Beeker, 21 March 2022 - 08:57.

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

  • PLi® Contributor
  • 1,602 posts

+203
Excellent

Posted 21 March 2022 - 09:04

This is what I have at the moment.

 

 

Attached Files


Edited by Beeker, 21 March 2022 - 09:04.

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 #258 adam59

  • Member
  • 15 posts

0
Neutral

Posted 21 March 2022 - 10:29

I'm sorry but it still doesn't work  na ultimo4k 

 

1_0_1_3DD2_640_13E_820000_0_0_0_20220321



Re: OpenPLi-py3 #259 Beeker

  • PLi® Contributor
  • 1,602 posts

+203
Excellent

Posted 21 March 2022 - 11:18

I've fixed that a few hours ago.

https://github.com/H...1b009dbbdea3fbc

 

If you're using OpenPLi test images(not home-build), you have to wait for new build.


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

  • PLi® Core member
  • 70,219 posts

+1,798
Excellent

Posted 21 March 2022 - 12:20

New build is running...


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.



14 user(s) are reading this topic

0 members, 14 guests, 0 anonymous users