{"action":"opened","issue":{"url":"https://api.github.com/repos/PennyDreadfulMTG/perf-reports/issues/20069","repository_url":"https://api.github.com/repos/PennyDreadfulMTG/perf-reports","labels_url":"https://api.github.com/repos/PennyDreadfulMTG/perf-reports/issues/20069/labels{/name}","comments_url":"https://api.github.com/repos/PennyDreadfulMTG/perf-reports/issues/20069/comments","events_url":"https://api.github.com/repos/PennyDreadfulMTG/perf-reports/issues/20069/events","html_url":"https://github.com/PennyDreadfulMTG/perf-reports/issues/20069","id":319163221,"number":20069,"title":"500 error at /error/HTTP_BAD_GATEWAY.html.var","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-05-01T10:13:03Z","updated_at":"2018-05-01T10:13:03Z","closed_at":null,"author_association":"NONE","body":" Failed to initialize database in `cards`\n\nReported on decksite by 325744452750802944\n--------------------------------------------------------------------------------\nRequest Method: GET\nPath: /error/HTTP_BAD_GATEWAY.html.var?\nCookies: {'__cfduid': 'd6abf7ce9ee44afb4dfcc0b363f3aaba61516811169', 'hide_intro': 'True', 'deck_id': '13937', 'session': '.eJx1UMtuwjAQ_Jc9R5VxnBc3IihFKmoLohVUVWTFmwdNbLCd8hL_XoPUcqh63NmZ2dk5ARdtLaFf8MagB6I2udIiqwX0wadBxBgLaBSQmNCEMfDg_02jyhJFtkFtlLw69OKe70FrS5V1BrXkLTqx4W0dGydQvLMVzYzl9oLPtmvyMjnQ_Tx9mB8r_3UqtfpaDYPHZDJY3vhWfaJLfAKe52jMzwwozHSVNm_rnWyxMMw87wb3w2S3FGqS9pwe95tao8m4ddECGoQ-iVl45ydJENL4tr_0ERIWE-KBxsJB1e-RKOfLxSyKhttcjpg8buloMW4qvudq_LRyR1x_G_fNuysKpa2Lg8PKrm6EgQ8PrjaZPVwokCLXqOHswZ_OLNclupiya5rzN4i2hfo.DcnH8Q.vzpjDH0tQlKsf3PVfy-T1ugy_Fs', 'cf_ob_info': '502:4141790069fa75e8:ARN', 'cf_use_ob': '0'}\nEndpoint: None\nView Args: None\nPerson: 325744452750802944\nReferrer: https://pennydreadfulmagic.com/cards/\nRequest Data: {}\nHost: pennydreadfulmagic.com\nAccept-Encoding: gzip\nCf-Ipcountry: SE\nX-Forwarded-For: 31.208.81.109, 162.158.183.25\nCf-Ray: 414179217fbe75e8-ARN\nX-Forwarded-Proto: https\nCf-Visitor: {\"scheme\":\"https\"}\nCache-Control: max-age=0\nUpgrade-Insecure-Requests: 1\nUser-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\nReferer: https://pennydreadfulmagic.com/cards/\nAccept-Language: sv-SE,sv;q=0.9,en-US;q=0.8,en;q=0.7\nCookie: __cfduid=d6abf7ce9ee44afb4dfcc0b363f3aaba61516811169; hide_intro=True; deck_id=13937; session=.eJx1UMtuwjAQ_Jc9R5VxnBc3IihFKmoLohVUVWTFmwdNbLCd8hL_XoPUcqh63NmZ2dk5ARdtLaFf8MagB6I2udIiqwX0wadBxBgLaBSQmNCEMfDg_02jyhJFtkFtlLw69OKe70FrS5V1BrXkLTqx4W0dGydQvLMVzYzl9oLPtmvyMjnQ_Tx9mB8r_3UqtfpaDYPHZDJY3vhWfaJLfAKe52jMzwwozHSVNm_rnWyxMMw87wb3w2S3FGqS9pwe95tao8m4ddECGoQ-iVl45ydJENL4tr_0ERIWE-KBxsJB1e-RKOfLxSyKhttcjpg8buloMW4qvudq_LRyR1x_G_fNuysKpa2Lg8PKrm6EgQ8PrjaZPVwokCLXqOHswZ_OLNclupiya5rzN4i2hfo.DcnH8Q.vzpjDH0tQlKsf3PVfy-T1ugy_Fs; cf_ob_info=502:4141790069fa75e8:ARN; cf_use_ob=0\nCf-Connecting-Ip: 31.208.81.109\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":"vorpal-buildbot"}}