{"action":"closed","issue":{"url":"https://api.github.com/repos/PennyDreadfulMTG/perf-reports/issues/19990","repository_url":"https://api.github.com/repos/PennyDreadfulMTG/perf-reports","labels_url":"https://api.github.com/repos/PennyDreadfulMTG/perf-reports/issues/19990/labels{/name}","comments_url":"https://api.github.com/repos/PennyDreadfulMTG/perf-reports/issues/19990/comments","events_url":"https://api.github.com/repos/PennyDreadfulMTG/perf-reports/issues/19990/events","html_url":"https://github.com/PennyDreadfulMTG/perf-reports/issues/19990","id":319162309,"node_id":"MDU6SXNzdWUzMTkxNjIzMDk=","number":19990,"title":"500 error at /error/HTTP_BAD_GATEWAY.html.var","user":{"login":"vorpal-buildbot","id":23072004,"node_id":"MDQ6VXNlcjIzMDcyMDA0","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":[{"id":763867617,"node_id":"MDU6TGFiZWw3NjM4Njc2MTc=","url":"https://api.github.com/repos/PennyDreadfulMTG/perf-reports/labels/wontfix","name":"wontfix","color":"ffffff","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-01T10:08:12Z","updated_at":"2018-07-07T13:04:34Z","closed_at":"2018-07-07T13:04:34Z","author_association":"NONE","body":" Failed to initialize database in `cards`\n\nReported on decksite by logged_out\n--------------------------------------------------------------------------------\nRequest Method: GET\nPath: /error/HTTP_BAD_GATEWAY.html.var?\nCookies: {}\nEndpoint: None\nView Args: None\nPerson: logged_out\nReferrer: https://pennydreadfulmagic.com/league/current/\nRequest Data: {}\nHost: pennydreadfulmagic.com\nAccept-Encoding: gzip\nCf-Ipcountry: US\nX-Forwarded-For: 63.143.42.253, 108.162.221.221\nCf-Ray: 41417208eea1201e-DFW\nX-Forwarded-Proto: https\nCf-Visitor: {\"scheme\":\"https\"}\nUser-Agent: Mozilla/5.0+(compatible; UptimeRobot/2.0; http://www.uptimerobot.com/)\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\nAccept-Language: en-US,en;q=0.8\nAccept-Charset: ISO-8859-1,UTF-8;q=0.7,*;q=0.7\nCache-Control: no-cache\nReferer: https://pennydreadfulmagic.com/league/current/\nCf-Connecting-Ip: 63.143.42.253\nX-Forwarded-Host: pennydreadfulmagic.com\nX-Forwarded-Server: pennydreadfulmagic.com\nConnection: Keep-Alive--------------------------------------------------------------------------------\nDatabaseException\nStack Trace:\n  File \"/home/discord/.local/lib/python3.6/site-packages/flask/app.py\", line 2309, in __call__\n    return self.wsgi_app(environ, start_response)\n  File \"/home/discord/.local/lib/python3.6/site-packages/flask/app.py\", line 2295, in wsgi_app\n    response = self.handle_exception(e)\n  File \"/home/discord/.local/lib/python3.6/site-packages/flask/app.py\", line 2292, in wsgi_app\n    response = self.full_dispatch_request()\n  File \"/home/discord/.local/lib/python3.6/site-packages/flask/app.py\", line 1815, 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 1713, in handle_user_exception\n    return self.handle_http_exception(e)\n  File \"/home/discord/.local/lib/python3.6/site-packages/flask/app.py\", line 1644, in handle_http_exception\n    return handler(e)\n  File \"./decksite/main.py\", line 413, in not_found\n    view = NotFound(e)\n  File \"./decksite/views/not_found.py\", line 12, in __init__\n    self.card = random.choice(oracle.load_cards(where=\"c.name LIKE '%%Lost%%'\"))\n  File \"./magic/oracle.py\", line 44, in load_cards\n    rs = db().execute(sql)\n  File \"./magic/database.py\", line 22, in db\n    context.magic_database = get_database(configuration.get_str('magic_database'))\n  File \"./shared/database.py\", line 108, in get_database\n    return Database(location)\n  File \"./shared/database.py\", line 20, in __init__\n    self.connect()\n  File \"./shared/database.py\", line 34, in connect\n    raise DatabaseException('Failed to initialize database in `{location}`'.format(location=self.name))\n\n"}}
{"actor":{"display_login":"stale"}}