Jump to content


Photo

OpenPLi-py3


  • Please log in to reply
1139 replies to this topic

Re: OpenPLi-py3 #561 Beeker

  • PLi® Contributor
  • 1,602 posts

+203
Excellent

Posted 9 September 2022 - 17:40

 

And me again

Traceback (most recent call last):
  File "/usr/lib/enigma2/python/Plugins/Extensions/LCD4linux/plugin.py", line 4509, in run
    para[0](para[1],para[2],para[3])
  File "/usr/lib/enigma2/python/Plugins/Extensions/LCD4linux/plugin.py", line 11615, in putPicon
    name2=self.Lchannel_name + ".png"
AttributeError: 'str' object has no attribute 'decode'

 

Are you sure this is the correct log and not copy/paste error.

 

name2=self.Lchannel_name + ".png"   at line 11615 is correct, but there's no decode() on that line.


Edited by Beeker, 9 September 2022 - 17:40.

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

  • PLi® Core member
  • 70,219 posts

+1,798
Excellent

Posted 9 September 2022 - 17:49

Doesn't OE-A use this one? https://github.com/o...aster/LCD4linux


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

  • Senior Member
  • 624 posts

+18
Neutral

Posted 9 September 2022 - 17:50

Here is the plugin in OE-A: https://github.com/o...r/LCD4linux/src

 

I am changing the file, not doing copy/paste.



Re: OpenPLi-py3 #564 Beeker

  • PLi® Contributor
  • 1,602 posts

+203
Excellent

Posted 9 September 2022 - 18:00

Doesn't OE-A use this one? https://github.com/o...aster/LCD4linux

Best thing to do I think,  to add the plugin to our enigma2-plugins.


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

  • PLi® Core member
  • 70,219 posts

+1,798
Excellent

Posted 9 September 2022 - 18:19

If it works, and a recent version, I don't have a problem with that.


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

  • Senior Member
  • 624 posts

+18
Neutral

Posted 9 September 2022 - 20:20

For some reason I'm not lucky

 

<    87.3526> 2022-09-09 22:17:46+0300 [-] Extensions/LCD4linux (No module named 'Plugins.Extensions.LCD4linux.__init__')

 

Attached Files



Re: OpenPLi-py3 #567 Rick Hunter

  • PLi® Core member
  • 9,064 posts

+56
Good

Posted 9 September 2022 - 22:38

Hi Guys,

I am just back from a holiday. I've updated the python 3 image with opkg update && dopkg upgrade (55 packages) with a delta of approx 3 weeks.

 

Since now (september 9) the following plugins does not work anymore:

