I have installed ipk, I am getting this error.
Some plugins are not available.
Extensions/OpenPanel( No module named OpenPanel)
0penAtv 7.1 Py 3.10
I have installed ipk, I am getting this error.
Some plugins are not available.
Extensions/OpenPanel( No module named OpenPanel)
0penAtv 7.1 Py 3.10
Thank you both for your hard work.
It will probably be necessary to modify the import method. If we import from our own local directory... so... then instead of:
from OpenPanel import OpenPanel
from e2Plugins import e2Plugins
...it is necessary to use a dot... so... we will use the following module path (with a dot):
from .OpenPanel import OpenPanel
from .e2Plugins import e2Plugins
Importing from the Enigma2/Python path remains the same (so importing Components and the like remains the same). Only the import from the own directory changes, the same one that also contains the basic plugin.py file.
The aforementioned modification of the import must be done in the "plugin.py" file.
plugin.py
from . OpenPanel import OpenPanel
from . e2Plugins import e2Plugins
e2Plugins.py
from . OpenPanel import OpenPanel
OpenPanel.py
from . OpenPanelList import OPEntryComponent, OpenPanelList
That gets rid of the no module errors but then I get a crash when opening the plugin
QuoteDisplay MoreTraceback (most recent call last):
< 3210.1282> 17:21:10.1103 File "/usr/lib/enigma2/python/Plugins/Extensions/OpenPanel/OpenPanel.py", line 65, in __init__
< 3210.1287> 17:21:10.1109 self.updateSummary()
< 3210.1289> 17:21:10.1111 File "/usr/lib/enigma2/python/Plugins/Extensions/OpenPanel/OpenPanel.py", line 471, in updateSummary
< 3210.1298> 17:21:10.1119 summarytext += ' ' + entry[1] + '\n'
< 3210.1301> 17:21:10.1123 ~~~~^~~~~~~~~~
< 3210.1302> 17:21:10.1123 TypeError: can only concatenate str (not "bytes") to str
< 3210.1303> 17:21:10.1124
< 3210.1303> 17:21:10.1124 During handling of the above exception, another exception occurred:
< 3210.1303> 17:21:10.1125
< 3210.1304> 17:21:10.1125 Traceback (most recent call last):
< 3210.1304> 17:21:10.1125 File "/usr/lib/enigma2/python/Components/ActionMap.py", line 58, in action
< 3210.1309> 17:21:10.1130 File "/usr/lib/enigma2/python/Screens/PluginBrowser.py", line 166, in save
< 3210.1315> 17:21:10.1136 File "/usr/lib/enigma2/python/Screens/PluginBrowser.py", line 170, in run
< 3210.1318> 17:21:10.1139 File "/usr/lib/enigma2/python/Plugins/Plugin.py", line 110, in __call__
< 3210.1321> 17:21:10.1143 File "/usr/lib/enigma2/python/Plugins/Extensions/OpenPanel/plugin.py", line 23, in main
< 3210.1325> 17:21:10.1146 session.openWithCallback(result, OpenPanel, list=[], keys=[])
< 3210.1327> 17:21:10.1149 File "/usr/lib/enigma2/python/StartEnigma.py", line 304, in openWithCallback
< 3210.1334> 17:21:10.1155 dlg = self.open(screen, *arguments, **kwargs)
< 3210.1337> 17:21:10.1158 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
< 3210.1338> 17:21:10.1159 File "/usr/lib/enigma2/python/StartEnigma.py", line 314, in open
< 3210.1343> 17:21:10.1164 dlg = self.current_dialog = self.instantiateDialog(screen, *arguments, **kwargs)
< 3210.1348> 17:21:10.1169 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
< 3210.1348> 17:21:10.1169 File "/usr/lib/enigma2/python/StartEnigma.py", line 251, in instantiateDialog
< 3210.1353> 17:21:10.1174 return self.doInstantiateDialog(screen, arguments, kwargs, self.desktop)
< 3210.1357> 17:21:10.1178 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
< 3210.1357> 17:21:10.1179 File "/usr/lib/enigma2/python/StartEnigma.py", line 274, in doInstantiateDialog
< 3210.1365> 17:21:10.1186 dlg = screen(self, *arguments, **kwargs)
< 3210.1369> 17:21:10.1190 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
< 3210.1369> 17:21:10.1190 File "/usr/lib/enigma2/python/Plugins/Extensions/OpenPanel/OpenPanel.py", line 67, in __init__
< 3210.1373> 17:21:10.1194 except StandardError:
< 3210.1375> 17:21:10.1196 ^^^^^^^^^^^^^
< 3210.1377> 17:21:10.1198 NameError: name 'StandardError' is not defined
< 3210.1378> 17:21:10.1199 [ePyObject] (CallObject(<bound method ActionMap.action of <Components.ActionMap.ActionMap object at 0xae694890>>,('WizardActions', 'ok')) failed)
Uhmmmm...
Update V3 in attachment...
plugin.py seems ok
I still had to add
e2Plugins.py
from . OpenPanel import OpenPanel
OpenPanel.py
from . OpenPanelList import OPEntryComponent, OpenPanelList
For the no module errors.
I still get a crash when opening the plugin
QuoteDisplay More< 5609.7668> 18:01:09.7489 Traceback (most recent call last):
< 5609.7669> 18:01:09.7490 File "/usr/lib/enigma2/python/Components/ActionMap.py", line 58, in action
< 5609.7679> 18:01:09.7500 File "/usr/lib/enigma2/python/Screens/PluginBrowser.py", line 166, in save
< 5609.7683> 18:01:09.7505 File "/usr/lib/enigma2/python/Screens/PluginBrowser.py", line 170, in run
< 5609.7686> 18:01:09.7507 File "/usr/lib/enigma2/python/Plugins/Plugin.py", line 110, in __call__
< 5609.7689> 18:01:09.7510 File "/usr/lib/enigma2/python/Plugins/Extensions/OpenPanel/plugin.py", line 31, in main
< 5609.7694> 18:01:09.7516 session.openWithCallback(result, OpenPanel, list=[], keys=[])
< 5609.7697> 18:01:09.7519 File "/usr/lib/enigma2/python/StartEnigma.py", line 304, in openWithCallback
< 5609.7704> 18:01:09.7525 dlg = self.open(screen, *arguments, **kwargs)
< 5609.7708> 18:01:09.7529 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
< 5609.7708> 18:01:09.7530 File "/usr/lib/enigma2/python/StartEnigma.py", line 317, in open
< 5609.7715> 18:01:09.7536 self.execBegin()
< 5609.7716> 18:01:09.7537 File "/usr/lib/enigma2/python/StartEnigma.py", line 235, in execBegin
< 5609.7725> 18:01:09.7547 c.execBegin()
< 5609.7727> 18:01:09.7548 File "/usr/lib/enigma2/python/Screens/Screen.py", line 82, in execBegin
< 5609.7731> 18:01:09.7553 File "/usr/lib/enigma2/python/Plugins/Extensions/OpenPanel/OpenPanel.py", line 105, in updateTitle
< 5609.7735> 18:01:09.7557 self.setTitle(self.newtitle)
< 5609.7737> 18:01:09.7558 File "/usr/lib/enigma2/python/Screens/Screen.py", line 162, in setTitle
< 5609.7741> 18:01:09.7562 TypeError: in method 'eWindow_setTitle', argument 2 of type 'std::string const &'
< 5609.7742> 18:01:09.7563 [ePyObject] (CallObject(<bound method ActionMap.action of <Components.ActionMap.ActionMap object at 0xae6ff530>>,('WizardActions', 'ok')) failed)
The title updating... uhm... it should probably only be a string data type... but I don't know for sure. Try the V5 archive in the attachment :).
I'll try tomorrow morning after work 👍
Tried V5
I still had to add
e2Plugins.py
from . OpenPanel import OpenPanel
OpenPanel.py
from . OpenPanelList import OPEntryComponent, OpenPanelList
The plugin now opens but menus say <not-a-string>
1_0_19_5230_812_2_11A0000_0_0_0_20230216065450.jpg
Crash when trying to exit the plugin
QuoteDisplay More<52198.1623> 06:57:30.1444 Traceback (most recent call last):
< 52198.1624> 06:57:30.1444 File "/usr/lib/enigma2/python/Components/ActionMap.py", line 78, in action
< 52198.1628> 06:57:30.1448 File "/usr/lib/enigma2/python/Components/ActionMap.py", line 58, in action
< 52198.1631> 06:57:30.1452 File "/usr/lib/enigma2/python/Plugins/Extensions/OpenPanel/OpenPanel.py", line 476, in cancel
< 52198.1641> 06:57:30.1462 if backZap > -1:
< 52198.1644> 06:57:30.1464 ^^^^^^^^^^^^
< 52198.1645> 06:57:30.1465 TypeError: '>' not supported between instances of 'NoneType' and 'int'
< 52198.1645> 06:57:30.1466 [ePyObject] (CallObject(<bound method NumberActionMap.action of <Components.ActionMap.NumberActionMap object at 0xa7b271d0>>,('WizardActions', 'back')) failed)
Oh yeah... sorry... I noticed that it is necessary to make another import... in the next file... especially for Python3 and Python2 importing methods.
It could all be solved if these primitive small classes were simply included in the same file. There is no reason for them to be divided like this if it is a very primitive and very small Class.
I repeat again that the plugin source code is written very chaotically, outdated and without using standard Python "coding" style. Classes are used completely meaninglessly. Data types like bytes + string + utf-8 (Unicode) are mixed together. I don't know when I should use the "str().decode" method and when a simple conversion to string is sufficient (for example with the str() function or with some string method).
I recommend contacting the author to write the plugin source code again, not so messy... and... with support for Python3.
I tried to run it on my Python3 in my set-top box.
But... unfortunately, I found that it is necessary to literally rewrite a large amount of source code. And I will not do this. Sorry.
I just wanted to make the code from PY2 to PY3 work. But this is not possible when the source code is written incredibly complex (chaotic). It simply looks as if the programmer of the flood code did not take into account a huge number of things - for example, not taking into account the types of different strings (also applies in Python2 and not only in Python3) or, for example, using iterated objects instead of OOP style (this makes the code unreadable and in that only his author is a flood).
There is also a lot of completely unnecessary things, such as raising error exceptions or testing completely useless conditions (non-existent file), as Enigma2, but also the Python code itself, manage to report these errors very well... and much better than the algorithm itself, which written by the author of this code. The error message "file not found!" it's completely useless. Because I dont know discovery anything from this basic error message. However, if there was no testing for this specific error in the plugin source code, then Enigma2 would have announced the exact cause of the error + the file-path that the problem concerns + stepping up inherited / parent classes and methods.
Sorry mate.
I'm done here. I don't have the nerve for this :-/.
As I already wrote, I wanted to "convert" the code from PY2 to PY3, but with such chaos, it will not be possible to do it. Only if I sat behind it for several days, only then would I do it.
Ideally, the original author will write the entire code of the plugin from the beginning and even. However, this can only be done by the person who knows how the plugin algorithm should work properly and what it should actually do as a result :). However, I don't know what the algorithm is supposed to do. I don't even know what this plugin is for in general.
Update ZOOM
no py3!!!
Wie kan mij helpen aan het script cccam server.sh
ik kan alleen oscam vinden.
I don't know if I understand the question correctly.
For example, the script /usr/script/tichestart1.sh downloads all servers and saves them for CCcam in /etc/CCcam.cfg
During the processing of this script, the CONV.sh script is activated twice, which has the task of transferring lines for OScam, Ncam.... Furthermore, the restart.sh script is activated twice, which restarts the currently running CAM. So this script and actually the others, for individual servers, work for both CCcam and Oscam.....
Hello BextrH
I wonder if there is something wrong with the server?
I run Plugin-Update.sh, it deletes all of the scripts first, but after that it can not download anything.
Will you be kind enough to check it?
Thank you.
same probleme here, after check for update plugin was removed
You can not download the file
You can not download the file
attached ...
Good day everyone.
I bring you a cropped Lite version of ZOOM.
I apologize in advance to Zelda77 for borrowing his plugin, converting it to (py3) and converting it to ...ZOOM.
Thank you for understanding.
It was my last act, I'm staying on py 2.7.
frankly I've never used this plugin, this works in PY3, but when I start it asks me for a file that it can't find
if anyone knows what it is .. can be fixed ;)
Don’t have an account yet? Register yourself now and be a part of our community!