Tryed to install swapmanager but I didn't find it.
It was an ipk in the 3rd party feed, which is not python3 compatible. So we need a compatible ipk, or better, a link to source so we can build it.
Posted 10 August 2022 - 16:21
Tryed to install swapmanager but I didn't find it.
It was an ipk in the 3rd party feed, which is not python3 compatible. So we need a compatible ipk, or better, a link to source so we can build 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.
Posted 11 August 2022 - 18:09
This is log for X-Streamity plugin.
Posted 11 August 2022 - 18:19
Looks like you're using some downloaded version, instead of the plugin fromt the feed?
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.
Posted 11 August 2022 - 19:14
That is what I mean. The version you installed is compiled with an old Pyhon version.
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.
Posted 13 August 2022 - 16:23
Weeks ago, curious as I was about the Python3 version, I installed this develop software in a Zgemma H9.2H SE and experienced no problems so just a pleasure to watch.
So this weekend I also fitted my Vu+Duo4K with the test/develop Python3 firmware. What outlines my surprise after a positive experience with the Zgemma. The Vu+Duo4K
works as usual, shows everything whether in the various menus and also the test images or screens are shown. But normal image from any FTA channel is NOT shown (yes audio).
Is there known more about this deviation in a(n) (old) Vu+Duo4K, so no image?
Posted 13 August 2022 - 18:31
Had that issue on the Solo 4K after the first flash, but havent seen it again after that. Never found out what the issue was.
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.
Posted 14 August 2022 - 04:18
Dreamexplorer plugin, I want to sort.
Edited by foxbob, 14 August 2022 - 04:19.
Posted 14 August 2022 - 09:19
Dreamexplorer plugin, I want to sort.
File "/usr/lib/enigma2/python/StartEnigma.py", line 223, in processDelaycallback(*retval)File "/usr/lib/enigma2/python/Plugins/Extensions/DreamExplorer/plugin.py", line 485, in SysExecutionFile "/usr/lib/enigma2/python/Plugins/Extensions/DreamExplorer/plugin.py", line 719, in sortDateFile "/usr/lib/enigma2/python/Plugins/Extensions/DreamExplorer/myFileList.py", line 357, in sortDateTypeError: sort() takes no positional arguments
This and this:
self.list.sort(self.byNameFunc) self.list.sort(self.byDateFunc)
Should be:
self.list.sort(key=self.byNameFunc) self.list.sort(key=self.byDateFunc)
Also, cmp() needs removing... it is not a valid Py3 method.
Edited by Huevos, 14 August 2022 - 09:27.
Posted 14 August 2022 - 09:24
Then
Traceback (most recent call last): File "/usr/lib/enigma2/python/StartEnigma.py", line 223, in processDelay callback(*retval) File "/usr/lib/enigma2/python/Plugins/Extensions/DreamExplorer/plugin.py", line 485, in SysExecution list = self.sortDate() File "/usr/lib/enigma2/python/Plugins/Extensions/DreamExplorer/plugin.py", line 719, in sortDate list = self["filelist"].sortDate() File "/usr/lib/enigma2/python/Plugins/Extensions/DreamExplorer/myFileList.py", line 358, in sortDate self.list.sort(key=self.byDateFunc) TypeError: FileList.byDateFunc() missing 1 required positional argument: 'b'
Dreambox dm920, Uclan Ustym4Kpro, Gigablue UHD TRIO 4K and Dreambox dm8000. Wavefrontier T55 13.0|19.2|23.5|28.2 + Ziggo.
Posted 14 August 2022 - 10:26
Then
Traceback (most recent call last): File "/usr/lib/enigma2/python/StartEnigma.py", line 223, in processDelay callback(*retval) File "/usr/lib/enigma2/python/Plugins/Extensions/DreamExplorer/plugin.py", line 485, in SysExecution list = self.sortDate() File "/usr/lib/enigma2/python/Plugins/Extensions/DreamExplorer/plugin.py", line 719, in sortDate list = self["filelist"].sortDate() File "/usr/lib/enigma2/python/Plugins/Extensions/DreamExplorer/myFileList.py", line 358, in sortDate self.list.sort(key=self.byDateFunc) TypeError: FileList.byDateFunc() missing 1 required positional argument: 'b'
In Py3 sort() doesn't work like that so needs a bit of a rewrite...
>>> def byDateFunc(*args, **kwargs): ... print("args", args) ... print("kwargs", kwargs) ... return 0 ... >>> s = [1, 2] >>> s.sort(key=byDateFunc) args (1,) kwargs {} args (2,) kwargs {} >>>
It execute the function on the value of a single key and returns the output as the basis for the sort.
Edited by Huevos, 14 August 2022 - 10:29.
Posted 14 August 2022 - 11:14
Yeah sorting name can be fixed with:
diff --git a/dreamexplorer/src/myFileList.py b/dreamexplorer/src/myFileList.py index e42dc56c..ba199a9b 100644 --- a/dreamexplorer/src/myFileList.py +++ b/dreamexplorer/src/myFileList.py @@ -336,8 +336,8 @@ class FileList(MenuList): tslen = "" return tslen - def byNameFunc(self, a, b): - return cmp(b[0][1], a[0][1]) or cmp(a[1][7], b[1][7]) + def byNameFunc(self, a): + return a[0][0] def sortName(self): self.list.sort(self.byNameFunc)
Sorting date fails at:
Traceback (most recent call last): File "/usr/lib/enigma2/python/StartEnigma.py", line 223, in processDelay callback(*retval) File "/usr/lib/enigma2/python/Plugins/Extensions/DreamExplorer/plugin.py", line 485, in SysExecution list = self.sortDate() File "/usr/lib/enigma2/python/Plugins/Extensions/DreamExplorer/plugin.py", line 719, in sortDate list = self["filelist"].sortDate() File "/usr/lib/enigma2/python/Plugins/Extensions/DreamExplorer/myFileList.py", line 359, in sortDate self.list.sort(key=self.byDateFunc) TypeError: '<' not supported between instances of 'str' and 'os.stat_result'
With:
@@ -345,13 +345,13 @@ class FileList(MenuList): self.l.setList(self.list) self.moveToIndex(0) - def byDateFunc(self, a, b): + def byDateFunc(self, a): try: stat1 = os_stat(self.current_directory + a[0][0]) - stat2 = os_stat(self.current_directory + b[0][0]) + # stat2 = os_stat(self.current_directory + b[0][0]) except: return 0 - return cmp(b[0][1], a[0][1]) or cmp(stat2.st_ctime, stat1.st_ctime) + return stat1 def sortDate(self): self.list.sort(self.byDateFunc)
That's because of this when I bypass try except/block:
Traceback (most recent call last): File "/usr/lib/enigma2/python/StartEnigma.py", line 223, in processDelay callback(*retval) File "/usr/lib/enigma2/python/Plugins/Extensions/DreamExplorer/plugin.py", line 485, in SysExecution list = self.sortDate() File "/usr/lib/enigma2/python/Plugins/Extensions/DreamExplorer/plugin.py", line 719, in sortDate list = self["filelist"].sortDate() File "/usr/lib/enigma2/python/Plugins/Extensions/DreamExplorer/myFileList.py", line 359, in sortDate self.list.sort(key=self.byDateFunc) File "/usr/lib/enigma2/python/Plugins/Extensions/DreamExplorer/myFileList.py", line 352, in byDateFunc stat1 = os_stat(self.current_directory + a[0][0]) FileNotFoundError: [Errno 2] No such file or directory: '/hdd//hdd/.Trash/'
Return a string doesn't work either, must be instances of os.stat_result.
When the files exist, it works.
Edited by Beeker, 14 August 2022 - 11:17.
Dreambox dm920, Uclan Ustym4Kpro, Gigablue UHD TRIO 4K and Dreambox dm8000. Wavefrontier T55 13.0|19.2|23.5|28.2 + Ziggo.
Posted 14 August 2022 - 16:21
Dreambox dm920, Uclan Ustym4Kpro, Gigablue UHD TRIO 4K and Dreambox dm8000. Wavefrontier T55 13.0|19.2|23.5|28.2 + Ziggo.
Posted 14 August 2022 - 16:52
Dreambox dm920, Uclan Ustym4Kpro, Gigablue UHD TRIO 4K and Dreambox dm8000. Wavefrontier T55 13.0|19.2|23.5|28.2 + Ziggo.
0 members, 1 guests, 0 anonymous users