{"action":"created","issue":{"url":"https://api.github.com/repos/theotherp/nzbhydra/issues/116","labels_url":"https://api.github.com/repos/theotherp/nzbhydra/issues/116/labels{/name}","comments_url":"https://api.github.com/repos/theotherp/nzbhydra/issues/116/comments","events_url":"https://api.github.com/repos/theotherp/nzbhydra/issues/116/events","html_url":"https://github.com/theotherp/nzbhydra/issues/116","id":129061812,"number":116,"title":"Unknown literal error in parsing GUID when trying to download NZB","user":{"login":"judhat2","id":3536802,"avatar_url":"https://avatars.githubusercontent.com/u/3536802?v=3","gravatar_id":"","url":"https://api.github.com/users/judhat2","html_url":"https://github.com/judhat2","followers_url":"https://api.github.com/users/judhat2/followers","following_url":"https://api.github.com/users/judhat2/following{/other_user}","gists_url":"https://api.github.com/users/judhat2/gists{/gist_id}","starred_url":"https://api.github.com/users/judhat2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/judhat2/subscriptions","organizations_url":"https://api.github.com/users/judhat2/orgs","repos_url":"https://api.github.com/users/judhat2/repos","events_url":"https://api.github.com/users/judhat2/events{/privacy}","received_events_url":"https://api.github.com/users/judhat2/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/theotherp/nzbhydra/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-01-27T07:43:10Z","updated_at":"2016-01-27T20:44:47Z","closed_at":null,"body":"I got this error today when I tried to send an nzb to nzbget from a Sonarr manual search.\r\n\r\n```\r\n2016-01-27 16:34:45,715 - DEBUG - web - http://localhost:5075/api?apikey=<APIKEY>&t=get&id=(guid:'http:%2F%2Flocalhost:5075%2Fapi%3Fapikey=<APIKEY>%26t=get%26id=(guid:!'http:%2F%2Flocalhost:5075%2Fapi%3Fapikey=<APIKEY>%2526t=get%2526id=(guid:!!!'634c0a68d89548be7778e8eea43a949e!!!',indexer:DogNZB,searchid:646,title:Duck.Dynasty.S09E02.720p.HDTV.x264-AAF)!',indexer:DogNZB,searchid:646,title:Duck.Dynasty.S09E02.720p.HDTV.x264-AAF)',indexer:DogNZB,searchid:646,title:Duck.Dynasty.S09E02.720p.HDTV.x264-AAF)\r\n2016-01-27 16:34:45,716 - DEBUG - web - API request: {u'minsize': None, u'attrs': None, u'query': None, u'rid': None, u'id': u\"(guid:'http://localhost:5075/api?apikey=<APIKEY>&t=get&id=(guid:!'http://localhost:5075/api?apikey=<APIKEY>%26t=get%26id=(guid:!!!'634c0a68d89548be7778e8eea43a949e!!!',indexer:DogNZB,searchid:646,title:Duck.Dynasty.S09E02.720p.HDTV.x264-AAF)!',indexer:DogNZB,searchid:646,title:Duck.Dynasty.S09E02.720p.HDTV.x264-AAF)',indexer:DogNZB,searchid:646,title:Duck.Dynasty.S09E02.720p.HDTV.x264-AAF)\", u'dbsearchid': None, u'category': None, u'group': None, u'title': None, u'imdbid': None, u'maxage': None, u'indexer': None, u'ep': None, u'maxsize': None, u'input': None, u'indexers': None, u'extended': None, u'offsets': None, u'season': None, 'apikey':<APIKEY>', u'offset': 0, u'genre': None, u'minage': None, u'episode': None, u'tvdbid': None, u'o': None, u'cat': None, u'q': None, u'del': None, u't': u'get', u'limit': 100}\r\n2016-01-27 16:34:45,716 - DEBUG - web - Query ID was not properly parsed. Converted it to (guid:!'http://localhost:5075/api?apikey=<APIKEY>&t=get&id=(guid:!!!'634c0a68d89548be7778e8eea43a949e!!!',indexer:DogNZB,searchid:646,title:Duck.Dynasty.S09E02.720p.HDTV.x264-AAF)!',indexer:DogNZB,searchid:646,title:Duck.Dynasty.S09E02.720p.HDTV.x264-AAF)',indexer:DogNZB,searchid:646,title:Duck.Dynasty.S09E02.720p.HDTV.x264-AAF)\r\n2016-01-27 16:34:45,717 - ERROR - web - unknown literal: \"!'\"\r\nTraceback (most recent call last):\r\n  File \"/nzbhydra/libs/flask/app.py\", line 1475, in full_dispatch_request\r\n    rv = self.dispatch_request()\r\n  File \"/nzbhydra/libs/flask/app.py\", line 1461, in dispatch_request\r\n    return self.view_functions[rule.endpoint](**req.view_args)\r\n  File \"/nzbhydra/libs/webargs/core.py\", line 368, in wrapper\r\n    return func(*new_args, **kwargs)\r\n  File \"/nzbhydra/nzbhydra/web.py\", line 311, in api\r\n    args = rison.loads(args[\"id\"])\r\n  File \"/nzbhydra/libs/rison/decoder.py\", line 225, in loads\r\n    return Parser().parse(s, format=format)\r\n  File \"/nzbhydra/libs/rison/decoder.py\", line 34, in parse\r\n    value = self.read_value()\r\n  File \"/nzbhydra/libs/rison/decoder.py\", line 45, in read_value\r\n    return self.parse_open_paren()\r\n  File \"/nzbhydra/libs/rison/decoder.py\", line 120, in parse_open_paren\r\n    v = self.read_value()\r\n  File \"/nzbhydra/libs/rison/decoder.py\", line 43, in read_value\r\n    return self.parse_bang()\r\n  File \"/nzbhydra/libs/rison/decoder.py\", line 94, in parse_bang\r\n    raise ParserException('unknown literal: \"!' + c + '\"')\r\nParserException: unknown literal: \"!'\"\r\n```"},"comment":{"url":"https://api.github.com/repos/theotherp/nzbhydra/issues/comments/175844983","html_url":"https://github.com/theotherp/nzbhydra/issues/116#issuecomment-175844983","issue_url":"https://api.github.com/repos/theotherp/nzbhydra/issues/116","id":175844983,"user":{"login":"theotherp","id":14368889,"avatar_url":"https://avatars.githubusercontent.com/u/14368889?v=3","gravatar_id":"","url":"https://api.github.com/users/theotherp","html_url":"https://github.com/theotherp","followers_url":"https://api.github.com/users/theotherp/followers","following_url":"https://api.github.com/users/theotherp/following{/other_user}","gists_url":"https://api.github.com/users/theotherp/gists{/gist_id}","starred_url":"https://api.github.com/users/theotherp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theotherp/subscriptions","organizations_url":"https://api.github.com/users/theotherp/orgs","repos_url":"https://api.github.com/users/theotherp/repos","events_url":"https://api.github.com/users/theotherp/events{/privacy}","received_events_url":"https://api.github.com/users/theotherp/received_events","type":"User","site_admin":false},"created_at":"2016-01-27T20:44:47Z","updated_at":"2016-01-27T20:44:47Z","body":"No, I don't think so. I've changed the implementation in the meantime and for me it works with either setting when accessing hydra from sonarr."}}