2012-11-17, 13:24
I get the below error in the Beta. My script works in a month or two old nightly build of frodo. What has changed in the API that could generate this error in my script? The path that it errors out on is 'C:/*.*' but in the log it shows up as 'c%3a%2f%2f/*.*'
Seems to be some character coding error? Code is here: http://pastebin.com/0S2X9RdV
12:16:23 T:2012 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.WindowsError'>
Error Contents: (3, 'The system cannot find the path specified', 'c%3a%2f%2f/*.*')
Traceback (most recent call last):
File "C:\XBMC\addons\MarkFolder.xayide.com\default.py", line 93, in <module>
listFolderContent(sys.argv[2][6:])
File "C:\XBMC\addons\MarkFolder.xayide.com\default.py", line 9, in listFolderContent
folderContents = os.listdir(rootFolder)
WindowsError: (3, 'The system cannot find the path specified', 'c%3a%2f%2f/*.*')
-->End of Python script error report<--
12:16:23 T:2012 INFO: Python script stopped
Seems to be some character coding error? Code is here: http://pastebin.com/0S2X9RdV
12:16:23 T:2012 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.WindowsError'>
Error Contents: (3, 'The system cannot find the path specified', 'c%3a%2f%2f/*.*')
Traceback (most recent call last):
File "C:\XBMC\addons\MarkFolder.xayide.com\default.py", line 93, in <module>
listFolderContent(sys.argv[2][6:])
File "C:\XBMC\addons\MarkFolder.xayide.com\default.py", line 9, in listFolderContent
folderContents = os.listdir(rootFolder)
WindowsError: (3, 'The system cannot find the path specified', 'c%3a%2f%2f/*.*')
-->End of Python script error report<--
12:16:23 T:2012 INFO: Python script stopped