2013-09-15, 23:43
There is no stack trace (at least not in xbmc.log - is it written elsewhere?)
Without sorting (but with those same properties), it works fine - no exception.
With sorting, but without properties, it causes an unhandled exception.
So it looks like sorting is the culprit (descending also causes the exception).
It doesn't appear to be specific to any particular tv show, it's the same with every show I have tried. Oh, and I'm using MySQL in case that makes a difference.
This is what I see in xbmc.log with debug enabled:
Without sorting (but with those same properties), it works fine - no exception.
With sorting, but without properties, it causes an unhandled exception.
So it looks like sorting is the culprit (descending also causes the exception).
It doesn't appear to be specific to any particular tv show, it's the same with every show I have tried. Oh, and I'm using MySQL in case that makes a difference.
This is what I see in xbmc.log with debug enabled:
Code:
22:40:27 T:2861126736 DEBUG: JSONRPC: Incoming request: {"jsonrpc": "2.0", "params": {"sort": {"order": "ascending", "method": "season"}, "tvshowid": 169}, "method": "VideoLibrary.GetSeasons", "id": "libSeasons"}
22:40:27 T:2861126736 DEBUG: GetStackedTvShowList query: select idShow from tvshow where c00 like (select c00 from tvshow where idShow=169) order by idShow
22:40:27 T:2861126736 DEBUG: RunQuery took 81 ms for 2 items query: SELECT episodeview.c12, path.strPath, tvshowview.c00, tvshowview.c01, tvshowview.c05, tvshowview.c08, tvshowview.c14, tvshowview.c13, seasons.idSeason, count(1), count(files.playCount) FROM episodeview JOIN tvshowview ON tvshowview.idShow = episodeview.idShow JOIN seasons ON (seasons.idShow = tvshowview.idShow AND seasons.season = episodeview.c12) JOIN files ON files.idFile = episodeview.idFile JOIN tvshowlinkpath ON tvshowlinkpath.idShow = tvshowview.idShow JOIN path ON path.idPath = tvshowlinkpath.idPath WHERE tvshowview.idShow = 169 GROUP BY episodeview.c12
22:40:27 T:2861126736 ERROR: Action - thread TCPServer, Unhandled exception caught in thread process, aborting. auto delete: 0
22:40:27 T:2861126736 DEBUG: Thread TCPServer 2861126736 terminating