2017-03-14, 11:32
Here goes. This run, the script got much futher which leads me to believe that it might be a memory problem. There are no real indicators, though, except for that stats hint.
Code:
10:24:50.102 T:1596 DEBUG: CLEANSUBS STANDALONE >> FILE: >>Hannibal.S02E02.HDTV.x264-LOL.ja.srt<<
10:24:50.169 T:1596 DEBUG: CLEANSUBS >> SQL ERROR IN CheckDatabase
10:24:50.170 T:1596 DEBUG: CLEANSUBS >> SUB STATS WILL BE ADDED TO LOCAL DATABASE
10:24:50.178 T:1596 DEBUG: CLEANSUBS >> ENC >> TRYING ENCODING utf-8
10:24:50.182 T:1596 DEBUG: CLEANSUBS >> ENC >> TRYING ENCODING cp1250
10:24:50.187 T:1596 DEBUG: CLEANSUBS >> ENC >> TRYING ENCODING cp1251
10:24:50.191 T:1596 DEBUG: CLEANSUBS >> ENC >> TRYING ENCODING cp1252
10:24:50.194 T:1596 DEBUG: CLEANSUBS >> ENC >> TRYING ENCODING cp1253
10:24:50.199 T:1596 DEBUG: CLEANSUBS >> ENC >> TRYING ENCODING cp1254
10:24:50.203 T:1596 DEBUG: CLEANSUBS >> ENC >> TRYING ENCODING cp1255
10:24:50.209 T:1596 DEBUG: CLEANSUBS >> ENC >> OPENED WITH ENCODING: cp1256
10:24:50.242 T:1596 DEBUG: CLEANSUBS >> SQL ERROR IN AddtoDatabase : no such table: stats
10:24:50.328 T:1596 DEBUG: Previous line repeats 2 times.
10:24:50.328 T:1596 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<--