2015-06-25, 13:38
Hi,
I've just done a fresh install on all my devices and the import option is throwing an error. Doesn't matter what version of the skin, official Kodi repo or Gades own.
If someone has a chance can they confirm it for me?
Fresh install 14.2 (I used PC & Android across several devices)
Install Rapier
Install script.toolbox
Restart Kodi
Change any setting in the Skin Settings
Skin Settings > Export Skin Settings
Skin Settings > Import Skin Settings -> Select the settings you exported
I tried several backups I have, all failed
I don't know which other skins use the import/export settings so cant really try without going through each skin and just trying to narrow down the problem.
Cheers
I've just done a fresh install on all my devices and the import option is throwing an error. Doesn't matter what version of the skin, official Kodi repo or Gades own.
If someone has a chance can they confirm it for me?
Fresh install 14.2 (I used PC & Android across several devices)
Install Rapier
Install script.toolbox
Restart Kodi
Change any setting in the Skin Settings
Skin Settings > Export Skin Settings
Skin Settings > Import Skin Settings -> Select the settings you exported
I tried several backups I have, all failed
I don't know which other skins use the import/export settings so cant really try without going through each skin and just trying to narrow down the problem.
Code:
12:21:59 T:5720 NOTICE: Thread LanguageInvoker start, auto delete: false
12:21:59 T:5720 NOTICE: -->Python Interpreter Initialized<--
12:22:03 T:5720 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'simplejson.scanner.JSONDecodeError'>
Error Contents: Invalid control character '"' at: line 2 column 1 (char 48024)
Traceback (most recent call last):
File "D:\Kodi\portable_data\addons\script.toolbox\default.py", line 230, in <module>
Main()
File "D:\Kodi\portable_data\addons\script.toolbox\default.py", line 27, in __init__
self._StartInfoActions()
File "D:\Kodi\portable_data\addons\script.toolbox\default.py", line 73, in _StartInfoActions
import_skinsettings()
File "D:\Kodi\portable_data\addons\script.toolbox\resources\lib\Utils.py", line 98, in import_skinsettings
importstring = read_from_file()
File "D:\Kodi\portable_data\addons\script.toolbox\resources\lib\Utils.py", line 253, in read_from_file
fc = simplejson.load(f)
File "D:\Kodi\portable_data\addons\script.module.simplejson\lib\simplejson\__init__.py", line 431, in load
use_decimal=use_decimal, **kw)
File "D:\Kodi\portable_data\addons\script.module.simplejson\lib\simplejson\__init__.py", line 488, in loads
return _default_decoder.decode(s)
File "D:\Kodi\portable_data\addons\script.module.simplejson\lib\simplejson\decoder.py", line 370, in decode
obj, end = self.raw_decode(s)
File "D:\Kodi\portable_data\addons\script.module.simplejson\lib\simplejson\decoder.py", line 389, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
File "D:\Kodi\portable_data\addons\script.module.simplejson\lib\simplejson\scanner.py", line 119, in scan_once
return _scan_once(string, idx)
File "D:\Kodi\portable_data\addons\script.module.simplejson\lib\simplejson\scanner.py", line 92, in _scan_once
return parse_array((string, idx + 1), _scan_once)
File "D:\Kodi\portable_data\addons\script.module.simplejson\lib\simplejson\decoder.py", line 250, in JSONArray
value, end = scan_once(s, end)
File "D:\Kodi\portable_data\addons\script.module.simplejson\lib\simplejson\scanner.py", line 92, in _scan_once
return parse_array((string, idx + 1), _scan_once)
File "D:\Kodi\portable_data\addons\script.module.simplejson\lib\simplejson\decoder.py", line 250, in JSONArray
value, end = scan_once(s, end)
File "D:\Kodi\portable_data\addons\script.module.simplejson\lib\simplejson\scanner.py", line 87, in _scan_once
return parse_string(string, idx + 1, encoding, strict)
File "D:\Kodi\portable_data\addons\script.module.simplejson\lib\simplejson\decoder.py", line 84, in py_scanstring
raise JSONDecodeError(msg, s, end)
JSONDecodeError: Invalid control character '"' at: line 2 column 1 (char 48024)
-->End of Python script error report<--
Cheers