{"action":"created","issue":{"url":"https://api.github.com/repos/nilzen/xbmc-svtplay/issues/121","labels_url":"https://api.github.com/repos/nilzen/xbmc-svtplay/issues/121/labels{/name}","comments_url":"https://api.github.com/repos/nilzen/xbmc-svtplay/issues/121/comments","events_url":"https://api.github.com/repos/nilzen/xbmc-svtplay/issues/121/events","html_url":"https://github.com/nilzen/xbmc-svtplay/issues/121","id":55606001,"number":121,"title":"Exception for Group programs in A-Ö by first character","user":{"login":"kokangit","id":625642,"avatar_url":"https://avatars.githubusercontent.com/u/625642?v=3","gravatar_id":"","url":"https://api.github.com/users/kokangit","html_url":"https://github.com/kokangit","followers_url":"https://api.github.com/users/kokangit/followers","following_url":"https://api.github.com/users/kokangit/following{/other_user}","gists_url":"https://api.github.com/users/kokangit/gists{/gist_id}","starred_url":"https://api.github.com/users/kokangit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kokangit/subscriptions","organizations_url":"https://api.github.com/users/kokangit/orgs","repos_url":"https://api.github.com/users/kokangit/repos","events_url":"https://api.github.com/users/kokangit/events{/privacy}","received_events_url":"https://api.github.com/users/kokangit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-27T11:25:52Z","updated_at":"2015-02-01T21:56:40Z","closed_at":null,"body":"22:49:25 T:154267648   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--\r\n                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!\r\n                                            Error Type: <type 'exceptions.IndexError'>\r\n                                            Error Contents: list index out of range\r\n                                            Traceback (most recent call last):\r\n                                              File \"/var/mobile/Library/Preferences/XBMC/addons/plugin.video.svtplay/default.py\", line 378, in <module>\r\n                                                viewProgramsByLetter(ARG_PARAMS.get(\"letter\"))\r\n                                              File \"/var/mobile/Library/Preferences/XBMC/addons/plugin.video.svtplay/default.py\", line 114, in viewProgramsByLetter\r\n                                                programs = svt.getProgramsByLetter(letter)\r\n                                              File \"/var/mobile/Library/Preferences/XBMC/addons/plugin.video.svtplay/resources/lib/svt.py\", line 161, in getProgramsByLetter\r\n                                                heading = common.parseDOM(letterbox, \"h3\")[0]\r\n                                            IndexError: list index out of range\r\n                                            -->End of Python script error report<--\r\n\r\n\r\nA working pattern for letterboxes:\r\n  letterboxes = common.parseDOM(html, \"li\", attrs = { \"class\": \"[^\\\"']*play_alphabetic-list__letter-container[^\\\"']*\" })\r\n"},"comment":{"url":"https://api.github.com/repos/nilzen/xbmc-svtplay/issues/comments/72386614","html_url":"https://github.com/nilzen/xbmc-svtplay/issues/121#issuecomment-72386614","issue_url":"https://api.github.com/repos/nilzen/xbmc-svtplay/issues/121","id":72386614,"user":{"login":"oscar-b","id":85102,"avatar_url":"https://avatars.githubusercontent.com/u/85102?v=3","gravatar_id":"","url":"https://api.github.com/users/oscar-b","html_url":"https://github.com/oscar-b","followers_url":"https://api.github.com/users/oscar-b/followers","following_url":"https://api.github.com/users/oscar-b/following{/other_user}","gists_url":"https://api.github.com/users/oscar-b/gists{/gist_id}","starred_url":"https://api.github.com/users/oscar-b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oscar-b/subscriptions","organizations_url":"https://api.github.com/users/oscar-b/orgs","repos_url":"https://api.github.com/users/oscar-b/repos","events_url":"https://api.github.com/users/oscar-b/events{/privacy}","received_events_url":"https://api.github.com/users/oscar-b/received_events","type":"User","site_admin":false},"created_at":"2015-02-01T21:56:40Z","updated_at":"2015-02-01T21:56:40Z","body":"I'm still seeing problems with this:\r\n\r\n\r\n```\r\n22:35:34 T:140432130434816   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--\r\n                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!\r\n                                            Error Type: <type 'exceptions.IndexError'>\r\n                                            Error Contents: list index out of range\r\n                                            Traceback (most recent call last):\r\n                                              File \"/storage/.xbmc/addons/plugin.video.svtplay/default.py\", line 378, in <module>\r\n                                                viewProgramsByLetter(ARG_PARAMS.get(\"letter\"))\r\n                                              File \"/storage/.xbmc/addons/plugin.video.svtplay/default.py\", line 114, in viewProgramsByLetter\r\n                                                programs = svt.getProgramsByLetter(letter)\r\n                                              File \"/storage/.xbmc/addons/plugin.video.svtplay/resources/lib/svt.py\", line 161, in getProgramsByLetter\r\n                                                heading = common.parseDOM(letterbox, \"h3\")[0]\r\n                                            IndexError: list index out of range\r\n                                            -->End of Python script error report<--\r\n22:35:34 T:140433044821888   ERROR: GetDirectory - Error getting plugin://plugin.video.svtplay/?letter=R&mode=letter\r\n22:35:34 T:140433044821888   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.svtplay/?letter=R&mode=letter) failed\r\n```"}}