cgrey000 23 Posted October 8, 2014 Share Posted October 8, 2014 Not sure when this started - I don't use it very often, but I know it worked in the past month. Trying the global search function results in a script failed error. Relevant section of the XBMC log below: 13:56:07 T:7308 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <type 'exceptions.TypeError'> Error Contents: object of type 'NoneType' has no len() Traceback (most recent call last): File "C:\Users\CL\AppData\Roaming\XBMC\addons\plugin.video.xbmb3c\default.py", line 2892, in <module> getContent(param_url) File "C:\Users\CL\AppData\Roaming\XBMC\addons\plugin.video.xbmb3c\default.py", line 1362, in getContent dirItems = processSearch(url, result, progress) File "C:\Users\CL\AppData\Roaming\XBMC\addons\plugin.video.xbmb3c\default.py", line 1807, in processSearch 'fanart_image' : downloadUtils.getArtwork(item, "Backdrop") , File "C:\Users\CL\AppData\Roaming\XBMC\addons\plugin.video.xbmb3c\resources\lib\DownloadUtils.py", line 174, in getArtwork totalbackdrops = len(data.get("BackdropImageTags")) TypeError: object of type 'NoneType' has no len() -->End of Python script error report<-- 13:56:07 T:8992 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.xbmb3c/?url=http%3A//s2%3A8096/mediabrowser/Search/Hints%3F5c3399f096c3cb1a6830fb05be892769&mode=2 13:56:07 T:8992 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.xbmb3c/?url=http%3A//s2%3A8096/mediabrowser/Search/Hints%3F5c3399f096c3cb1a6830fb05be892769&mode=2) failed Link to comment Share on other sites More sharing options...
xnappo 1593 Posted October 8, 2014 Share Posted October 8, 2014 Yep - that is due to the recent changes - good find. Need to do a check in data.get("BackdropImageTags")!=None, and if then assign totalbackdrops, otherwise totalbackdrops=0. xnappo Link to comment Share on other sites More sharing options...
jt81 0 Posted December 17, 2014 Share Posted December 17, 2014 HI, I am getting a similar problem when it has a error message stating "unable to connect to server" Can anyone help? Link to comment Share on other sites More sharing options...
xnappo 1593 Posted December 17, 2014 Share Posted December 17, 2014 (edited) Log file please. http://kodi.wiki/view/Log_file/Advanced Edited December 17, 2014 by xnappo Link to comment Share on other sites More sharing options...
Recommended Posts