jurialmunkey / script.skinvariables

A helper script for Kodi skinners to construct multiple variables
GNU General Public License v3.0
37 stars 16 forks source link

error with AH2 - v1.0.7 #19

Closed jsmdy closed 1 year ago

jsmdy commented 1 year ago

I've got this error since a fresh W10 install, I used the save extension on kodi to keep maximum data of previous config.

The error happened only when I click on tv show poster to detail the episodes, the episode page is empty no problems with movie/tc show informations, nor launching movies.

The message on Kodi prompting on screen info 'Skin variable error' :

_2022-12-05 15:39:47.108 T:10664 INFO : initializing python engine. 2022-12-05 15:39:47.108 T:10664 DEBUG : CPythonInvoker(36, C:\Users\jsmon\AppData\Roaming\Kodi\addons\script.skinvariables\script.py): start processing 2022-12-05 15:39:47.119 T:10600 DEBUG : Thread BackgroundLoader 10600 terminating 2022-12-05 15:39:47.151 T:10664 DEBUG : -->Python Interpreter Initialized<-- 2022-12-05 15:39:47.151 T:10664 DEBUG :

2022-12-05 15:39:47.151 T:10664 DEBUG : CPythonInvoker(36, C:\Users\jsmon\AppData\Roaming\Kodi\addons\script.skinvariables\script.py): the source file to load is "C:\Users\jsmon\AppData\Roaming\Kodi\addons\script.skinvariables\script.py" 2022-12-05 15:39:47.151 T:10664 DEBUG : CPythonInvoker(36, C:\Users\jsmon\AppData\Roaming\Kodi\addons\script.skinvariables\script.py): setting the Python path to C:\Users\jsmon\AppData\Roaming\Kodi\addons\script.skinvariables;C:\Users\jsmon\AppData\Roaming\Kodi\addons\script.module.tmdbhelper\resources\modules;C:\Program Files\Kodi\system\python\Lib;C:\Program Files\Kodi\python3.8.zip;C:\Program Files\Kodi\system\python\DLLs;C:\Program Files\Kodi;C:\Program Files\Kodi\system\python;C:\Program Files\Kodi\system\python\lib\site-packages 2022-12-05 15:39:47.151 T:10664 DEBUG : CPythonInvoker(36, C:\Users\jsmon\AppData\Roaming\Kodi\addons\script.skinvariables\script.py): entering source directory C:\Users\jsmon\AppData\Roaming\Kodi\addons\script.skinvariables 2022-12-05 15:39:47.152 T:10664 DEBUG : CPythonInvoker(36, C:\Users\jsmon\AppData\Roaming\Kodi\addons\script.skinvariables\script.py): instantiating addon using automatically obtained id of "script.skinvariables" dependent on version 3.0.0 of the xbmc.python api 2022-12-05 15:39:47.264 T:10664 ERROR : EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--

2022-12-05 15:39:47.264 T:10664 DEBUG : CPythonInvoker::onExecutionDone(36, C:\Users\jsmon\AppData\Roaming\Kodi\addons\script.skinvariables\script.py) 2022-12-05 15:39:47.268 T:11588 DEBUG : ------ Window Init (DialogNotification.xml) ------ 2022-12-05 15:39:47.641 T:10664 INFO : Python interpreter stopped_

jsmdy commented 1 year ago

I clean the database, rescan fully the tv show (windows change the HDD letter, so I lost the TV show infos, that's why I rescan the tv show folder). I also reinstall and old version of the extension and made an update to tried to have a clean install of the extension.

jurialmunkey commented 1 year ago

Upload full log. No snippets as I can't read that mess of unformatted text.

Either upload to a paste site like https://paste.kodi.tv/ and copy link here, or put in a zip and upload to a github comment.

jsmdy commented 1 year ago

-deleted-

jurialmunkey commented 1 year ago

Your viewtypes file is corrupted. Likely wasn't copied over correctly.

Delete the file and skinvariables will rebuild a new one: %APPDATA%/Kodi/userdata/addon_data/script.skinvariables/skin.arctic.horizon.2-viewtypes.json

jsmdy commented 1 year ago

works perfectly now, thank you 👍 .