SundtekControlCenter (Bad magic number in "Plugin.Extenstions.SundtekControlCenter":b")

EPGImport (unpack requires a buffer of 4 bytes)

Youtube (bad magic number in "Plugin.Extenstions.Youtube":b")

 

Then I flashed the receiver with the most recent image, and found first something strange:

The receiver started and asked me the question if I want to use auto backup to restore the receiver. 
The message box and the message was fussy and hard to read. The bootlogo at the back was sharp and clear to see. the console screen that then comes and reporting the installation status is good to read.

 

Then the bootproces is stating.. and halfway booting the procesbar stops.. and the image hangs. 

A complete power off and on is fixing the booting.. 

Also the plugins that weren't working, are working again with one remark:

 

The Sundtek plugin can be used. When I reinstall the drivers:

[  195.945419] input: Sundtek Ltd. Remote Control as /devices/virtual/input/input4

[  198.002085] platform dvb0.0: DVB: registering adapter 0 frontend 2 (vtuner)...

[  205.425672] input: Sundtek Ltd. Remote Control as /devices/virtual/input/input5

[  207.465431] platform dvb0.0: DVB: registering adapter 0 frontend 2 (vtuner)...

 

The plugin must restart.. but that takes a lot, and I mean a lot of time to start restarting enigma. (2 a 3 minutes). With a python 2 image that took only seconds to initiate a enigma restart.

 

All seen with a mutant HD51 python 3 test image.


Edited by Rick Hunter, 9 September 2022 - 22:46.

Plinux member We have a.. (ehmm.. morgage) house.

Re: OpenPLi-py3 #568 rantanplan

  • PLi® Contributor
  • 1,857 posts

+87
Good

Posted 10 September 2022 - 00:09

This seems to be a consequential error of a failed update routine.
I would say.
Flash and set everything up again.
Do not restore data.



Re: OpenPLi-py3 #569 littlesat

  • PLi® Core member
  • 57,062 posts

+698
Excellent

Posted 10 September 2022 - 07:52

Indeed…. An update could break it…

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


Re: OpenPLi-py3 #570 foxbob

  • Senior Member
  • 624 posts

+18
Neutral

Posted 10 September 2022 - 10:14

There was a small problem after restoring the settings.The lan cable fell into disrepair and set up the network via wi-fi.Works.I made a backup of the settings.

I installed a new image.I restore the settings but the Wi-Fi settings are not restored.Lan settings were always restored.

 

This is the file interfaces-wi-fi:

# automatically generated by enigma2
# do NOT change manually!

auto lo
iface lo inet loopback

auto wlan3
iface wlan3 inet dhcp
udhcpc_opts -T1 -t9
	pre-up wl-config.sh -m unencrypted -k "" -s "TEREM0K_5G" 
	post-down wl-down.sh

iface eth0 inet dhcp
udhcpc_opts -T1 -t9

This is the file interfaces-lan-old:

# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
 
# The loopback interface
auto lo
iface lo inet loopback

# Wireless interfaces
iface wlan0 inet dhcp
	wireless_mode managed
	wireless_essid any
	wpa-driver wext
	wpa-conf /etc/wpa_supplicant.conf

iface atml0 inet dhcp

# Wired or wireless interfaces
auto eth0
iface eth0 inet dhcp
	udhcpc_opts -T1 -t9
auto eth1
iface eth1 inet dhcp
	udhcpc_opts -T1 -t9

# Ethernet/RNDIS gadget (g_ether)
# ... or on host side, usbnet and random hwaddr
iface usb0 inet static
	address 192.168.7.2
	netmask 255.255.255.0
	network 192.168.7.0
	gateway 192.168.7.1

# Bluetooth networking
iface bnep0 inet dhcp


Re: OpenPLi-py3 #571 rantanplan

  • PLi® Contributor
  • 1,857 posts

+87
Good

Posted 10 September 2022 - 10:40

Do not restore data.

reset everything.
Channel list is of course not a problem, but otherwise please simply set up everything again.
Searching for the possibly many faulty spots will take far too long.



Re: OpenPLi-py3 #572 WanWizard

  • PLi® Core member
  • 70,219 posts

+1,798
Excellent

Posted 10 September 2022 - 12:20

I have all boxes on wifi (except my recording box), never had an issue with a restore.

 

There is however still a py3 issue in the smb restore script, which is on my todo list.


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

  • PLi® Contributor
  • 1,857 posts

+87
Good

Posted 11 September 2022 - 00:09

Yes, that was my mistake, because it mentally referred to the previous post.
There it was about a failed update and subsequent problems with the recovery.



Re: OpenPLi-py3 #574 foxbob

  • Senior Member
  • 624 posts

+18
Neutral

Posted 11 September 2022 - 12:06

Good afternoon. I watched online cameras and accidentally pressed the EPG button. It seems that nothing should have happened, but there was a crash.

Maybe you need to put some type of stub so that nothing happens.

 

#SERVICE 4097:0:1:0:0:0:0:0:0:0:http%3a//cdn-001.whatsupcams.com/hls/hr_bale02.m3u8:Hrvatska  - Bale - Tomaso Bembo
#DESCRIPTION Hrvatska  - Bale - Tomaso Bembo
< 53816.7397> 2022-09-11 13:11:22+0300 [-] no epg for the service avail.. so we show multiepg instead of eventinfo
< 53816.8075> 2022-09-11 13:11:22+0300 [-] [Skin] Processing screen 'EPGSelectionMulti', position=(0, 0), size=(1920 x 1080) for module 'EPGSelection'.
terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_M_construct null not valid
< 53816.8681> PC: b60c8254
< 53816.8681> Fault Address: 00000000
< 53816.8681> Error Code: 0
< 53816.8683> Backtrace:
< 53816.8684> /usr/bin/enigma2(_Z17handleFatalSignaliP9siginfo_tPv) [0x789D8]
< 53816.8685> /lib/libc.so.6(__default_rt_sa_restorer) [0xB60C90F0]
< 53816.8686> /lib/libc.so.6(gsignal) [0xB60C8254]
< 53816.8687> /lib/libc.so.6(abort) [0xB60B4FA0]
< 53816.8688> /usr/lib/libstdc++.so.6(_ZN9__gnu_cxx27__verbose_terminate_handlerEv) [0xB633939C]
< 53816.8689> /usr/lib/libstdc++.so.6(n/a) [0xB6337368]
< 53816.8689> -------FATAL SIGNAL 6


Re: OpenPLi-py3 #575 WanWizard

  • PLi® Core member
  • 70,219 posts

+1,798
Excellent

Posted 11 September 2022 - 13:09

Python3 images have been removed online, python3 branches have been renamed to develop. Please flash the new develop when the build is ready, to continue testing the python3 codebase.


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

  • PLi® Core member
  • 70,219 posts

+1,798
Excellent

Posted 11 September 2022 - 13:11

Good afternoon. I watched online cameras and accidentally pressed the EPG button. It seems that nothing should have happened, but there was a crash.

 

It works fine if the serviceref does have EPG, so perhaps related to that?


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

  • Senior Member
  • 624 posts

+18
Neutral

Posted 11 September 2022 - 13:25

And if the serviceref is empty as in this case?



Re: OpenPLi-py3 #578 WanWizard

  • PLi® Core member
  • 70,219 posts

+1,798
Excellent

Posted 11 September 2022 - 13:56

Can't test at the moment, F1 is on ;)


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 #579 Dimitrij

  • PLi® Core member
  • 10,262 posts

+347
Excellent

Posted 11 September 2022 - 17:42

 

Good afternoon. I watched online cameras and accidentally pressed the EPG button. It seems that nothing should have happened, but there was a crash.

Maybe you need to put some type of stub so that nothing happens.

 

#SERVICE 4097:0:1:0:0:0:0:0:0:0:http%3a//cdn-001.whatsupcams.com/hls/hr_bale02.m3u8:Hrvatska  - Bale - Tomaso Bembo
#DESCRIPTION Hrvatska  - Bale - Tomaso Bembo
< 53816.7397> 2022-09-11 13:11:22+0300 [-] no epg for the service avail.. so we show multiepg instead of eventinfo
< 53816.8075> 2022-09-11 13:11:22+0300 [-] [Skin] Processing screen 'EPGSelectionMulti', position=(0, 0), size=(1920 x 1080) for module 'EPGSelection'.
terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_M_construct null not valid
< 53816.8681> PC: b60c8254
< 53816.8681> Fault Address: 00000000
< 53816.8681> Error Code: 0
< 53816.8683> Backtrace:
< 53816.8684> /usr/bin/enigma2(_Z17handleFatalSignaliP9siginfo_tPv) [0x789D8]
< 53816.8685> /lib/libc.so.6(__default_rt_sa_restorer) [0xB60C90F0]
< 53816.8686> /lib/libc.so.6(gsignal) [0xB60C8254]
< 53816.8687> /lib/libc.so.6(abort) [0xB60B4FA0]
< 53816.8688> /usr/lib/libstdc++.so.6(_ZN9__gnu_cxx27__verbose_terminate_handlerEv) [0xB633939C]
< 53816.8689> /usr/lib/libstdc++.so.6(n/a) [0xB6337368]
< 53816.8689> -------FATAL SIGNAL 6

Somewhere, somehow, you're calling the std::string constructor with the const char* value NULL.
 


GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: OpenPLi-py3 #580 WanWizard

  • PLi® Core member
  • 70,219 posts

+1,798
Excellent

Posted 11 September 2022 - 17:57

Can't reproduce it, even not with a seperate bouquet with only the stream in it. Just get an empty multiepg.


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.



37 user(s) are reading this topic

0 members, 37 guests, 0 anonymous users