i try to work on an addon,...
i need some information about the selectedItem
from a list constructed by python,...
but i have got an error:
as you can see , i use this:
i dont understand why i have the "acces violation" error,...
sample code :
how can bypass the problem,...
what is the solution to get the selectedItem from a list constructed by python,...
is there an alternative to make that possible,...
sorry for my ignorance,...
i need some information about the selectedItem
from a list constructed by python,...
but i have got an error:
Code:
EXCEPTION: access_voilation
09:11:38 T:3728 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.RuntimeError'>
Error Contents: access_voilation
Traceback (most recent call last):
File "C:\Users\ALAMATA\AppData\Roaming\XBMC\addons\plugin.video.dinotube\addon.py", line 152, in <module>
print (xbmcgui.Window(xbmcgui.getCurrentWindowId()).getFocus().getSelectedItem())
RuntimeError: access_voilation
-->End of Python script error report<--
as you can see , i use this:
Code:
xbmcgui.Window(xbmcgui.getCurrentWindowId()).getFocus().getSelectedItem()
i dont understand why i have the "acces violation" error,...
sample code :
Code:
def show_categories():
.......
for q, a in zip(cattitle, search):
addDir('{0}'.format(q, a), '{1}'.format(q, a), icon)
xbmcplugin.endOfDirectory(int(sys.argv[1]))
print (xbmcgui.Window(xbmcgui.getCurrentWindowId()).getFocus().getSelectedItem())
how can bypass the problem,...
what is the solution to get the selectedItem from a list constructed by python,...
is there an alternative to make that possible,...
sorry for my ignorance,...