Jump to content


Photo

develop: python3 transition


  • Please log in to reply
371 replies to this topic

Re: develop: python3 transition #241 Pr2

  • PLi® Contributor
  • 6,181 posts

+261
Excellent

Posted 9 January 2022 - 12:13

Hi,

 

pulse4k is no longer buildable:

 

ERROR: ofgwrite-4.x+gitAUTOINC+fa56ee00bd-r0 do_patch: Applying patch 'fix-build-with-fno-common.patch' on target directory '/home/pr2/githubTravail/openpli-oe-core/build/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/ofgwrite/4.x+gitAUTOINC+fa56ee00bd-r0/git'
Command Error: 'quilt --quiltrc /home/pr2/githubTravail/openpli-oe-core/build/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/ofgwrite/4.x+gitAUTOINC+fa56ee00bd-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0  Output:
stdout: Applying patch fix-build-with-fno-common.patch
patching file ofgwrite.c
Hunk #1 FAILED at 14.
1 out of 1 hunk FAILED -- rejects in file ofgwrite.c
patching file ofgwrite.h
Patch fix-build-with-fno-common.patch does not apply (enforce with -f)
 
stderr: 
ERROR: Logfile of failure stored in: /home/pr2/githubTravail/openpli-oe-core/build/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/ofgwrite/4.x+gitAUTOINC+fa56ee00bd-r0/temp/log.do_patch.42140
ERROR: Task (/home/pr2/githubTravail/openpli-oe-core/meta-openpli/recipes-extended/ofgwrite/ofgwrite.bb:do_patch) failed with exit code '1'

Edited by Pr2, 9 January 2022 - 12:14.

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

  • PLi® Contributor
  • 1,602 posts

+203
Excellent

Posted 9 January 2022 - 12:36

Update oe-core

 

https://github.com/O...791c6bd1f5e52a9


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

  • PLi® Contributor
  • 6,181 posts

+261
Excellent

Posted 9 January 2022 - 13:18

 

you didn't cover all the changes performed by Captain, he does 3 commits today not just one.

https://github.com/o.../commits/master

 

so build is still failing.


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

  • PLi® Contributor
  • 1,602 posts

+203
Excellent

Posted 9 January 2022 - 13:24

That doesn't have any effect to the patch.

 

The patch works fine.


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 #245 40H3X

  • Forum Moderator
    PLi® Contributor
  • 5,956 posts

+191
Excellent

Posted 9 January 2022 - 13:32

Is it still so, that the Vu Duo 4K won't (home) build?

