Hi can I join the windows kodi party or should I say gateCRASH it?
I have two windows machines I look after running 14.1 and my one seems to fall over quite regularly. Have picked up a few things:
Disabling web server, as recommended in the update for 14.1 news, has made things worse. When ending a TV show, this happens:
Code:
ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.RuntimeError'>
Error Contents: access_violation
Traceback (most recent call last):
File "C:\Users\AM1\AppData\Roaming\Kodi\addons\service.library.data.provider\service.py", line 170, in onPlayBackEnded
self.onPlayBackStopped()
File "C:\Users\AM1\AppData\Roaming\Kodi\addons\service.library.data.provider\service.py", line 176, in onPlayBackStopped
self.action('episode')
File "C:\Users\AM1\AppData\Roaming\Kodi\addons\service.library.data.provider\service.py", line 116, in _update
LIBRARY._fetch_recommended_episodes()
File "C:\Users\AM1\AppData\Roaming\Kodi\addons\service.library.data.provider\library.py", line 240, in _fetch_recommended_episodes
json_query2 = xbmc.executeJSONRPC('{"jsonrpc": "2.0", "method": "VideoLibrary.GetEpisodes", "params": {"tvshowid": %d, "properties": ["title", "playcount", "plot", "season", "episode", "showtitle", "file", "lastplayed", "rating", "resume", "art", "streamdetails", "firstaired", "runtime", "writer", "cast", "dateadded"], "sort": {"method": "episode"}, "filter": {"field": "playcount", "operator": "is", "value": "0"}, "limits": {"end": 1}}, "id": 1}' %item['tvshowid'])
RuntimeError: access_violation
-->End of Python script error report<--
22:58:18 T:6200 NOTICE: Thread FileCache start, auto delete: false
And BUMP kodi crashes.
I've read this is MySQL related and also to the skin addon in question. I will disable the addon and see how I go.
The interesting thing is this doesnt happen with webserver enabled. BUT with that enabled I was getting random crashes which I think may be due to push notifications being sent to it or more likely library update commands.
debug log with web server on and watching an episode (no crash):
http://pastebin.com/HQJPMZnz
debug log with web server disabled:
http://pastebin.com/dJ6zTcrE
Sorry if I'm repeating anything I haven't read this whole thread but I'm guessing the title "kodi has stopped working" can be a bit of a broad church for noobs!
EDIT: Just noticed I have to restart kodi once I enable web server or else it will still crash at the end of each episode.