{"action":"closed","issue":{"url":"https://api.github.com/repos/PennyDreadfulMTG/perf-reports/issues/16602","repository_url":"https://api.github.com/repos/PennyDreadfulMTG/perf-reports","labels_url":"https://api.github.com/repos/PennyDreadfulMTG/perf-reports/issues/16602/labels{/name}","comments_url":"https://api.github.com/repos/PennyDreadfulMTG/perf-reports/issues/16602/comments","events_url":"https://api.github.com/repos/PennyDreadfulMTG/perf-reports/issues/16602/events","html_url":"https://github.com/PennyDreadfulMTG/perf-reports/issues/16602","id":311053023,"node_id":"MDU6SXNzdWUzMTEwNTMwMjM=","number":16602,"title":"500 error at /report/","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-04T01:24:48Z","updated_at":"2018-07-31T16:15:17Z","closed_at":"2018-07-31T16:15:17Z","author_association":"NONE","body":" Failed to initialize database in `decksite`\n\nReported on decksite by logged_out\n--------------------------------------------------------------------------------\nRequest Method: GET\nPath: /report/?\nCookies: {}\nEndpoint: report\nView Args: {}\nPerson: logged_out\nReferrer: http://pennydreadfulmagic.com/report/\nRequest Data: {}\nHost: pennydreadfulmagic.com\nAccept-Encoding: gzip\nCf-Ipcountry: US\nX-Forwarded-For: 63.143.42.243, 172.69.69.30\nCf-Ray: 405ffa38fe3958c1-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: http://pennydreadfulmagic.com/report/\nCf-Connecting-Ip: 63.143.42.243\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/auth.py\", line 113, in decorated_function\n    return f(*args, **kwargs)\n  File \"./decksite/main.py\", line 281, in report\n    form = ReportForm(request.form, request.cookies.get('deck_id', ''), auth.logged_person())\n  File \"./decksite/league.py\", line 96, in __init__\n    decks = active_decks()\n  File \"./decksite/league.py\", line 184, in active_decks\n    decks = deck.load_decks(where)\n  File \"./decksite/data/deck.py\", line 146, in load_decks\n    db().execute('SET group_concat_max_len=100000')\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":"stale"}}