{"action":"created","issue":{"url":"https://api.github.com/repos/PennyDreadfulMTG/perf-reports/issues/42353","repository_url":"https://api.github.com/repos/PennyDreadfulMTG/perf-reports","labels_url":"https://api.github.com/repos/PennyDreadfulMTG/perf-reports/issues/42353/labels{/name}","comments_url":"https://api.github.com/repos/PennyDreadfulMTG/perf-reports/issues/42353/comments","events_url":"https://api.github.com/repos/PennyDreadfulMTG/perf-reports/issues/42353/events","html_url":"https://github.com/PennyDreadfulMTG/perf-reports/issues/42353","id":388850479,"node_id":"MDU6SXNzdWUzODg4NTA0Nzk=","number":42353,"title":"500 error at /people/mrasian/","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":958792190,"node_id":"MDU6TGFiZWw5NTg3OTIxOTA=","url":"https://api.github.com/repos/PennyDreadfulMTG/perf-reports/labels/DatabaseException","name":"DatabaseException","color":"b60205","default":false},{"id":997202632,"node_id":"MDU6TGFiZWw5OTcyMDI2MzI=","url":"https://api.github.com/repos/PennyDreadfulMTG/perf-reports/labels/Search%20Engine","name":"Search Engine","color":"0052cc","default":false},{"id":958792189,"node_id":"MDU6TGFiZWw5NTg3OTIxODk=","url":"https://api.github.com/repos/PennyDreadfulMTG/perf-reports/labels/decksite","name":"decksite","color":"bfd4f2","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-07T23:32:25Z","updated_at":"2018-12-07T23:33:19Z","closed_at":null,"author_association":"NONE","body":" Failed to initialize database in `decksite`\n\nReported on decksite by logged_out\n\n```\n            --------------------------------------------------------------------------------\n            Request Method: GET\n            Path: /people/mrasian/?\n            Cookies: {}\n            Endpoint: person\n            View Args: {'person_id': 'mrasian'}\n            Person: logged_out\n            Referrer: None\n            Request Data: {}\nHost: pennydreadfulmagic.com\nAccept-Encoding: gzip\nCf-Ipcountry: US\nX-Forwarded-For: 207.46.13.205, 108.162.245.222\nCf-Ray: 485aca937f3b79cd-SEA\nX-Forwarded-Proto: https\nCf-Visitor: {\"scheme\":\"https\"}\nCache-Control: no-cache\nPragma: no-cache\nAccept: */*\nFrom: bingbot(at)microsoft.com\nUser-Agent: Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)\nCf-Connecting-Ip: 207.46.13.205\nX-Forwarded-Host: pennydreadfulmagic.com\nX-Forwarded-Server: pennydreadfulmagic.com\nConnection: Keep-Alive\n```\n--------------------------------------------------------------------------------\nDatabaseException\nFailed to initialize database in `decksite`\nStack Trace:\n```\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 1718, 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 35, in reraise\n    raise value\n  File \"/home/discord/.local/lib/python3.6/site-packages/flask/app.py\", line 1813, in full_dispatch_request\n    rv = self.dispatch_request()\n  File \"/home/discord/.local/lib/python3.6/site-packages/flask/app.py\", line 1799, in dispatch_request\n    return self.view_functions[rule.endpoint](**req.view_args)\n  File \"./decksite/cache.py\", line 79, in decorated_function\n    response = make_response(f(*args, **kwargs))\n  File \"./decksite/main.py\", line 86, in person\n    p = ps.load_person_by_id_or_mtgo_username(person_id, season_id=get_season_id())\n  File \"./decksite/data/person.py\", line 37, in load_person_by_id_or_mtgo_username\n    return load_person_by_mtgo_username(person, season_id)\n  File \"./decksite/data/person.py\", line 25, in load_person_by_mtgo_username\n    return load_person('p.mtgo_username = {username}'.format(username=sqlescape(username, force_string=True)), season_id=season_id)\n  File \"./decksite/data/person.py\", line 80, in load_person\n    person = guarantee.exactly_one(load_people(where, season_id=season_id))\n  File \"./decksite/data/person.py\", line 138, in load_people\n    people = [Person(r) for r in db().select(sql)]\n  File \"./decksite/database.py\", line 19, in db\n    ctx.database = get_database(configuration.get_str('decksite_database'))\n  File \"./shared/database.py\", line 159, in get_database\n    return Database(location)\n  File \"./shared/database.py\", line 24, in __init__\n    self.connect()\n  File \"./shared/database.py\", line 38, in connect\n    raise DatabaseException('Failed to initialize database in `{location}`'.format(location=self.name))\n\n```\nException_hash: 1e0429cc56e1a1cdc3451aabfc744da1034c99f6\n"},"comment":{"url":"https://api.github.com/repos/PennyDreadfulMTG/perf-reports/issues/comments/445397669","html_url":"https://github.com/PennyDreadfulMTG/perf-reports/issues/42353#issuecomment-445397669","issue_url":"https://api.github.com/repos/PennyDreadfulMTG/perf-reports/issues/42353","id":445397669,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NTM5NzY2OQ==","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},"created_at":"2018-12-07T23:33:19Z","updated_at":"2018-12-07T23:33:19Z","author_association":"NONE","body":"500 error at /seasons/9/people/madorjan/\n\n Failed to initialize database in `decksite`\n\nReported on decksite by logged_out\n\n```\n            --------------------------------------------------------------------------------\n            Request Method: GET\n            Path: /seasons/9/people/madorjan/?locale=ja\n            Cookies: {}\n            Endpoint: seasons.person\n            View Args: {'person_id': 'madorjan'}\n            Person: logged_out\n            Referrer: None\n            Request Data: {}\nHost: pennydreadfulmagic.com\nAccept-Encoding: gzip\nCf-Ipcountry: US\nX-Forwarded-For: 46.229.168.134, 162.158.78.108\nCf-Ray: 485acbe6b96ac17c-IAD\nX-Forwarded-Proto: https\nCf-Visitor: {\"scheme\":\"https\"}\nAccept: text/html\nUser-Agent: Mozilla/5.0 (compatible; SemrushBot/2~bl; +http://www.semrush.com/bot.html)\nCf-Connecting-Ip: 46.229.168.134\nX-Forwarded-Host: pennydreadfulmagic.com\nX-Forwarded-Server: pennydreadfulmagic.com\nConnection: Keep-Alive\n```\n--------------------------------------------------------------------------------\nDatabaseException\nFailed to initialize database in `decksite`\nStack Trace:\n```\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 1718, 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 35, in reraise\n    raise value\n  File \"/home/discord/.local/lib/python3.6/site-packages/flask/app.py\", line 1813, in full_dispatch_request\n    rv = self.dispatch_request()\n  File \"/home/discord/.local/lib/python3.6/site-packages/flask/app.py\", line 1799, in dispatch_request\n    return self.view_functions[rule.endpoint](**req.view_args)\n  File \"./decksite/cache.py\", line 79, in decorated_function\n    response = make_response(f(*args, **kwargs))\n  File \"./decksite/main.py\", line 86, in person\n    p = ps.load_person_by_id_or_mtgo_username(person_id, season_id=get_season_id())\n  File \"./decksite/data/person.py\", line 37, in load_person_by_id_or_mtgo_username\n    return load_person_by_mtgo_username(person, season_id)\n  File \"./decksite/data/person.py\", line 25, in load_person_by_mtgo_username\n    return load_person('p.mtgo_username = {username}'.format(username=sqlescape(username, force_string=True)), season_id=season_id)\n  File \"./decksite/data/person.py\", line 80, in load_person\n    person = guarantee.exactly_one(load_people(where, season_id=season_id))\n  File \"./decksite/data/person.py\", line 138, in load_people\n    people = [Person(r) for r in db().select(sql)]\n  File \"./decksite/database.py\", line 19, in db\n    ctx.database = get_database(configuration.get_str('decksite_database'))\n  File \"./shared/database.py\", line 159, in get_database\n    return Database(location)\n  File \"./shared/database.py\", line 24, in __init__\n    self.connect()\n  File \"./shared/database.py\", line 38, in connect\n    raise DatabaseException('Failed to initialize database in `{location}`'.format(location=self.name))\n\n```\nException_hash: 1e0429cc56e1a1cdc3451aabfc744da1034c99f6\n\n\nLabels: decksite; DatabaseException"}}
{"actor":{"display_login":"vorpal-buildbot"}}