{"action":"created","issue":{"url":"https://api.github.com/repos/SickGear/SickGear/issues/257","labels_url":"https://api.github.com/repos/SickGear/SickGear/issues/257/labels{/name}","comments_url":"https://api.github.com/repos/SickGear/SickGear/issues/257/comments","events_url":"https://api.github.com/repos/SickGear/SickGear/issues/257/events","html_url":"https://github.com/SickGear/SickGear/issues/257","id":60424641,"number":257,"title":"Manual PP crashes SG","user":{"login":"Th3MadHatter","id":7431902,"avatar_url":"https://avatars.githubusercontent.com/u/7431902?v=3","gravatar_id":"","url":"https://api.github.com/users/Th3MadHatter","html_url":"https://github.com/Th3MadHatter","followers_url":"https://api.github.com/users/Th3MadHatter/followers","following_url":"https://api.github.com/users/Th3MadHatter/following{/other_user}","gists_url":"https://api.github.com/users/Th3MadHatter/gists{/gist_id}","starred_url":"https://api.github.com/users/Th3MadHatter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Th3MadHatter/subscriptions","organizations_url":"https://api.github.com/users/Th3MadHatter/orgs","repos_url":"https://api.github.com/users/Th3MadHatter/repos","events_url":"https://api.github.com/users/Th3MadHatter/events{/privacy}","received_events_url":"https://api.github.com/users/Th3MadHatter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SickGear/SickGear/labels/Fixed","name":"Fixed","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-09T22:59:20Z","updated_at":"2015-03-10T09:56:01Z","closed_at":"2015-03-09T23:11:56Z","body":"\r\nHad this happen a few times in a row, fairly annoying since the eps I want reprocessed come after these :P.\r\n\r\nBRANCH: (develop) / COMMIT: (e9251b3e477712a1d2be8ddb8371865f1d243e81)\r\nThis is BETA software.\r\nOS Windows 7\r\nTo reproduce, not a clue, do the same thing I did i guess.\r\n\r\n```\r\n2015-03-09 23:32:57 DEBUG    TORNADO :: Using ALL regexes\r\n2015-03-09 23:32:57 DB       TORNADO :: sickbeard.db: SELECT season, episode FROM scene_numbering WHERE indexer = ? and indexer_id = ? and scene_season = ? and scene_episode = ? with args [1, 281700, 1, 1]\r\n2015-03-09 23:32:57 DB       TORNADO :: sickbeard.db: SELECT last_refreshed FROM xem_refresh WHERE indexer = ? and indexer_id = ? with args [1, 281700]\r\n2015-03-09 23:32:57 DB       TORNADO :: sickbeard.db: SELECT season, episode FROM tv_episodes WHERE indexer = ? and showid = ? and scene_season = ? and scene_episode = ? with args [1, 281700, 1, 1]\r\n2015-03-09 23:32:57 DEBUG    TORNADO :: Converted parsed result The.Odd.Couple.2015.S01E01.720p.HDTV.X264-DIMENSION into The Odd Couple 2015 - S1E1 [GROUP: DIMENSION] [ABD: False] [ANIME: False] [whichReg: ['standard']]\r\n2015-03-09 23:32:57 DEBUG    TORNADO :: Parsed The.Odd.Couple.2015.S01E01.720p.HDTV.X264-DIMENSION into The Odd Couple 2015 - S1E1 [GROUP: DIMENSION] [ABD: False] [ANIME: False] [whichReg: ['standard']]\r\n2015-03-09 23:32:57 DEBUG    TORNADO :: Retrieving episode object for 1x1\r\n2015-03-09 23:32:57 DEBUG    TORNADO :: 281700: An object for episode 1x1 didn't exist in the cache, trying to create it\r\n2015-03-09 23:32:57 DEBUG    TORNADO :: 281700: Loading episode details from DB for episode 1x1\r\n2015-03-09 23:32:57 DB       TORNADO :: sickbeard.db: SELECT * FROM tv_episodes WHERE showid = ? AND season = ? AND episode = ? with args [281700, 1, 1]\r\n2015-03-09 23:32:57 DB       TORNADO :: sickbeard.db: SELECT last_refreshed FROM xem_refresh WHERE indexer = ? and indexer_id = ? with args [1, 281700]\r\n2015-03-09 23:32:57 DEBUG    TORNADO :: Snatch history had a quality in it, using that: HD TV\r\n2015-03-09 23:32:57 DEBUG    TORNADO :: Quality of the episode we're processing: 4\r\n2015-03-09 23:32:57 DEBUG    TORNADO :: Is ep a priority download: True\r\n2015-03-09 23:32:57 DEBUG    TORNADO :: There is no existing file so there's no worries about replacing it\r\n2015-03-09 23:32:57 DEBUG    TORNADO :: This download is marked a priority download so I'm going to replace an existing file if I find one\r\n2015-03-09 23:32:57 DEBUG    TORNADO :: Found release name The.Odd.Couple.2015.S01E01.720p.HDTV.X264-DIMENSION\r\n2015-03-09 23:32:57 DEBUG    TORNADO :: 281700: Not creating SQL queue - record is not dirty\r\n2015-03-09 23:32:57 ERROR    TORNADO :: Uncaught exception POST /home/postprocess/processEpisode (127.0.0.1)\r\nHTTPServerRequest(protocol='http', host='localhost:43728', method='POST', uri='/home/postprocess/processEpisode', version='HTTP/1.1', remote_ip='127.0.0.1', headers={'Content-Length': '102', 'Accept-Language': 'nl,en-US;q=0.7,en;q=0.3', 'Accept-Encoding': 'gzip, deflate', 'Host': 'localhost:43728', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0', 'Connection': 'keep-alive', 'Cookie': 'sickgear-session=\"2|1:0|10:1425939561|16:sickgear-session|60:ZnAwMjFkTGlUZDYzbUszWE56QVpYZHlxWFJ3ZjlFVU9rUkNFZzZ1Tm5jcz0=|abaa902341d4d28f9af81e681db7bdbcd2dd1ce8077eb7424fbe367f5785796a\"; snatched_view2=list; soon_view2=thumbs; suggestions_charts_menu_selected=suggestions; late_view2=list; advanced_toggle_checked=1', 'Content-Type': 'application/x-www-form-urlencoded'})\r\nTraceback (most recent call last):\r\n  File \"C:\\SickGear\\tornado\\web.py\", line 1341, in _execute\r\n    result = yield result\r\n  File \"C:\\SickGear\\tornado\\gen.py\", line 642, in run\r\n    value = future.result()\r\n  File \"C:\\SickGear\\tornado\\concurrent.py\", line 110, in result\r\n    raise_exc_info(self._exc_info)\r\n  File \"C:\\SickGear\\tornado\\gen.py\", line 174, in wrapper\r\n    result = func(*args, **kwargs)\r\n  File \"C:\\SickGear\\sickbeard\\webserve.py\", line 292, in get\r\n    result = method(**kwargss)\r\n  File \"C:\\SickGear\\sickbeard\\webserve.py\", line 1944, in processEpisode\r\n    is_priority=is_priority, failed=failed, type=type)\r\n  File \"C:\\SickGear\\sickbeard\\processTV.py\", line 180, in processDir\r\n    process_result = process_media(path, [video], nzbName, process_method, force, is_priority)\r\n  File \"C:\\SickGear\\sickbeard\\processTV.py\", line 420, in process_media\r\n    process_result = processor.process()\r\n  File \"C:\\SickGear\\sickbeard\\postProcessor.py\", line 920, in process\r\n    myDB.mass_action(sql_l)\r\n  File \"C:\\SickGear\\sickbeard\\db.py\", line 87, in mass_action\r\n    if len(qu) == 1:\r\nTypeError: object of type 'NoneType' has no len()\r\n```"},"comment":{"url":"https://api.github.com/repos/SickGear/SickGear/issues/comments/78023891","html_url":"https://github.com/SickGear/SickGear/issues/257#issuecomment-78023891","issue_url":"https://api.github.com/repos/SickGear/SickGear/issues/257","id":78023891,"user":{"login":"Th3MadHatter","id":7431902,"avatar_url":"https://avatars.githubusercontent.com/u/7431902?v=3","gravatar_id":"","url":"https://api.github.com/users/Th3MadHatter","html_url":"https://github.com/Th3MadHatter","followers_url":"https://api.github.com/users/Th3MadHatter/followers","following_url":"https://api.github.com/users/Th3MadHatter/following{/other_user}","gists_url":"https://api.github.com/users/Th3MadHatter/gists{/gist_id}","starred_url":"https://api.github.com/users/Th3MadHatter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Th3MadHatter/subscriptions","organizations_url":"https://api.github.com/users/Th3MadHatter/orgs","repos_url":"https://api.github.com/users/Th3MadHatter/repos","events_url":"https://api.github.com/users/Th3MadHatter/events{/privacy}","received_events_url":"https://api.github.com/users/Th3MadHatter/received_events","type":"User","site_admin":false},"created_at":"2015-03-10T09:56:01Z","updated_at":"2015-03-10T09:56:01Z","body":"That makes it even worse Jack. Now it doesn't hang anymore but it start relabelling downloaded files as snatched in my db that where previously set to download.... Ok it doesn't hang anymore, I give you that."}}