Jump to content


Photo

OpenPLi-py3


  • Please log in to reply
1139 replies to this topic

Re: OpenPLi-py3 #1021 Beeker

  • PLi® Contributor
  • 1,604 posts

+203
Excellent

Posted 6 August 2023 - 21:21

Working on it.


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

  • PLi® Contributor
  • 1,604 posts

+203
Excellent

Posted 6 August 2023 - 21:41

https://github.com/O...-core/pull/1189

 

https://github.com/O...lugins/pull/951


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

  • PLi® Contributor
  • 1,604 posts

+203
Excellent

Posted 7 August 2023 - 06:21

When next build is ready, re-install plugin or install python3-icalendar and python3-pytz.


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

  • PLi® Contributor
  • 1,604 posts

+203
Excellent

Posted 7 August 2023 - 13:19

https://github.com/O...lugins/pull/953


Edited by Beeker, 7 August 2023 - 13:24.

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

  • PLi® Core member
  • 70,546 posts

+1,813
Excellent

Posted 7 August 2023 - 15:30

All merged.


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

  • PLi® Contributor
  • 1,604 posts

+203
Excellent

Posted 7 August 2023 - 16:25

Thanks.


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 #1027 Stan

  • Senior Member
  • 381 posts

0
Neutral

Posted 8 August 2023 - 07:28

Thanks for updating LCD4 Linux.

 

About the required python3-icalendar, when I manually install it from the feed, it installs two more packages, python3-pytz and python3-doctest. However, when I uninstall python3-icalendar, opkg leaves the other two packages on the box. Shoudn't these packages, that are now no longer needed, be removed automatically?


Edited by Stan, 8 August 2023 - 07:35.


Re: OpenPLi-py3 #1028 Beeker

  • PLi® Contributor
  • 1,604 posts

+203
Excellent

Posted 8 August 2023 - 08:24

No. That's the normal behavior AFAIK.

You need to remove the run-time dependencies explicitly.

It could be used by other packages.

 

Opkg has options like '--autoremove' and '--force-removal-of-dependent-packages', but that does work the other way around. It removes packages which 'python3-icalendar' using as runtime-dep.


Edited by Beeker, 8 August 2023 - 08:25.

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 #1029 Stan

  • Senior Member
  • 381 posts

0
Neutral

Posted 8 August 2023 - 08:29

The opkg option '--autoremove' does the job.



Re: OpenPLi-py3 #1030 Stan

  • Senior Member
  • 381 posts

0
Neutral

Posted 8 August 2023 - 08:32

Does this mean that '--autoremove' should always be used when manually uninstalling a package?

 

The plugin manager seems to use '--autoremove' by default.


Edited by Stan, 8 August 2023 - 08:38.


Re: OpenPLi-py3 #1031 Beeker

  • PLi® Contributor
  • 1,604 posts

+203
Excellent

Posted 8 August 2023 - 08:39

root@gbtrio4k:~# opkg remove python3-icalendar --autoremove
 * Solver encountered 1 problem(s):
 * Problem 1/1:
 *   - package enigma2-plugin-extensions-lcd4linux-git5670+34ee252-r0.cortexa15hf-neon-vfpv4 requires python3-icalendar, but none of the providers can be installed
 *   - conflicting requests
 *   - problem with installed package enigma2-plugin-extensions-lcd4linux-git5670+34ee252-r0.cortexa15hf-neon-vfpv4
 * 
 * Solution 1:
 *   - allow deinstallation of enigma2-plugin-extensions-lcd4linux-git5670+34ee252-r0.cortexa15hf-neon-vfpv4


 * Solution 2:
 *   - do not ask to deinstall python3-icalendar

 *   - do not ask to deinstall python3-icalendar


root@gbtrio4k:~# opkg remove python3-icalendar --autoremove --force-depends
Removing python3-icalendar (4.0.6) from root...
root@gbtrio4k:~# opkg remove python3-pytz --autoremove --force-depends
Removing python3-pytz (2021.1) from root...
Removing python3-doctest (3.9.9) from root...

 


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 #1032 Stan

  • Senior Member
  • 381 posts

0
Neutral

Posted 8 August 2023 - 08:47

If you uninstall LCD4Linux manually, does it uninstall the depend packages?



Re: OpenPLi-py3 #1033 Beeker

  • PLi® Contributor
  • 1,604 posts

+203
Excellent

Posted 8 August 2023 - 08:50

If you uninstall LCD4Linux manually, does it uninstall the depend packages?

No.

oot@gbtrio4k:~# opkg remove enigma2-plugin-extensions-lcd4linux
Removing enigma2-plugin-extensions-lcd4linux (git5670+34ee252) from root...
root@gbtrio4k:~# 

 


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

  • PLi® Contributor
  • 1,604 posts

+203
Excellent

Posted 8 August 2023 - 08:51

root@gbtrio4k:~# opkg remove enigma2-plugin-extensions-lcd4linux --autoremove
Removing enigma2-plugin-extensions-lcd4linux (git5670+34ee252) from root...
Removing python3-image (3.9.9) from root...
Removing python3-mutagen (1.45.1) from root...
Removing python3-pillow (8.2.0) from root...
Removing python3-pyusb (1.1.1) from root...
Removing python3-simplejson (3.17.2) from root...
Removing openjpeg (2.4.0) from root...
Removing libusb-1.0-0 (1.0.24) from root...
Removing lcms (2.12) from root...
Removing libtiff5 (4.2.0) from root...
root@gbtrio4k:~# 

 


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

  • PLi® Contributor
  • 1,604 posts

+203
Excellent

Posted 8 August 2023 - 08:58

It is a bit confusing.

 

python3-pytz and python3-doctest are runtime-dependencies of python3-icalendar.

 

python3-pytz is a runtime dependency of lcd4linux plugin as well and python3-doctest not.


Edited by Beeker, 8 August 2023 - 08:58.

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 #1036 Stan

  • Senior Member
  • 381 posts

0
Neutral

Posted 8 August 2023 - 09:01

That means, you should not need to add python3-pytz as depend to LCD4Linux, because python3-icalendar will already install it.


Edited by Stan, 8 August 2023 - 09:09.


Re: OpenPLi-py3 #1037 Beeker

  • PLi® Contributor
  • 1,604 posts

+203
Excellent

Posted 8 August 2023 - 09:08

Yes that's correct. although It's not a big deal

 

The runtime dependencies need a cleanup anyway.

 

https://github.com/O...TROL/control#L6


Edited by Beeker, 8 August 2023 - 09:13.

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 #1038 Stan

  • Senior Member
  • 381 posts

0
Neutral

Posted 8 August 2023 - 09:29

Found a bug in LCD4Linux. Would you correct it if I send you a PM?



Re: OpenPLi-py3 #1039 Beeker

  • PLi® Contributor
  • 1,604 posts

+203
Excellent

Posted 8 August 2023 - 09:35

That's OK.


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

  • PLi® Contributor
  • 1,604 posts

+203
Excellent

Posted 8 August 2023 - 10:17

Although it's better to post bugs here, so others are aware of it and can help to fix it.


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



4 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users


    Bing (1)