Quantcast
Channel: [EN] OpenPLi Third-Party Development
Viewing all articles
Browse latest Browse all 2524

GrapMultiEpg

$
0
0

I'm trying to invoke the plugin MultiEPG via button from a panel that I have done,I put this code in the s panel
 


 

def Epg(self):
        from Plugins.Extensions.GraphMultiEPG.GraphMultiEpg import GraphMultiEPG
        from Tools.Directories import resolveFilename, SCOPE_CURRENT_SKIN
        self.session.open(GraphMultiEPG)

but I get this error:



 

Screen <class 'Plugins.Extensions.GraphMultiEPG.GraphMultiEpg.GraphMultiEPG'>((), {}): <type 'exceptions.TypeError'>
Traceback (most recent call last):
  File "/usr/lib/enigma2/python/mytest.py", line 239, in create
    return screen(self, *arguments, **kwargs)
TypeError: __init__() takes at least 3 arguments (2 given)
Traceback (most recent call last):
  File "/usr/lib/enigma2/python/Components/ActionMap.py", line 46, in action
    res = self.actions[action]()
  File "/usr/lib/enigma2/python/Screens/Mypanel.py", line 185, in Epg
    self.session.open(GraphMultiEPG)

how to solve it?


Viewing all articles
Browse latest Browse all 2524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>