WARNING: libpcre2-native-10.36-r0 do_fetch: Failed to fetch URL https://github.com/PhilipHazel/pcre2/releases/download/pcre2-10.36/pcre2-10.36.tar.bz2, attempting MIRRORS if available
WARNING: libxml2-native-2.9.10-r0 do_fetch: Failed to fetch URL http://www.w3.org/XML/Test/xmlts20080827.tar.gz;subdir=libxml2-2.9.10;name=testtar, attempting MIRRORS if available
WARNING: libtalloc-2.3.3-r0 do_fetch: Failed to fetch URL https://www.samba.org/ftp/talloc/talloc-2.3.3.tar.gz, attempting MIRRORS if available
WARNING: python3-service-identity-18.1.0-r0 do_fetch: Failed to fetch URL https://files.pythonhosted.org/packages/source/s/service_identity/service_identity-18.1.0.tar.gz, attempting MIRRORS if available
ERROR: python3-service-identity-18.1.0-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export SSH_AGENT_PID="1161"; export SSH_AUTH_SOCK="/tmp/ssh-XXXXXXK60WZc/agent.1115"; export PATH="/home/private/OpenPLi/openpli-oe-core/build/tmp/work/armv7ahf-neon-oe-linux-gnueabi/python3-service-identity/18.1.0-r0/recipe-sysroot-native/usr/bin/python3-native:/home/private/OpenPLi/openpli-oe-core/openembedded-core/scripts:/home/private/OpenPLi/openpli-oe-core/build/tmp/work/armv7ahf-neon-oe-linux-gnueabi/python3-service-identity/18.1.0-r0/recipe-sysroot-native/usr/bin/arm-oe-linux-gnueabi:/home/private/OpenPLi/openpli-oe-core/build/tmp/work/armv7ahf-neon-oe-linux-gnueabi/python3-service-identity/18.1.0-r0/recipe-sysroot/usr/bin/crossscripts:/home/private/OpenPLi/openpli-oe-core/build/tmp/work/armv7ahf-neon-oe-linux-gnueabi/python3-service-identity/18.1.0-r0/recipe-sysroot-native/usr/sbin:/home/private/OpenPLi/openpli-oe-core/build/tmp/work/armv7ahf-neon-oe-linux-gnueabi/python3-service-identity/18.1.0-r0/recipe-sysroot-native/usr/bin:/home/private/OpenPLi/openpli-oe-core/build/tmp/work/armv7ahf-neon-oe-linux-gnueabi/python3-service-identity/18.1.0-r0/recipe-sysroot-native/sbin:/home/private/OpenPLi/openpli-oe-core/build/tmp/work/armv7ahf-neon-oe-linux-gnueabi/python3-service-identity/18.1.0-r0/recipe-sysroot-native/bin:/home/private/OpenPLi/openpli-oe-core/bitbake/bin:/home/private/OpenPLi/openpli-oe-core/build/tmp/hosttools"; export HOME="/home/private"; /usr/bin/env wget -t 2 -T 30 --passive-ftp --no-check-certificate -P /home/private/OpenPLi/openpli-oe-core/sources 'https://files.pythonhosted.org/packages/source/s/service_identity/service_identity-18.1.0.tar.gz' --progress=dot -v failed with exit code 4, no output
ERROR: python3-service-identity-18.1.0-r0 do_fetch: Fetcher failure for URL: 'https://files.pythonhosted.org/packages/source/s/service_identity/service_identity-18.1.0.tar.gz'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/private/OpenPLi/openpli-oe-core/build/tmp/work/armv7ahf-neon-oe-linux-gnueabi/python3-service-identity/18.1.0-r0/temp/log.do_fetch.709301
ERROR: Task (/home/private/OpenPLi/openpli-oe-core/meta-openpli/recipes-devtools/python/python3-service-identity_18.1.0.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2280 tasks of which 0 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/private/OpenPLi/openpli-oe-core/meta-openpli/recipes-devtools/python/python3-service-identity_18.1.0.bb:do_fetch
Summary: There were 4 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
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 #246 Beeker

  • PLi® Contributor
  • 1,602 posts

+203
Excellent

Posted 9 January 2022 - 13:44

Server down

 

Extract two files and copy both to /openpli-oe-core/sources

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: develop: python3 transition #247 40H3X

  • Forum Moderator
    PLi® Contributor
  • 5,956 posts

+191
Excellent

Posted 9 January 2022 - 13:49

Thanks extracted to sources, (home) build is running fingers crossed  ;)


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

  • PLi® Contributor
  • 1,602 posts

+203
Excellent

Posted 9 January 2022 - 14:09

Her still building:

ains@hains-System-Product-Name:~$ cd openpli-oe-core
hains@hains-System-Product-Name:~/openpli-oe-core$ git status
On branch hardknott-py3
Your branch is up to date with 'origin/hardknott-py3'.

