Jump to content


Photo

OpenPLi-py3


  • Please log in to reply
1139 replies to this topic

Re: OpenPLi-py3 #1081 littlesat

  • PLi® Core member
  • 56,626 posts

+695
Excellent

Posted 30 September 2023 - 09:31

Do not use openmultiboot as it is a fake multiboot and you now discovered why. In openpli 9.0 rc you have a real multiboot options (and other images have them also). Use that instead!

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


Re: OpenPLi-py3 #1082 jotem

  • New Member
  • 4 posts

0
Neutral

Posted 30 September 2023 - 10:53

Do not use openmultiboot as it is a fake multiboot and you now discovered why. In openpli 9.0 rc you have a real multiboot options (and other images have them also). Use that instead!

I'm sorry, but you didn't understand my question. I use openmultiboot for more than 4 years and I "played" with it tens od different E2 distributions and releases and I know about limitations of this extension. But for the first time I faced such a problem, that installed or upgraded "image" is missing in openmultiboot start menu. Of course I can spend hours to find out which one of the upgraded 43 packages in version 20230925 is responsible for this, but I was hoping to get help here. Was I wrong?

 

JM



Re: OpenPLi-py3 #1083 littlesat

  • PLi® Core member
  • 56,626 posts

+695
Excellent

Posted 30 September 2023 - 12:21

No you were not wrong, except for openmultiboot is not a real multiboot so it was wait for a time it breaks… I have the advice to switch to a better system, which is recently also available for vu+. Just install a more modern image in the flash and use its standard multiboot.
We never advised ever to use openmultiboot as we know it can and will break things by ‘design’

Edited by littlesat, 30 September 2023 - 12:23.

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


Re: OpenPLi-py3 #1084 jotem

  • New Member
  • 4 posts

0
Neutral

Posted 1 October 2023 - 10:20

The problem is in enigma2 since version 3.9+git20873+f6032c1-r0.0 package - if I don't upgrade enigma2 package openpli-develop is present in openmultiboot start menu and in list of images in openmutiboot plugin.

Also on fresh installation of version 20230919 if upgrade ONLY enigma2 openpli-develop disappears from list of images when I open openmultiboot plugin.

 

JM


Edited by jotem, 1 October 2023 - 10:20.


Re: OpenPLi-py3 #1085 WanWizard

  • PLi® Core member
  • 69,193 posts

+1,764
Excellent

Posted 1 October 2023 - 13:40

Since f6032c1 there were only a few commits, related to serviceinfo and choicebox.

 

So it is possible that the plugin uses the choicebox in a non-standard way, which is no longer compatible.

 

Having said that, the new kexec multiboot is so much better, and doesn't rely on kernel compatibility like openmultiboot does, so I agree with him that you should switch as soon as possible.


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 #1086 Taapat

  • PLi® Core member
  • 2,345 posts

+121
Excellent

Posted 1 October 2023 - 17:58

If we were talking about openmultiboot form feed: https://github.com/o...e/openmultiboot
Then, as you can see, its code is in c, and therefore it seems that ChoiceBox is not used there at all.
I assume that there is some other problem that is not related to the changes in enigma2.


Re: OpenPLi-py3 #1087 WanWizard

  • PLi® Core member
  • 69,193 posts

+1,764
Excellent

Posted 1 October 2023 - 18:09

So the question is then "what is openmultiboot checking to determine what is an image" and "what have we changed so that this detection fiailed".

 

I can't really square that up with the few commits that were in E2 since the commit @jotem reports as still working.


Edited by WanWizard, 1 October 2023 - 18:14.

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 #1088 ims

  • PLi® Core member
  • 13,653 posts

+213
Excellent

Posted 1 October 2023 - 18:22

There was changes in ofgwrite, may be this ? But it is not using with VU, or no ?


Edited by ims, 1 October 2023 - 18:23.

Kdo nic nedělá, nic nezkazí!

Re: OpenPLi-py3 #1089 Taapat

  • PLi® Core member
  • 2,345 posts

+121
Excellent

Posted 1 October 2023 - 18:23

The question is since f6032c1 means- after this version there are problems and f6032c1 still works, or f6032c1 no longer works?
Because ChoiceBox changes is after this version.


Re: OpenPLi-py3 #1090 WanWizard

  • PLi® Core member
  • 69,193 posts

+1,764
Excellent

Posted 1 October 2023 - 18:31

Also, are we talking about openmultiboot itself, or Dimitrij's plugin: github.com/Dima73/pli-openmultibootmanager ?

 

I think we need a proper bug report, with more details, and perhaps a screenshot.


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 #1091 jotem

  • New Member
  • 4 posts

0
Neutral

Posted 1 October 2023 - 20:12

 

The question is since f6032c1 means- after this version there are problems and f6032c1 still works, or f6032c1 no longer works?
Because ChoiceBox changes is after this version.

 

The last working version for me is 3.9+git20834+33cf2de-r0.0, version 3.9+git20873+f6032c1-r0.0 is the first version I discovered that is not working.

 

I use OpenBH 5.3.008 in flash of Vu+ Duo 4K. Few days ago I had BlackHole 3.1.0 in flash but I upgraded to OBH when I had noticed problems with openpli in openmultiboot.

In my openmultiboot (files are on internal hard  disk) I have another OBH 5.3 image (for "experiments"), OpenATV 7.3, OpenPLi 9.0-rc, openpli-develop recent version with enigma2 3.9+git20834+33cf2de-r0.0, VTi 15.0.02 and 2 another instances of openpli-develop based on version 20230919 (with different updates just for tests).

Openmultiboot plugin in OpenPLi is not fully functional - you cannot install any image with this plugin.

 

