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?
Edited by extreme71, 5 March 2014 - 15:25.