2019-10-28, 23:11
I downloaded a zip of your 'new-version' branch and over-wrote the original files with it.
1st python error.
Easy enough to fix that as it's just a typo. However, when I changed it to
Full log https://paste.kodi.tv/homuvazone.kodi ( line 1919)
1st python error.
python:ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'NameError'>
Error Contents: name 'xmbc' is not defined
Traceback (most recent call last):
File "/home/xbmc/build/kodi-19/kodi-build/portable_data/addons/script.artistslideshow/default.py", line 79, in <module>
lw.log( ['loaded plugin ' + module] )
File "/home/xbmc/build/kodi-19/kodi-build/portable_data/addons/script.artistslideshow/resources/common/xlogger.py", line 53, in log
self._output( str_line, loglevel )
File "/home/xbmc/build/kodi-19/kodi-build/portable_data/addons/script.artistslideshow/resources/common/xlogger.py", line 60, in _output
self._output_xbmc( line, loglevel )
File "/home/xbmc/build/kodi-19/kodi-build/portable_data/addons/script.artistslideshow/resources/common/xlogger.py", line 73, in _output_xbmc
if self.LOGDEBUG or (loglevel != xmbc.DEBUG and loglevel != xbmc.INFO):
NameError: name 'xmbc' is not defined
-->End of Python script error report<--
Easy enough to fix that as it's just a typo. However, when I changed it to
if self.LOGDEBUG or (loglevel != xbmc.DEBUG and loglevel != xbmc.INFO):
and restarted the slideshow, it threw this error.python:2019-10-28 20:52:40.446 T:18739 DEBUG: CAddonSettings[script.artistslideshow]: loading setting values
2019-10-28 20:52:40.447 T:18739 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'AttributeError'>
Error Contents: module 'kodi_six.xbmc' has no attribute 'DEBUG'
Traceback (most recent call last):
File "/home/xbmc/build/kodi-19/kodi-build/portable_data/addons/script.artistslideshow/default.py", line 79, in <module>
lw.log( ['loaded plugin ' + module] )
File "/home/xbmc/build/kodi-19/kodi-build/portable_data/addons/script.artistslideshow/resources/common/xlogger.py", line 53, in log
self._output( str_line, loglevel )
File "/home/xbmc/build/kodi-19/kodi-build/portable_data/addons/script.artistslideshow/resources/common/xlogger.py", line 60, in _output
self._output_xbmc( line, loglevel )
File "/home/xbmc/build/kodi-19/kodi-build/portable_data/addons/script.artistslideshow/resources/common/xlogger.py", line 73, in _output_xbmc
if self.LOGDEBUG or (loglevel != xbmc.DEBUG and loglevel != xbmc.INFO):
AttributeError: module 'kodi_six.xbmc' has no attribute 'DEBUG'
-->End of Python script error report<--
Full log https://paste.kodi.tv/homuvazone.kodi ( line 1919)