nothing to commit, working tree clean
hains@hains-System-Product-Name:~/openpli-oe-core$ MACHINE=vuduo4k make feed
Building feed for vuduo4k
Loading cache: 100% |##################################################################################################################################################################################################################################| Time: 0:00:00
Loaded 4509 entries from dependency cache.
Parsing recipes: 100% |################################################################################################################################################################################################################################| Time: 0:00:16
Parsing of 3497 .bb files complete (3196 cached, 301 parsed). 4810 targets, 742 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "1.50.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-21.10"
TARGET_SYS           = "arm-oe-linux-gnueabi"
MACHINE              = "vuduo4k"
DISTRO               = "openpli"
DISTRO_VERSION       = "homebuild"
TUNE_FEATURES        = "arm armv7a vfp neon callconvention-hard"
TARGET_FPU           = "hard"
meta-local           = "hardknott-py3:b91bf673b573d32895c575b162d1086c1e98a3fc"
meta-oe              
meta-filesystems     
meta-multimedia      
meta-networking      
meta-python          
meta-webserver       = "HEAD:f859d299e655d92e1183ccc24a4f96c122a4ac41"
meta                 = "HEAD:f6791df317e66b2d3fa88d3a038d888d4512305a"
meta-openpli         = "hardknott-py3:b91bf673b573d32895c575b162d1086c1e98a3fc"
meta-dream           = "HEAD:0365af5a949b0489f7ee13bb487a76774b55dde3"
meta-vuplus          = "HEAD:c81a3f05d2ef64553834abb061b505ef72c39223"
meta-xsarius.pli5    = "HEAD:8e3972ed636735580397f33d51bbf99c3b92cc3e"
meta-qviart          = "HEAD:7ab039834d271edc939694ba58e5be7d6d0c56f4"
meta-xp              = "HEAD:587dcae4d5c6d3803323a454db9251d921864512"
meta-xtrend          = "HEAD:457a88ea77e1ec9bb9d9e83441e250f0f284d713"
meta-formuler        = "HEAD:cf4c86781456d3145615c2b215da73dba19c7f88"
meta-gfutures        = "HEAD:c32c65c4866f6c29cbcfcd1dc8b3ff6abdec1118"
meta-xpeedc          = "HEAD:eec5617e5e3bd0fe1a477c3b2ae87c1467e924a3"
meta-zgemma          = "HEAD:12d96a72d70aa39cbaec0a65e607858b8425a478"
meta-edision         = "HEAD:5ad1144a3c37b570362cac6b375ca4c75c4720a0"
meta-miraclebox      = "HEAD:e394be51e1f65becdde372106c2c7e65cf552beb"
meta-spycat          = "HEAD:f744f2c06f3ee2fb4be1e82be1946476b6f671e3"
meta-gi              = "HEAD:7cd4ea756d90d088ecfe0338c7a578c07c1911d1"
meta-sab             = "HEAD:a7ff427fb7cee426ad976f561be19ed9109bc417"
meta-gigablue        = "HEAD:76499ccaea9f39eefc5607cee75d49f24e3aa113"
meta-amiko           = "HEAD:36153a0fb824ad06bfeec16aba668d7bf85b1a66"
meta-axasuhd         = "HEAD:111e30fe3b2b634d1b11940f7350be1e083f73e1"
meta-maxytec         = "HEAD:4bf32bdc32184a71060872596701f98b50e4e819"
meta-octagon         = "HEAD:f37584a44d6177d5214ad4e2976b1735d1becf68"
meta-uclan           = "HEAD:8c8f058a38d8a6ddb25c3129f100ea28eca9823c"
meta-abcom           = "HEAD:220f6b7f9cf6f5e009608596cc284956fced1e79"
meta-qt5             = "HEAD:43f8f539d40070a70fe89136db89bf5bb1dfe7ed"

Initialising tasks: 100% |#############################################################################################################################################################################################################################| Time: 0:00:06
Sstate summary: Wanted 624 Local 624 Network 0 Missed 0 Current 2930 (100% match, 100% complete)
NOTE: Executing Tasks
NOTE: Tasks Summary: Attempted 9185 tasks of which 9182 didn't need to be rerun and all succeeded.
hains@hains-System-Product-Name:~/openpli-oe-core$ 

 


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 #249 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 10 January 2022 - 21:18

Please note that recipes that used to move .py files to "-src" package, they are not working any more!

 

Eg.

 

RDEPENDS_{PN}-src += "${PN}"

FILES_${PN}-src = "${libdir}/enigma2/python/Plugins/Extensions/YouTube/*.py"

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

  • PLi® Core member
  • 70,522 posts

+1,810
Excellent

Posted 10 January 2022 - 21:20

Yes, something I'm still not happy with. I think in the meantime it should be removed.


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 #251 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 10 January 2022 - 22:00

Yes, it makes sense to be unhappy, we used to compile all those years .py files to .pyo files.

 

With python3, now files are still compiled and moved to __pycache__ folder.

 

There is still a way to bring back py to pyc on same folder: python -m compileall -b .

 

https://stackoverflo...s-in-python-3-4


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

  • PLi® Core member
  • 70,522 posts

