2017-03-14, 11:11
Thumbs up, Dalai Lanik :-)
CleanSubs just had a great run, cleaning a third of my subs until it errorred out. I think you're very close to perfection. Here's what I can glean from the normal log, will run some debug tests later to identify the subs which caused this.
CleanSubs just had a great run, cleaning a third of my subs until it errorred out. I think you're very close to perfection. Here's what I can glean from the normal log, will run some debug tests later to identify the subs which caused this.
Code:
10:05:56.839 T:1652 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IndexError'>
Error Contents: string index out of range
Traceback (most recent call last):
File "C:\Users\JoScha\AppData\Roaming\Kodi\addons\service.cleansubs\standalone.py", line 290, in <module>
intCancel = scanPaths(manFolder, 1, 1, 3)
File "C:\Users\JoScha\AppData\Roaming\Kodi\addons\service.cleansubs\standalone.py", line 176, in scanPaths
process_subs(os.path.join(path, basePath, name), 1)
File "C:\Users\JoScha\AppData\Roaming\Kodi\addons\service.cleansubs\default.py", line 414, in process_subs
if not line.text[subsPos - 1].isalnum() or not line.text[subsPos + 1].isalnum():
IndexError: string index out of range
-->End of Python script error report<--