{"action":"closed","issue":{"url":"https://api.github.com/repos/PennyDreadfulMTG/perf-reports/issues/15638","repository_url":"https://api.github.com/repos/PennyDreadfulMTG/perf-reports","labels_url":"https://api.github.com/repos/PennyDreadfulMTG/perf-reports/issues/15638/labels{/name}","comments_url":"https://api.github.com/repos/PennyDreadfulMTG/perf-reports/issues/15638/comments","events_url":"https://api.github.com/repos/PennyDreadfulMTG/perf-reports/issues/15638/events","html_url":"https://github.com/PennyDreadfulMTG/perf-reports/issues/15638","id":311028414,"node_id":"MDU6SXNzdWUzMTEwMjg0MTQ=","number":15638,"title":"500 error at /people/1210/","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-03T23:04:45Z","updated_at":"2018-07-30T03:53:35Z","closed_at":"2018-07-30T03:53:35Z","author_association":"NONE","body":" Failed to initialize database in `decksite`\n\nReported on decksite by logged_out\n--------------------------------------------------------------------------------\nRequest Method: GET\nPath: /people/1210/?\nCookies: {}\nEndpoint: person\nView Args: {'person_id': '1210'}\nPerson: logged_out\nReferrer: https://pennydreadfulmagic.com/people/1210\nRequest Data: {}\nHost: pennydreadfulmagic.com\nAccept-Encoding: gzip\nCf-Ipcountry: US\nX-Forwarded-For: 138.197.72.0, 173.245.52.183\nCf-Ray: 405f2d0f5cac470a-EWR\nX-Forwarded-Proto: https\nCf-Visitor: {\"scheme\":\"https\"}\nReferer: https://pennydreadfulmagic.com/people/1210\nUser-Agent: Go-http-client/2.0\nCf-Connecting-Ip: 138.197.72.0\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 83, in person\n    p = ps.load_person(person_id)\n  File \"./decksite/data/person.py\", line 22, in load_person\n    return guarantee.exactly_one(load_people('p.id = {person_id} OR p.mtgo_username = {username}'.format(person_id=person_id, username=username)))\n  File \"./decksite/data/person.py\", line 50, in load_people\n    people = [Person(r) for r in db().execute(sql, [int(rotation.last_rotation().timestamp())])]\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"}}