I have no logs from install or upgrade procedures, I just install images from downloaded .zip files or use opkg update/upgrade from console and then check if openmultiboot plugin shows installed/upgraded images.

 

If I could help to solve this problem I'm ready to do some other test and answer your question.

 

JM



Re: OpenPLi-py3 #1092 WanWizard

  • PLi® Core member
  • 69,193 posts

+1,764
Excellent

Posted 2 October 2023 - 14:12

My 2ct's:

 

It is probably easier, better, faster and more stable to put an image with kexec support in Flash (OpenPLi develop, 9.0-rc, or a recent image from an OE-A team), use the built-in multiboot, and forget about a plugin that hasn't been maintained in years, and with the kexec solution available will most likely be abandoned.

 

And I won't be surprised if the plugin collides with the kexec code.


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

  • PLi® Core member
  • 10,106 posts

+343
Excellent

Posted 2 October 2023 - 16:56

 

forget about a plugin that hasn't been maintained in years, and with the kexec solution available will most likely be abandoned

Yes, you're right, I don't want to support him anymore.


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


Re: OpenPLi-py3 #1094 Amai

  • Senior Member
  • 615 posts

+26
Good

Posted 7 October 2023 - 15:58

Menu - Setup - Tuners & scanning
gives me a crash since NimManager line was removed from Menu.py (3 days ago)
 
when I put the line back there is no crash
from Components.NimManager import nimmanager


Re: OpenPLi-py3 #1095 littlesat

  • PLi® Core member
  • 56,626 posts

+695
Excellent

Posted 7 October 2023 - 16:02

Can you do a
Merge request

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


Re: OpenPLi-py3 #1096 Taapat

  • PLi® Core member
  • 2,345 posts

+121
Excellent

Posted 7 October 2023 - 16:22

But please add a comment to this import why it is needed.
It is not clear from the code that it is called on conditional eval.
Without comment, I think someone will remove it again.


Re: OpenPLi-py3 #1097 Taapat

  • PLi® Core member
  • 2,345 posts

+121
Excellent

Posted 7 October 2023 - 16:48

Done: https://github.com/O...9917316b6601baa



Re: OpenPLi-py3 #1098 Amai

  • Senior Member
  • 615 posts

+26
Good

Posted 19 October 2023 - 17:17

Hi, the scanning worked good after your fix. But there has been a change in MenuList.py and I get a crash when I do a manual channel scan.

MenuList.py commit: https://github.com/O...d7ec4801c238754

 

For now I put the previous MenuList.py back on my box to not have this crash with manual scan.

Traceback (most recent call last):
  File "/usr/lib/enigma2/python/Components/ActionMap.py", line 77, in action
    return ActionMap.action(self, contexts, action)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/enigma2/python/Components/ActionMap.py", line 57, in action
    res = self.actions[action]()
          ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/enigma2/python/Screens/ScanSetup.py", line 1338, in keyGo
    infoBarInstance.checkTimeshiftRunning(self.keyGoCheckTimeshiftCallback)
  File "/usr/lib/enigma2/python/Screens/InfoBarGenerics.py", line 2144, in checkTimeshiftRunning
    returnFunction(True)
  File "/usr/lib/enigma2/python/Screens/ScanSetup.py", line 1514, in keyGoCheckTimeshiftCallback
    self.startScan(tlist, flags, index_to_scan, self.networkid)
  File "/usr/lib/enigma2/python/Screens/ScanSetup.py", line 1686, in startScan
    self.session.openWithCallback(self.startScanCallback, ServiceScan, [{"transponders": tlist, "feid": feid, "flags": flags, "networkid": networkid}])
  File "/usr/lib/enigma2/python/StartEnigma.py", line 302, in openWithCallback
    dlg = self.open(screen, *arguments, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/enigma2/python/StartEnigma.py", line 312, in open
    dlg = self.current_dialog = self.instantiateDialog(screen, *arguments, **kwargs)
                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/enigma2/python/StartEnigma.py", line 255, in instantiateDialog
    return self.doInstantiateDialog(screen, arguments, kwargs, self.desktop)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/enigma2/python/StartEnigma.py", line 272, in doInstantiateDialog
    dlg = screen(self, *arguments, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/enigma2/python/Screens/ServiceScan.py", line 94, in __init__
    self["servicelist"] = FIFOList()
                          ^^^^^^^^^^
  File "/usr/lib/enigma2/python/Components/FIFOList.py", line 6, in __init__
    self.list = list
    ^^^^^^^^^
  File "/usr/lib/enigma2/python/Components/MenuList.py", line 41, in setList
    self.l.setList(self.__list)
    ^^^^^^
AttributeError: 'FIFOList' object has no attribute 'l'
[ePyObject] (CallObject(<bound method NumberActionMap.action of <Components.ActionMap.NumberActionMap object at 0xae281bb0>>,('SetupActions', 'ok')) failed)

Edited by Amai, 19 October 2023 - 17:19.


Re: OpenPLi-py3 #1099 Dimitrij

  • PLi® Core member
  • 10,106 posts

+343
Excellent

Posted 20 October 2023 - 05:23

class FIFOList(MenuList):
	def __init__(self, list=[], len=10):
+		MenuList.__init__(self, self.list)
		self.list = list
		self.len = len
-		MenuList.__init__(self, self.list)

or

https://github.com/O...f7a1bc2fc3645de


Edited by Dimitrij, 20 October 2023 - 05:32.

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


Re: OpenPLi-py3 #1100 Taapat

  • PLi® Core member
  • 2,345 posts

+121
Excellent

Posted 20 October 2023 - 06:52

I was already afraid that something like this might happen, so I waited a while before adding the Huevos changes in OpenPLi.
I hope that now everything will be ok and something similar will not appear in other places: https://github.com/O...31c1f51ce571af9



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users