{"action":"closed","issue":{"url":"https://api.github.com/repos/PennyDreadfulMTG/perf-reports/issues/16269","repository_url":"https://api.github.com/repos/PennyDreadfulMTG/perf-reports","labels_url":"https://api.github.com/repos/PennyDreadfulMTG/perf-reports/issues/16269/labels{/name}","comments_url":"https://api.github.com/repos/PennyDreadfulMTG/perf-reports/issues/16269/comments","events_url":"https://api.github.com/repos/PennyDreadfulMTG/perf-reports/issues/16269/events","html_url":"https://github.com/PennyDreadfulMTG/perf-reports/issues/16269","id":311045194,"node_id":"MDU6SXNzdWUzMTEwNDUxOTQ=","number":16269,"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-04-04T00:36:23Z","updated_at":"2018-07-31T03:15:11Z","closed_at":"2018-07-31T03:15:11Z","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: None\nRequest Data: {}\nHost: www.pennydreadfulmagic.com\nAccept-Encoding: gzip\nCf-Ipcountry: IE\nX-Forwarded-For: 34.243.244.173, 162.158.38.66\nCf-Ray: 405fb3464b62a731-DUB\nX-Forwarded-Proto: https\nCf-Visitor: {\"scheme\":\"https\"}\nUser-Agent: Mozilla/5.0 (Linux; Android 5.1.1; Nexus 5 Build/LMY48B; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/43.0.2357.65 Mobile Safari/537.36\nCf-Connecting-Ip: 34.243.244.173\nX-Forwarded-Host: www.pennydreadfulmagic.com\nX-Forwarded-Server: pennydreadfulmagic.com\nConnection: Keep-Alive\nContent-Length: 0--------------------------------------------------------------------------------\nDatabaseException\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 1512, 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 1471, in handle_http_exception\n    return handler(e)\n  File \"./decksite/main.py\", line 492, 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 51, in load_cards\n    rs = db().execute(sql)\n  File \"./magic/database.py\", line 20, in db\n    context.magic_database = get_database(configuration.get('magic_database'))\n  File \"./shared/database.py\", line 7, in get_database\n    return database_mysql.MysqlDatabase(location)\n  File \"./shared/database_mysql.py\", line 23, in __init__\n    self.connect()\n  File \"./shared/database_mysql.py\", line 37, in connect\n    raise DatabaseException('Failed to initialize database in `{location}`'.format(location=self.name))\n\n"}}
{"actor":{"display_login":"stale"}}