+1,810
Excellent

Posted 10 January 2022 - 22:08

Yes, I know, and that would be my preference, but I got objections as "this is not the python3 way" and "it is deprecated", even when the manual explicitly points to this option for embedded systems that don't require source.


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

  • Senior Member
  • 624 posts

+18
Neutral

Posted 11 January 2022 - 16:21

Good afternoon.Maybe only I have this problem.I want to go to the network settings and can’t.

19:32:17.1417   File "/usr/lib/enigma2/python/Screens/NetworkSetup.py", line 684, in __init__
19:32:17.1425     self.mainmenu = self.genMainMenu()
19:32:17.1426   File "/usr/lib/enigma2/python/Screens/NetworkSetup.py", line 871, in genMainMenu
19:32:17.1436     callFnc = p.__call__["ifaceSupported"](self.iface)
19:32:17.1437   File "/usr/lib/enigma2/python/Plugins/SystemPlugins/WirelessLan/plugin.py", line 370, in callFunction
19:32:17.1442     i = iWlan.getWirelessInterfaces()
19:32:17.1443   File "/usr/lib/enigma2/python/Plugins/SystemPlugins/WirelessLan/Wlan.py", line 63, in getWirelessInterfaces
19:32:17.1445     return getWNICnames()
19:32:17.1446   File "/usr/lib/python3.9/site-packages/pythonwifi/iwlibs.py", line 95, in getWNICnames
19:32:17.1459     ifnames = getConfiguredWNICnames()
19:32:17.1460   File "/usr/lib/python3.9/site-packages/pythonwifi/iwlibs.py", line 121, in getConfiguredWNICnames
19:32:17.1464     result = wifi.getAPaddr()
19:32:17.1464   File "/usr/lib/python3.9/site-packages/pythonwifi/iwlibs.py", line 177, in getAPaddr
19:32:17.1469     return self.wireless_info.getAPaddr()
19:32:17.1469   File "/usr/lib/python3.9/site-packages/pythonwifi/iwlibs.py", line 910, in getAPaddr
19:32:17.1481     status, result = self.iwstruct.iw_get_ext(self.ifname,
19:32:17.1482   File "/usr/lib/python3.9/site-packages/pythonwifi/iwlibs.py", line 1060, in iw_get_ext
19:32:17.1494     ifreq = array.array('B', ifname.encode() + b'\0'*buff)
19:32:17.1495 AttributeError: 'bytes' object has no attribute 'encode'
19:32:17.1496 [ePyObject] (CallObject(<bound method NumberActionMap.action of <Components.ActionMap.NumberActionMap object at 0xa92400d0>>,('OkCancelActions', 'ok')) failed)

Changed plugin version from python3-wifi_0.7.0 to python3-wifi_0.8.0 the problem went away.But now there was an error when starting the network test - the test itself passes.

14:16:35.7088   File "/usr/lib/enigma2/python/Components/Console.py", line 48, in finishedCB
14:16:35.7099     callback(data, retval, self.extra_args)
14:16:35.7100   File "/usr/lib/enigma2/python/Components/Network.py", line 451, in getLinkStateFinished
14:16:35.7108     callback(result)
14:16:35.7109   File "/usr/lib/enigma2/python/Screens/NetworkSetup.py", line 1346, in LinkStatedataAvail
14:16:35.7126     if "Link detected:" in item:
14:16:35.7127 TypeError: a bytes-like object is required, not 'str'
14:16:35.7128 [ePyObject] (CallObject(<traceback object at 0xb07bee88>,(0,)) failed)

I repeat once again, it can only be so with me.

Attached Files



Re: develop: python3 transition #254 catastrofus

  • Senior Member
  • 3,480 posts

+43
Good

Posted 11 January 2022 - 16:39

Installing python3 image (of today) on an et10k is ok but it crashes on restoring the autobackup.

Attached Files


2 x vu+ultimo4k ((nb & 9.0r) dvb-c fbc + 1 dvb-s2) + een vu+duo4k ((nb) fallbackclient) met een Synology ds214+ (2 x 6 TB) op DSM 7.1.1 in ziggo oost (voormalig @Home) + A1/A2/A3/HB (TechniSat)
 


Re: develop: python3 transition #255 WanWizard

  • PLi® Core member
  • 70,522 posts

+1,810
Excellent

Posted 11 January 2022 - 16:40

The image is still far from usable.


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

  • Member
  • 6 posts

0
Neutral

Posted 11 January 2022 - 16:56

Is there a chance to add "Zgemma H9 Twin" to the list of builds for python3?



Re: develop: python3 transition #257 catastrofus

  • Senior Member
  • 3,480 posts

+43
Good

Posted 11 January 2022 - 17:10

Just testing it. :ph34r:

 

The image is still far from usable.

 


2 x vu+ultimo4k ((nb & 9.0r) dvb-c fbc + 1 dvb-s2) + een vu+duo4k ((nb) fallbackclient) met een Synology ds214+ (2 x 6 TB) op DSM 7.1.1 in ziggo oost (voormalig @Home) + A1/A2/A3/HB (TechniSat)
 


Re: develop: python3 transition #258 40H3X

  • Forum Moderator
    PLi® Contributor
  • 5,956 posts

+191
Excellent

Posted 11 January 2022 - 17:54

└─$ MACHINE=vuduo4k make image
Building image for vuduo4k
Loading cache: 100% |                                                                                    | ETA:  --:--:--
Loaded 0 entries from dependency cache.
Parsing recipes: 100% |###################################################################################| Time: 0:00:23
Parsing of 3497 .bb files complete (0 cached, 3497 parsed). 4810 targets, 742 skipped, 0 masked, 0 errors.
Removing 1 recipes from the allarch sysroot: 100% |#######################################################| Time: 0:00:00
Removing 3 recipes from the armv7ahf-neon sysroot: 100% |#################################################| Time: 0:00:00
Removing 4 recipes from the vuduo4k sysroot: 100% |#######################################################| Time: 0:00:00
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "1.50.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "kali-2021.4"
TARGET_SYS           = "arm-oe-linux-gnueabi"
MACHINE              = "vuduo4k"
DISTRO               = "openpli"
DISTRO_VERSION       = "homebuild"
TUNE_FEATURES        = "arm armv7a vfp neon callconvention-hard"
TARGET_FPU           = "hard"
meta-local           = "hardknott-py3:5aafd1af5e0f28237fa95b868274ecadcf9dd598"
meta-oe              
meta-filesystems     
meta-multimedia      
meta-networking      
meta-python          
meta-webserver       = "HEAD:f859d299e655d92e1183ccc24a4f96c122a4ac41"
meta                 = "HEAD:8502242b5caa24fe1aeffa8bd5f048ebdb5f6610"
meta-openpli         = "hardknott-py3:5aafd1af5e0f28237fa95b868274ecadcf9dd598"
meta-dream           = "HEAD:0365af5a949b0489f7ee13bb487a76774b55dde3"
meta-vuplus          = "HEAD:c81a3f05d2ef64553834abb061b505ef72c39223"
meta-xsarius.pli5    = "HEAD:8e3972ed636735580397f33d51bbf99c3b92cc3e"
meta-qviart          = "HEAD:7ab039834d271edc939694ba58e5be7d6d0c56f4"
meta-xp              = "HEAD:587dcae4d5c6d3803323a454db9251d921864512"
meta-xtrend          = "HEAD:457a88ea77e1ec9bb9d9e83441e250f0f284d713"
meta-formuler        = "HEAD:cf4c86781456d3145615c2b215da73dba19c7f88"
meta-gfutures        = "HEAD:c32c65c4866f6c29cbcfcd1dc8b3ff6abdec1118"
meta-xpeedc          = "HEAD:eec5617e5e3bd0fe1a477c3b2ae87c1467e924a3"
meta-zgemma          = "HEAD:12d96a72d70aa39cbaec0a65e607858b8425a478"
meta-edision         = "HEAD:5ad1144a3c37b570362cac6b375ca4c75c4720a0"
meta-miraclebox      = "HEAD:e394be51e1f65becdde372106c2c7e65cf552beb"
meta-spycat          = "HEAD:f744f2c06f3ee2fb4be1e82be1946476b6f671e3"
meta-gi              = "HEAD:7cd4ea756d90d088ecfe0338c7a578c07c1911d1"
meta-sab             = "HEAD:a7ff427fb7cee426ad976f561be19ed9109bc417"
meta-gigablue        = "HEAD:76499ccaea9f39eefc5607cee75d49f24e3aa113"
meta-amiko           = "HEAD:36153a0fb824ad06bfeec16aba668d7bf85b1a66"
meta-axasuhd         = "HEAD:111e30fe3b2b634d1b11940f7350be1e083f73e1"
meta-maxytec         = "HEAD:4bf32bdc32184a71060872596701f98b50e4e819"
meta-octagon         = "HEAD:f37584a44d6177d5214ad4e2976b1735d1becf68"
meta-uclan           = "HEAD:8c8f058a38d8a6ddb25c3129f100ea28eca9823c"
meta-abcom           = "HEAD:220f6b7f9cf6f5e009608596cc284956fced1e79"
meta-qt5             = "HEAD:43f8f539d40070a70fe89136db89bf5bb1dfe7ed"

Initialising tasks: 100% |################################################################################| Time: 0:00:04
Sstate summary: Wanted 1637 Local 0 Network 0 Missed 1637 Current 524 (0% match, 24% complete)
Removing 114 stale sstate objects for arch vuduo4k: 100% |################################################| Time: 0:00:00
Removing 100 stale sstate objects for arch armv7ahf-neon: 100% |##########################################| Time: 0:00:00
Removing 42 stale sstate objects for arch x86_64: 100% |##################################################| Time: 0:00:00
Removing 4 stale sstate objects for arch x86_64_arm: 100% |###############################################| Time: 0:00:00
Removing 45 stale sstate objects for arch allarch: 100% |#################################################| Time: 0:00:00
NOTE: Executing Tasks
ERROR: enigma2-plugin-systemplugins-bluetoothsetup-1.0-20181109.r1 do_compile: ExecutionError('/home/private/OpenPLi/openpli-oe-core/build/tmp/work/vuduo4k-oe-linux-gnueabi/enigma2-plugin-systemplugins-bluetoothsetup/1.0-20181109.r1/temp/run.do_compile.685847', 1, None, None)
ERROR: Logfile of failure stored in: /home/private/OpenPLi/openpli-oe-core/build/tmp/work/vuduo4k-oe-linux-gnueabi/enigma2-plugin-systemplugins-bluetoothsetup/1.0-20181109.r1/temp/log.do_compile.685847
Log data follows:
| DEBUG: Executing shell function do_compile
| Listing '/home/private/OpenPLi/openpli-oe-core/build/tmp/work/vuduo4k-oe-linux-gnueabi/enigma2-plugin-systemplugins-bluetoothsetup/1.0-20181109.r1/plugin'...
| Compiling '/home/private/OpenPLi/openpli-oe-core/build/tmp/work/vuduo4k-oe-linux-gnueabi/enigma2-plugin-systemplugins-bluetoothsetup/1.0-20181109.r1/plugin/OTAUpdate.py'...
| ***   File "/home/private/OpenPLi/openpli-oe-core/build/tmp/work/vuduo4k-oe-linux-gnueabi/enigma2-plugin-systemplugins-bluetoothsetup/1.0-20181109.r1/plugin/OTAUpdate.py", line 189
|               print "[VuRcuOtaUpdate][otaEventCallback] event : ", event
|                     ^
| SyntaxError: Missing parentheses in call to 'print'. Did you mean print("[VuRcuOtaUpdate][otaEventCallback] event : ", event)?
| 
| Compiling '/home/private/OpenPLi/openpli-oe-core/build/tmp/work/vuduo4k-oe-linux-gnueabi/enigma2-plugin-systemplugins-bluetoothsetup/1.0-20181109.r1/plugin/bt.py'...
| ***   File "/home/private/OpenPLi/openpli-oe-core/build/tmp/work/vuduo4k-oe-linux-gnueabi/enigma2-plugin-systemplugins-bluetoothsetup/1.0-20181109.r1/plugin/bt.py", line 91
|               except Exception, e:
|                               ^
| SyntaxError: invalid syntax
| 
| Compiling '/home/private/OpenPLi/openpli-oe-core/build/tmp/work/vuduo4k-oe-linux-gnueabi/enigma2-plugin-systemplugins-bluetoothsetup/1.0-20181109.r1/plugin/bt_scan.py'...
| ***   File "/home/private/OpenPLi/openpli-oe-core/build/tmp/work/vuduo4k-oe-linux-gnueabi/enigma2-plugin-systemplugins-bluetoothsetup/1.0-20181109.r1/plugin/bt_scan.py", line 108
|               print "[BluetoothDiscovery][discEventCallback] event : %s" % (getEventDesc(event))
|                     ^
| SyntaxError: invalid syntax
| 
| Compiling '/home/private/OpenPLi/openpli-oe-core/build/tmp/work/vuduo4k-oe-linux-gnueabi/enigma2-plugin-systemplugins-bluetoothsetup/1.0-20181109.r1/plugin/bt_setup.py'...
| ***   File "/home/private/OpenPLi/openpli-oe-core/build/tmp/work/vuduo4k-oe-linux-gnueabi/enigma2-plugin-systemplugins-bluetoothsetup/1.0-20181109.r1/plugin/bt_setup.py", line 36
|               print "[BluetoothSetup][eventCallback] event : %s" % (getEventDesc(event))
|                     ^
| SyntaxError: invalid syntax
| 
| Compiling '/home/private/OpenPLi/openpli-oe-core/build/tmp/work/vuduo4k-oe-linux-gnueabi/enigma2-plugin-systemplugins-bluetoothsetup/1.0-20181109.r1/plugin/bt_task.py'...
| ***   File "/home/private/OpenPLi/openpli-oe-core/build/tmp/work/vuduo4k-oe-linux-gnueabi/enigma2-plugin-systemplugins-bluetoothsetup/1.0-20181109.r1/plugin/bt_task.py", line 209
|               print "         taskType : ", taskDesc[task["taskType"]]
|                     ^
| SyntaxError: Missing parentheses in call to 'print'. Did you mean print("             taskType : ", taskDesc[task["taskType"]])?
| 
| WARNING: exit code 1 from a shell command.
| ERROR: ExecutionError('/home/private/OpenPLi/openpli-oe-core/build/tmp/work/vuduo4k-oe-linux-gnueabi/enigma2-plugin-systemplugins-bluetoothsetup/1.0-20181109.r1/temp/run.do_compile.685847', 1, None, None)
ERROR: Task (/home/private/OpenPLi/openpli-oe-core/meta-vuplus/recipes-bsp/drivers/bluetoothsetup-vuduo4k.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3566 tasks of which 1943 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/private/OpenPLi/openpli-oe-core/meta-vuplus/recipes-bsp/drivers/bluetoothsetup-vuduo4k.bb:do_compile
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
make: *** [Makefile:130: image] Error 1
                                                                                                                         
┌──(private㉿kali)-[~/OpenPLi/openpli-oe-core]

 


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

  • Senior Member
  • 624 posts

+18
Neutral

Posted 11 January 2022 - 18:15

I gave above (Post#234) a fix for this problem - bluetoothsetup-vuultimo4k_1.0-20200812-py3.r5_vuultimo4k.ipk


Edited by foxbob, 11 January 2022 - 18:16.


Re: develop: python3 transition #260 blzr

  • PLi® Core member
  • 2,270 posts

+118
Excellent

Posted 11 January 2022 - 18:47

Log data follows:
| DEBUG: Executing shell function do_compile
| Listing '/home/private/OpenPLi/openpli-oe-core/build/tmp/work/vuduo4k-oe-linux-gnueabi/enigma2-plugin-systemplugins-bluetoothsetup/1.0-20181109.r1/plugin'...
| Compiling '/home/private/OpenPLi/openpli-oe-core/build/tmp/work/vuduo4k-oe-linux-gnueabi/enigma2-plugin-systemplugins-bluetoothsetup/1.0-20181109.r1/plugin/OTAUpdate.py'...
| ***   File "/home/private/OpenPLi/openpli-oe-core/build/tmp/work/vuduo4k-oe-linux-gnueabi/enigma2-plugin-systemplugins-bluetoothsetup/1.0-20181109.r1/plugin/OTAUpdate.py", line 189
|               print "[VuRcuOtaUpdate][otaEventCallback] event : ", event
|                     ^
| SyntaxError: Missing parentheses in call to 'print'. Did you mean print("[VuRcuOtaUpdate][otaEventCallback] event : ", event)?
| 
| Compiling '/home/private/OpenPLi/openpli-oe-core/build/tmp/work/vuduo4k-oe-linux-gnueabi/enigma2-plugin-systemplugins-bluetoothsetup/1.0-20181109.r1/plugin/bt.py'...
| ***   File "/home/private/OpenPLi/openpli-oe-core/build/tmp/work/vuduo4k-oe-linux-gnueabi/enigma2-plugin-systemplugins-bluetoothsetup/1.0-20181109.r1/plugin/bt.py", line 91
|               except Exception, e:
|                               ^
| SyntaxError: invalid syntax
| 
| Compiling '/home/private/OpenPLi/openpli-oe-core/build/tmp/work/vuduo4k-oe-linux-gnueabi/enigma2-plugin-systemplugins-bluetoothsetup/1.0-20181109.r1/plugin/bt_scan.py'...
| ***   File "/home/private/OpenPLi/openpli-oe-core/build/tmp/work/vuduo4k-oe-linux-gnueabi/enigma2-plugin-systemplugins-bluetoothsetup/1.0-20181109.r1/plugin/bt_scan.py", line 108
|               print "[BluetoothDiscovery][discEventCallback] event : %s" % (getEventDesc(event))
|                     ^
| SyntaxError: invalid syntax
| 
| Compiling '/home/private/OpenPLi/openpli-oe-core/build/tmp/work/vuduo4k-oe-linux-gnueabi/enigma2-plugin-systemplugins-bluetoothsetup/1.0-20181109.r1/plugin/bt_setup.py'...
| ***   File "/home/private/OpenPLi/openpli-oe-core/build/tmp/work/vuduo4k-oe-linux-gnueabi/enigma2-plugin-systemplugins-bluetoothsetup/1.0-20181109.r1/plugin/bt_setup.py", line 36
|               print "[BluetoothSetup][eventCallback] event : %s" % (getEventDesc(event))
|                     ^
| SyntaxError: invalid syntax
| 
| Compiling '/home/private/OpenPLi/openpli-oe-core/build/tmp/work/vuduo4k-oe-linux-gnueabi/enigma2-plugin-systemplugins-bluetoothsetup/1.0-20181109.r1/plugin/bt_task.py'...
| ***   File "/home/private/OpenPLi/openpli-oe-core/build/tmp/work/vuduo4k-oe-linux-gnueabi/enigma2-plugin-systemplugins-bluetoothsetup/1.0-20181109.r1/plugin/bt_task.py", line 209
|               print "         taskType : ", taskDesc[task["taskType"]]
|                     ^
| SyntaxError: Missing parentheses in call to 'print'. Did you mean print("             taskType : ", taskDesc[task["taskType"]])?
| 
| WARNING: exit code 1 from a shell command.
| ERROR: ExecutionError('/home/private/OpenPLi/openpli-oe-core/build/tmp/work/vuduo4k-oe-linux-gnueabi/enigma2-plugin-systemplugins-bluetoothsetup/1.0-20181109.r1/temp/run.do_compile.685847', 1, None, None)
ERROR: Task (/home/private/OpenPLi/openpli-oe-core/meta-vuplus/recipes-bsp/drivers/bluetoothsetup-vuduo4k.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3566 tasks of which 1943 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/private/OpenPLi/openpli-oe-core/meta-vuplus/recipes-bsp/drivers/bluetoothsetup-vuduo4k.bb:do_compile
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
make: *** [Makefile:130: image] Error 1
                                                                                                                         
┌──(private㉿kali)-[~/OpenPLi/openpli-oe-core]

You need to patch your local source to fix py3 syntax errors...

Full 2to3 diff for this plugin attached

 

(not sure how we'll proceed with vendors specific plugins like this? additional branch in bsp?)

Attached Files


True sarcasm doesn't need green font...


2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users