{"action":"opened","issue":{"url":"https://api.github.com/repos/PennyDreadfulMTG/perf-reports/issues/15463","repository_url":"https://api.github.com/repos/PennyDreadfulMTG/perf-reports","labels_url":"https://api.github.com/repos/PennyDreadfulMTG/perf-reports/issues/15463/labels{/name}","comments_url":"https://api.github.com/repos/PennyDreadfulMTG/perf-reports/issues/15463/comments","events_url":"https://api.github.com/repos/PennyDreadfulMTG/perf-reports/issues/15463/events","html_url":"https://github.com/PennyDreadfulMTG/perf-reports/issues/15463","id":310706641,"number":15463,"title":"500 error at /","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-03T06:13:29Z","updated_at":"2018-04-03T06:13:29Z","closed_at":null,"author_association":"NONE","body":" Failed to initialize database in `decksite`\n\nReported on decksite by logged_out\n--------------------------------------------------------------------------------\nRequest Method: GET\nPath: /?\nCookies: {'__cfduid': 'd6530cfd707030736a872d4e01b03e5001519006738', '_ga': 'GA1.2.50372643.1519006743', '_gid': 'GA1.2.592690542.1522473980', 'deck_id': '12598'}\nEndpoint: home\nView Args: {}\nPerson: logged_out\nReferrer: None\nRequest Data: {}\nHost: pennydreadfulmagic.com\nAccept-Encoding: gzip\nCf-Ipcountry: BR\nX-Forwarded-For: 201.50.116.13, 172.68.27.200\nCf-Ray: 405963b6ee6e4c4e-GRU\nX-Forwarded-Proto: https\nCf-Visitor: {\"scheme\":\"https\"}\nUpgrade-Insecure-Requests: 1\nUser-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\nAccept-Language: pt-BR,pt;q=0.9,en-US;q=0.8,en;q=0.7\nCookie: __cfduid=d6530cfd707030736a872d4e01b03e5001519006738; _ga=GA1.2.50372643.1519006743; _gid=GA1.2.592690542.1522473980; deck_id=12598\nCf-Connecting-Ip: 201.50.116.13\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 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/cache.py\", line 65, in decorated_function\n    response = make_response(f(*args, **kwargs))\n  File \"./decksite/main.py\", line 44, in home\n    view = Home(ns.load_news(max_items=10), ds.load_decks(limit='LIMIT 50'), cs.played_cards())\n  File \"./decksite/data/news.py\", line 26, in load_news\n    results = [Container(r) for r in db().execute(sql, [start_date, end_date, max_items])]\n  File \"./decksite/database.py\", line 16, in db\n    ctx.database = get_database(configuration.get('decksite_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":"vorpal-buildbot"}}