{"action":"opened","issue":{"url":"https://api.github.com/repos/PennyDreadfulMTG/perf-reports/issues/18810","repository_url":"https://api.github.com/repos/PennyDreadfulMTG/perf-reports","labels_url":"https://api.github.com/repos/PennyDreadfulMTG/perf-reports/issues/18810/labels{/name}","comments_url":"https://api.github.com/repos/PennyDreadfulMTG/perf-reports/issues/18810/comments","events_url":"https://api.github.com/repos/PennyDreadfulMTG/perf-reports/issues/18810/events","html_url":"https://github.com/PennyDreadfulMTG/perf-reports/issues/18810","id":316174657,"number":18810,"title":"500 error at /decks/12519/","user":{"login":"vorpal-buildbot","id":23072004,"avatar_url":"https://avatars2.githubusercontent.com/u/23072004?v=4","gravatar_id":"","url":"https://api.github.com/users/vorpal-buildbot","html_url":"https://github.com/vorpal-buildbot","followers_url":"https://api.github.com/users/vorpal-buildbot/followers","following_url":"https://api.github.com/users/vorpal-buildbot/following{/other_user}","gists_url":"https://api.github.com/users/vorpal-buildbot/gists{/gist_id}","starred_url":"https://api.github.com/users/vorpal-buildbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vorpal-buildbot/subscriptions","organizations_url":"https://api.github.com/users/vorpal-buildbot/orgs","repos_url":"https://api.github.com/users/vorpal-buildbot/repos","events_url":"https://api.github.com/users/vorpal-buildbot/events{/privacy}","received_events_url":"https://api.github.com/users/vorpal-buildbot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-20T08:29:19Z","updated_at":"2018-04-20T08:29:19Z","closed_at":null,"author_association":"NONE","body":" 'Nameless Inversion '\n\nReported on decksite by logged_out\n--------------------------------------------------------------------------------\nRequest Method: GET\nPath: /decks/12519/?\nCookies: {}\nEndpoint: deck\nView Args: {'deck_id': '12519'}\nPerson: logged_out\nReferrer: None\nRequest Data: {}\nHost: pennydreadfulmagic.com\nAccept-Encoding: gzip\nCf-Ipcountry: US\nX-Forwarded-For: 216.244.66.226, 172.68.174.96\nCf-Ray: 40e63dd03e6f8d3b-PDX\nX-Forwarded-Proto: https\nCf-Visitor: {\"scheme\":\"https\"}\nAccept: */*\nUser-Agent: Mozilla/5.0 (compatible; DotBot/1.1; http://www.opensiteexplorer.org/dotbot, help@moz.com)\nAccept-Charset: utf-8;q=0.7,iso-8859-1;q=0.2,*;q=0.1\nCf-Connecting-Ip: 216.244.66.226\nX-Forwarded-Host: pennydreadfulmagic.com\nX-Forwarded-Server: pennydreadfulmagic.com\nConnection: Keep-Alive--------------------------------------------------------------------------------\nKeyError\nStack Trace:\n  File \"/home/discord/.local/lib/python3.6/site-packages/flask/app.py\", line 1997, in __call__\n    return self.wsgi_app(environ, start_response)\n  File \"/home/discord/.local/lib/python3.6/site-packages/flask/app.py\", line 1985, in wsgi_app\n    response = self.handle_exception(e)\n  File \"/home/discord/.local/lib/python3.6/site-packages/flask/app.py\", line 1982, in wsgi_app\n    response = self.full_dispatch_request()\n  File \"/home/discord/.local/lib/python3.6/site-packages/flask/app.py\", line 1614, in full_dispatch_request\n    rv = self.handle_user_exception(e)\n  File \"/home/discord/.local/lib/python3.6/site-packages/flask/app.py\", line 1517, in handle_user_exception\n    reraise(exc_type, exc_value, tb)\n  File \"/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py\", line 33, in reraise\n    raise value\n  File \"/home/discord/.local/lib/python3.6/site-packages/flask/app.py\", line 1612, in full_dispatch_request\n    rv = self.dispatch_request()\n  File \"/home/discord/.local/lib/python3.6/site-packages/flask/app.py\", line 1598, in dispatch_request\n    return self.view_functions[rule.endpoint](**req.view_args)\n  File \"./decksite/auth.py\", line 118, in decorated_function\n    return f(*args, **kwargs)\n  File \"./decksite/main.py\", line 61, in deck\n    view = Deck(d, auth.person_id(), auth.discord_id())\n  File \"./decksite/views/deck.py\", line 21, in __init__\n    self.decks = [sd for sd in deck.get_similar_decks(d) if not sd.is_in_current_run()]\n  File \"./decksite/data/deck.py\", line 327, in get_similar_decks\n    decks = load_decks('d.id IN (SELECT deck_id FROM deck_card WHERE card IN ({cards_escaped}))'.format(cards_escaped=cards_escaped))\n  File \"./decksite/data/deck.py\", line 165, in load_decks\n    load_cards(decks)\n  File \"./decksite/data/deck.py\", line 367, in load_cards\n    d[location].append({'n': row['n'], 'name': name, 'card': cards[name]})\n\n"}}
{"actor":{"display_login":"vorpal-buildbot"}}