2016-11-03, 05:32
IHi all, I must first apologize if the issue is not going on this topic, I'm new and do not understand much. My problem is that e been trying to implement a login system for my addon and throws me the following problem:
00:14:24 T: 4568 ERROR: Thrown EXCEPTION (PythonToCppException): -> Python callback / script returned the following error <-
- NOTE: THIS CAN LEAD TO IGNORING MEMORY LEAKS!
Error Type: <type 'exceptions.IOError'>
Contents Error: (2, 'No such file or directory', u'C: \\ xxxx\\ AppData \\ Roaming user \\ \\ \\ Kodi userdata addon_data \\ \\ \\ plugin.video.david cookiepath \ \ cookies.lwp ')
Traceback (most recent call last):
File "C: \ xxxx\ xxxx\ AppData \ Roaming \ Kodi \ addons \ plugin.video.xxxx\ principal.py", line 30, in <module>
logged_in = weblogin.doLogin ( 'cookiepath', 'username', 'password')
File "C: \ xxxx\ xxxx\ AppData \ Roaming \ Kodi \ addons \ plugin.video.xxxx\ weblogin.py", line 76, in doLogin
cj.save (os.path.join (dataroot, cookiepath))
File "C: \ Program Files (x86) \ Kodi \ system \ python \ Lib \ _LWPCookieJar.py", line 83, in save
f = open (filename, "w")
IOError: (2, 'No such file or directory', u'C: \\ xxxx\\ AppData \\ Roaming user \\ \\ \\ Kodi userdata addon_data \\ \\ \\ cookiepath \\ plugin.video.xxxx cookies.lwp ')
-> End of Python script bug report <-
00:14:24 T: 6940 ERROR: XFILE CDirectory :: :: GetDirectory - Error getting plugin: //plugin.video.xxxx/
00:14:24 T: 6940 ERROR: CGUIMediaWindow :: GetDirectory (plugin: //plugin.video.xxxx/) failed
and tried but can not find the solution, please help me
00:14:24 T: 4568 ERROR: Thrown EXCEPTION (PythonToCppException): -> Python callback / script returned the following error <-
- NOTE: THIS CAN LEAD TO IGNORING MEMORY LEAKS!
Error Type: <type 'exceptions.IOError'>
Contents Error: (2, 'No such file or directory', u'C: \\ xxxx\\ AppData \\ Roaming user \\ \\ \\ Kodi userdata addon_data \\ \\ \\ plugin.video.david cookiepath \ \ cookies.lwp ')
Traceback (most recent call last):
File "C: \ xxxx\ xxxx\ AppData \ Roaming \ Kodi \ addons \ plugin.video.xxxx\ principal.py", line 30, in <module>
logged_in = weblogin.doLogin ( 'cookiepath', 'username', 'password')
File "C: \ xxxx\ xxxx\ AppData \ Roaming \ Kodi \ addons \ plugin.video.xxxx\ weblogin.py", line 76, in doLogin
cj.save (os.path.join (dataroot, cookiepath))
File "C: \ Program Files (x86) \ Kodi \ system \ python \ Lib \ _LWPCookieJar.py", line 83, in save
f = open (filename, "w")
IOError: (2, 'No such file or directory', u'C: \\ xxxx\\ AppData \\ Roaming user \\ \\ \\ Kodi userdata addon_data \\ \\ \\ cookiepath \\ plugin.video.xxxx cookies.lwp ')
-> End of Python script bug report <-
00:14:24 T: 6940 ERROR: XFILE CDirectory :: :: GetDirectory - Error getting plugin: //plugin.video.xxxx/
00:14:24 T: 6940 ERROR: CGUIMediaWindow :: GetDirectory (plugin: //plugin.video.xxxx/) failed
and tried but can not find the solution, please help me