Closed vorpal-buildbot closed 5 years ago
500 error at /people/2022/
Failed to initialize database in decksite
Reported on decksite by logged_out
--------------------------------------------------------------------------------
Request Method: GET
Path: /people/2022/?
Cookies: {}
Endpoint: person
View Args: {'person_id': '2022'}
Person: logged_out
Referrer: None
Request Data: {}
Host: pennydreadfulmagic.com
Accept-Encoding: gzip
Cf-Ipcountry: US
X-Forwarded-For: 5.255.250.32, 172.68.245.147
Cf-Ray: 485acc41081c902f-DME
X-Forwarded-Proto: https
Cf-Visitor: {"scheme":"https"}
User-Agent: Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots)
From: support@search.yandex.ru
Accept: */*
Accept-Language: en, *;q=0.01
Cf-Connecting-Ip: 5.255.250.32
X-Forwarded-Host: pennydreadfulmagic.com
X-Forwarded-Server: pennydreadfulmagic.com
Connection: Keep-Alive
DatabaseException
Failed to initialize database in decksite
Stack Trace:
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__
return self.wsgi_app(environ, start_response)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app
response = self.handle_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "./decksite/cache.py", line 79, in decorated_function
response = make_response(f(*args, **kwargs))
File "./decksite/main.py", line 86, in person
p = ps.load_person_by_id_or_mtgo_username(person_id, season_id=get_season_id())
File "./decksite/data/person.py", line 34, in load_person_by_id_or_mtgo_username
return load_person_by_id(int(person), season_id)
File "./decksite/data/person.py", line 22, in load_person_by_id
return load_person(f'p.id = {person_id}', season_id=season_id)
File "./decksite/data/person.py", line 80, in load_person
person = guarantee.exactly_one(load_people(where, season_id=season_id))
File "./decksite/data/person.py", line 138, in load_people
people = [Person(r) for r in db().select(sql)]
File "./decksite/database.py", line 19, in db
ctx.database = get_database(configuration.get_str('decksite_database'))
File "./shared/database.py", line 159, in get_database
return Database(location)
File "./shared/database.py", line 24, in __init__
self.connect()
File "./shared/database.py", line 38, in connect
raise DatabaseException('Failed to initialize database in `{location}`'.format(location=self.name))
Exception_hash: 3d40c56c3b172fc174ba7985e651e2b0ffe15ea6
Labels: Search Engine; decksite; DatabaseException
500 error at /people/2022/
Failed to initialize database in decksite
Reported on decksite by logged_out
--------------------------------------------------------------------------------
Request Method: GET
Path: /people/2022/?
Cookies: {}
Endpoint: person
View Args: {'person_id': '2022'}
Person: logged_out
Referrer: None
Request Data: {}
Host: pennydreadfulmagic.com
Accept-Encoding: gzip
Cf-Ipcountry: RU
X-Forwarded-For: 93.158.161.112, 172.68.245.147
Cf-Ray: 485acc4978378fe1-DME
X-Forwarded-Proto: https
Cf-Visitor: {"scheme":"https"}
User-Agent: Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots)
From: support@search.yandex.ru
Accept: */*
Accept-Language: en, *;q=0.01
Cf-Connecting-Ip: 93.158.161.112
X-Forwarded-Host: pennydreadfulmagic.com
X-Forwarded-Server: pennydreadfulmagic.com
Connection: Keep-Alive
DatabaseException
Failed to initialize database in decksite
Stack Trace:
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__
return self.wsgi_app(environ, start_response)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app
response = self.handle_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "./decksite/cache.py", line 79, in decorated_function
response = make_response(f(*args, **kwargs))
File "./decksite/main.py", line 86, in person
p = ps.load_person_by_id_or_mtgo_username(person_id, season_id=get_season_id())
File "./decksite/data/person.py", line 34, in load_person_by_id_or_mtgo_username
return load_person_by_id(int(person), season_id)
File "./decksite/data/person.py", line 22, in load_person_by_id
return load_person(f'p.id = {person_id}', season_id=season_id)
File "./decksite/data/person.py", line 80, in load_person
person = guarantee.exactly_one(load_people(where, season_id=season_id))
File "./decksite/data/person.py", line 138, in load_people
people = [Person(r) for r in db().select(sql)]
File "./decksite/database.py", line 19, in db
ctx.database = get_database(configuration.get_str('decksite_database'))
File "./shared/database.py", line 159, in get_database
return Database(location)
File "./shared/database.py", line 24, in __init__
self.connect()
File "./shared/database.py", line 38, in connect
raise DatabaseException('Failed to initialize database in `{location}`'.format(location=self.name))
Exception_hash: 3d40c56c3b172fc174ba7985e651e2b0ffe15ea6
Labels: Search Engine; decksite; DatabaseException
500 error at /people/923/
Failed to initialize database in decksite
Reported on decksite by logged_out
--------------------------------------------------------------------------------
Request Method: GET
Path: /people/923/?locale=pl
Cookies: {}
Endpoint: person
View Args: {'person_id': '923'}
Person: logged_out
Referrer: None
Request Data: {}
Host: pennydreadfulmagic.com
Accept-Encoding: gzip
Cf-Ipcountry: US
X-Forwarded-For: 46.229.168.136, 162.158.79.229
Cf-Ray: 485ad5169b9d9f7e-IAD
X-Forwarded-Proto: https
Cf-Visitor: {"scheme":"https"}
Accept: text/html
User-Agent: Mozilla/5.0 (compatible; SemrushBot/2~bl; +http://www.semrush.com/bot.html)
Cf-Connecting-Ip: 46.229.168.136
X-Forwarded-Host: pennydreadfulmagic.com
X-Forwarded-Server: pennydreadfulmagic.com
Connection: Keep-Alive
DatabaseException
Failed to initialize database in decksite
Stack Trace:
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__
return self.wsgi_app(environ, start_response)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app
response = self.handle_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "./decksite/cache.py", line 79, in decorated_function
response = make_response(f(*args, **kwargs))
File "./decksite/main.py", line 86, in person
p = ps.load_person_by_id_or_mtgo_username(person_id, season_id=get_season_id())
File "./decksite/data/person.py", line 34, in load_person_by_id_or_mtgo_username
return load_person_by_id(int(person), season_id)
File "./decksite/data/person.py", line 22, in load_person_by_id
return load_person(f'p.id = {person_id}', season_id=season_id)
File "./decksite/data/person.py", line 80, in load_person
person = guarantee.exactly_one(load_people(where, season_id=season_id))
File "./decksite/data/person.py", line 138, in load_people
people = [Person(r) for r in db().select(sql)]
File "./decksite/database.py", line 19, in db
ctx.database = get_database(configuration.get_str('decksite_database'))
File "./shared/database.py", line 159, in get_database
return Database(location)
File "./shared/database.py", line 24, in __init__
self.connect()
File "./shared/database.py", line 38, in connect
raise DatabaseException('Failed to initialize database in `{location}`'.format(location=self.name))
Exception_hash: 3d40c56c3b172fc174ba7985e651e2b0ffe15ea6
Labels: decksite; DatabaseException
500 error at /people/923/
Failed to initialize database in decksite
Reported on decksite by logged_out
--------------------------------------------------------------------------------
Request Method: GET
Path: /people/923/?locale=pl
Cookies: {}
Endpoint: person
View Args: {'person_id': '923'}
Person: logged_out
Referrer: None
Request Data: {}
Host: pennydreadfulmagic.com
Accept-Encoding: gzip
Cf-Ipcountry: US
X-Forwarded-For: 46.229.168.136, 162.158.79.109
Cf-Ray: 485ad522edf6c17c-IAD
X-Forwarded-Proto: https
Cf-Visitor: {"scheme":"https"}
Accept: text/html
User-Agent: Mozilla/5.0 (compatible; SemrushBot/2~bl; +http://www.semrush.com/bot.html)
Cf-Connecting-Ip: 46.229.168.136
X-Forwarded-Host: pennydreadfulmagic.com
X-Forwarded-Server: pennydreadfulmagic.com
Connection: Keep-Alive
DatabaseException
Failed to initialize database in decksite
Stack Trace:
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__
return self.wsgi_app(environ, start_response)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app
response = self.handle_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "./decksite/cache.py", line 79, in decorated_function
response = make_response(f(*args, **kwargs))
File "./decksite/main.py", line 86, in person
p = ps.load_person_by_id_or_mtgo_username(person_id, season_id=get_season_id())
File "./decksite/data/person.py", line 34, in load_person_by_id_or_mtgo_username
return load_person_by_id(int(person), season_id)
File "./decksite/data/person.py", line 22, in load_person_by_id
return load_person(f'p.id = {person_id}', season_id=season_id)
File "./decksite/data/person.py", line 80, in load_person
person = guarantee.exactly_one(load_people(where, season_id=season_id))
File "./decksite/data/person.py", line 138, in load_people
people = [Person(r) for r in db().select(sql)]
File "./decksite/database.py", line 19, in db
ctx.database = get_database(configuration.get_str('decksite_database'))
File "./shared/database.py", line 159, in get_database
return Database(location)
File "./shared/database.py", line 24, in __init__
self.connect()
File "./shared/database.py", line 38, in connect
raise DatabaseException('Failed to initialize database in `{location}`'.format(location=self.name))
Exception_hash: 3d40c56c3b172fc174ba7985e651e2b0ffe15ea6
Labels: decksite; DatabaseException
500 error at /seasons/7/people/2219/
Failed to initialize database in decksite
Reported on decksite by logged_out
--------------------------------------------------------------------------------
Request Method: GET
Path: /seasons/7/people/2219/?
Cookies: {}
Endpoint: seasons.person
View Args: {'person_id': '2219'}
Person: logged_out
Referrer: None
Request Data: {}
Host: pennydreadfulmagic.com
Accept-Encoding: gzip
Cf-Ipcountry: US
X-Forwarded-For: 46.229.168.135, 162.158.79.247
Cf-Ray: 485ad53f3eadc1ae-IAD
X-Forwarded-Proto: https
Cf-Visitor: {"scheme":"https"}
Accept: text/html
User-Agent: Mozilla/5.0 (compatible; SemrushBot/2~bl; +http://www.semrush.com/bot.html)
Cf-Connecting-Ip: 46.229.168.135
X-Forwarded-Host: pennydreadfulmagic.com
X-Forwarded-Server: pennydreadfulmagic.com
Connection: Keep-Alive
DatabaseException
Failed to initialize database in decksite
Stack Trace:
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__
return self.wsgi_app(environ, start_response)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app
response = self.handle_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "./decksite/cache.py", line 79, in decorated_function
response = make_response(f(*args, **kwargs))
File "./decksite/main.py", line 86, in person
p = ps.load_person_by_id_or_mtgo_username(person_id, season_id=get_season_id())
File "./decksite/data/person.py", line 34, in load_person_by_id_or_mtgo_username
return load_person_by_id(int(person), season_id)
File "./decksite/data/person.py", line 22, in load_person_by_id
return load_person(f'p.id = {person_id}', season_id=season_id)
File "./decksite/data/person.py", line 80, in load_person
person = guarantee.exactly_one(load_people(where, season_id=season_id))
File "./decksite/data/person.py", line 138, in load_people
people = [Person(r) for r in db().select(sql)]
File "./decksite/database.py", line 19, in db
ctx.database = get_database(configuration.get_str('decksite_database'))
File "./shared/database.py", line 159, in get_database
return Database(location)
File "./shared/database.py", line 24, in __init__
self.connect()
File "./shared/database.py", line 38, in connect
raise DatabaseException('Failed to initialize database in `{location}`'.format(location=self.name))
Exception_hash: 3d40c56c3b172fc174ba7985e651e2b0ffe15ea6
Labels: decksite; DatabaseException
500 error at /seasons/7/people/2219/
Failed to initialize database in decksite
Reported on decksite by logged_out
--------------------------------------------------------------------------------
Request Method: GET
Path: /seasons/7/people/2219/?
Cookies: {}
Endpoint: seasons.person
View Args: {'person_id': '2219'}
Person: logged_out
Referrer: None
Request Data: {}
Host: pennydreadfulmagic.com
Accept-Encoding: gzip
Cf-Ipcountry: US
X-Forwarded-For: 46.229.168.135, 162.158.78.132
Cf-Ray: 485ad5474c69958c-IAD
X-Forwarded-Proto: https
Cf-Visitor: {"scheme":"https"}
Accept: text/html
User-Agent: Mozilla/5.0 (compatible; SemrushBot/2~bl; +http://www.semrush.com/bot.html)
Cf-Connecting-Ip: 46.229.168.135
X-Forwarded-Host: pennydreadfulmagic.com
X-Forwarded-Server: pennydreadfulmagic.com
Connection: Keep-Alive
DatabaseException
Failed to initialize database in decksite
Stack Trace:
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__
return self.wsgi_app(environ, start_response)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app
response = self.handle_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "./decksite/cache.py", line 79, in decorated_function
response = make_response(f(*args, **kwargs))
File "./decksite/main.py", line 86, in person
p = ps.load_person_by_id_or_mtgo_username(person_id, season_id=get_season_id())
File "./decksite/data/person.py", line 34, in load_person_by_id_or_mtgo_username
return load_person_by_id(int(person), season_id)
File "./decksite/data/person.py", line 22, in load_person_by_id
return load_person(f'p.id = {person_id}', season_id=season_id)
File "./decksite/data/person.py", line 80, in load_person
person = guarantee.exactly_one(load_people(where, season_id=season_id))
File "./decksite/data/person.py", line 138, in load_people
people = [Person(r) for r in db().select(sql)]
File "./decksite/database.py", line 19, in db
ctx.database = get_database(configuration.get_str('decksite_database'))
File "./shared/database.py", line 159, in get_database
return Database(location)
File "./shared/database.py", line 24, in __init__
self.connect()
File "./shared/database.py", line 38, in connect
raise DatabaseException('Failed to initialize database in `{location}`'.format(location=self.name))
Exception_hash: 3d40c56c3b172fc174ba7985e651e2b0ffe15ea6
Labels: decksite; DatabaseException
500 error at /people/623/
Failed to initialize database in decksite
Reported on decksite by logged_out
--------------------------------------------------------------------------------
Request Method: GET
Path: /people/623/?locale=it
Cookies: {}
Endpoint: person
View Args: {'person_id': '623'}
Person: logged_out
Referrer: None
Request Data: {}
Host: pennydreadfulmagic.com
Accept-Encoding: gzip
Cf-Ipcountry: US
X-Forwarded-For: 46.229.168.147, 172.69.62.48
Cf-Ray: 485ad5cadd39c19f-IAD
X-Forwarded-Proto: https
Cf-Visitor: {"scheme":"https"}
Accept: text/html
User-Agent: Mozilla/5.0 (compatible; SemrushBot/2~bl; +http://www.semrush.com/bot.html)
Cf-Connecting-Ip: 46.229.168.147
X-Forwarded-Host: pennydreadfulmagic.com
X-Forwarded-Server: pennydreadfulmagic.com
Connection: Keep-Alive
DatabaseException
Failed to initialize database in decksite
Stack Trace:
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__
return self.wsgi_app(environ, start_response)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app
response = self.handle_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "./decksite/cache.py", line 79, in decorated_function
response = make_response(f(*args, **kwargs))
File "./decksite/main.py", line 86, in person
p = ps.load_person_by_id_or_mtgo_username(person_id, season_id=get_season_id())
File "./decksite/data/person.py", line 34, in load_person_by_id_or_mtgo_username
return load_person_by_id(int(person), season_id)
File "./decksite/data/person.py", line 22, in load_person_by_id
return load_person(f'p.id = {person_id}', season_id=season_id)
File "./decksite/data/person.py", line 80, in load_person
person = guarantee.exactly_one(load_people(where, season_id=season_id))
File "./decksite/data/person.py", line 138, in load_people
people = [Person(r) for r in db().select(sql)]
File "./decksite/database.py", line 19, in db
ctx.database = get_database(configuration.get_str('decksite_database'))
File "./shared/database.py", line 159, in get_database
return Database(location)
File "./shared/database.py", line 24, in __init__
self.connect()
File "./shared/database.py", line 38, in connect
raise DatabaseException('Failed to initialize database in `{location}`'.format(location=self.name))
Exception_hash: 3d40c56c3b172fc174ba7985e651e2b0ffe15ea6
Labels: decksite; DatabaseException
500 error at /people/623/
Failed to initialize database in decksite
Reported on decksite by logged_out
--------------------------------------------------------------------------------
Request Method: GET
Path: /people/623/?locale=it
Cookies: {}
Endpoint: person
View Args: {'person_id': '623'}
Person: logged_out
Referrer: None
Request Data: {}
Host: pennydreadfulmagic.com
Accept-Encoding: gzip
Cf-Ipcountry: US
X-Forwarded-For: 46.229.168.147, 162.158.79.247
Cf-Ray: 485ad5d24876c1c2-IAD
X-Forwarded-Proto: https
Cf-Visitor: {"scheme":"https"}
Accept: text/html
User-Agent: Mozilla/5.0 (compatible; SemrushBot/2~bl; +http://www.semrush.com/bot.html)
Cf-Connecting-Ip: 46.229.168.147
X-Forwarded-Host: pennydreadfulmagic.com
X-Forwarded-Server: pennydreadfulmagic.com
Connection: Keep-Alive
DatabaseException
Failed to initialize database in decksite
Stack Trace:
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__
return self.wsgi_app(environ, start_response)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app
response = self.handle_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "./decksite/cache.py", line 79, in decorated_function
response = make_response(f(*args, **kwargs))
File "./decksite/main.py", line 86, in person
p = ps.load_person_by_id_or_mtgo_username(person_id, season_id=get_season_id())
File "./decksite/data/person.py", line 34, in load_person_by_id_or_mtgo_username
return load_person_by_id(int(person), season_id)
File "./decksite/data/person.py", line 22, in load_person_by_id
return load_person(f'p.id = {person_id}', season_id=season_id)
File "./decksite/data/person.py", line 80, in load_person
person = guarantee.exactly_one(load_people(where, season_id=season_id))
File "./decksite/data/person.py", line 138, in load_people
people = [Person(r) for r in db().select(sql)]
File "./decksite/database.py", line 19, in db
ctx.database = get_database(configuration.get_str('decksite_database'))
File "./shared/database.py", line 159, in get_database
return Database(location)
File "./shared/database.py", line 24, in __init__
self.connect()
File "./shared/database.py", line 38, in connect
raise DatabaseException('Failed to initialize database in `{location}`'.format(location=self.name))
Exception_hash: 3d40c56c3b172fc174ba7985e651e2b0ffe15ea6
Labels: decksite; DatabaseException
500 error at /seasons/3/people/1295/
Failed to initialize database in decksite
Reported on decksite by logged_out
--------------------------------------------------------------------------------
Request Method: GET
Path: /seasons/3/people/1295/?locale=id
Cookies: {}
Endpoint: seasons.person
View Args: {'person_id': '1295'}
Person: logged_out
Referrer: None
Request Data: {}
Host: pennydreadfulmagic.com
Accept-Encoding: gzip
Cf-Ipcountry: US
X-Forwarded-For: 46.229.168.133, 162.158.79.121
Cf-Ray: 485ad6442becc17c-IAD
X-Forwarded-Proto: https
Cf-Visitor: {"scheme":"https"}
Accept: text/html
User-Agent: Mozilla/5.0 (compatible; SemrushBot/2~bl; +http://www.semrush.com/bot.html)
Cf-Connecting-Ip: 46.229.168.133
X-Forwarded-Host: pennydreadfulmagic.com
X-Forwarded-Server: pennydreadfulmagic.com
Connection: Keep-Alive
DatabaseException
Failed to initialize database in decksite
Stack Trace:
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__
return self.wsgi_app(environ, start_response)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app
response = self.handle_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "./decksite/cache.py", line 79, in decorated_function
response = make_response(f(*args, **kwargs))
File "./decksite/main.py", line 86, in person
p = ps.load_person_by_id_or_mtgo_username(person_id, season_id=get_season_id())
File "./decksite/data/person.py", line 34, in load_person_by_id_or_mtgo_username
return load_person_by_id(int(person), season_id)
File "./decksite/data/person.py", line 22, in load_person_by_id
return load_person(f'p.id = {person_id}', season_id=season_id)
File "./decksite/data/person.py", line 80, in load_person
person = guarantee.exactly_one(load_people(where, season_id=season_id))
File "./decksite/data/person.py", line 138, in load_people
people = [Person(r) for r in db().select(sql)]
File "./decksite/database.py", line 19, in db
ctx.database = get_database(configuration.get_str('decksite_database'))
File "./shared/database.py", line 159, in get_database
return Database(location)
File "./shared/database.py", line 24, in __init__
self.connect()
File "./shared/database.py", line 38, in connect
raise DatabaseException('Failed to initialize database in `{location}`'.format(location=self.name))
Exception_hash: 3d40c56c3b172fc174ba7985e651e2b0ffe15ea6
Labels: decksite; DatabaseException
500 error at /seasons/9/people/1300/
Failed to initialize database in decksite
Reported on decksite by logged_out
--------------------------------------------------------------------------------
Request Method: GET
Path: /seasons/9/people/1300/?locale=sv
Cookies: {}
Endpoint: seasons.person
View Args: {'person_id': '1300'}
Person: logged_out
Referrer: None
Request Data: {}
Host: pennydreadfulmagic.com
Accept-Encoding: gzip
Cf-Ipcountry: US
X-Forwarded-For: 46.229.168.129, 162.158.78.132
Cf-Ray: 485ad6e5da659f54-IAD
X-Forwarded-Proto: https
Cf-Visitor: {"scheme":"https"}
Accept: text/html
User-Agent: Mozilla/5.0 (compatible; SemrushBot/2~bl; +http://www.semrush.com/bot.html)
Cf-Connecting-Ip: 46.229.168.129
X-Forwarded-Host: pennydreadfulmagic.com
X-Forwarded-Server: pennydreadfulmagic.com
Connection: Keep-Alive
DatabaseException
Failed to initialize database in decksite
Stack Trace:
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__
return self.wsgi_app(environ, start_response)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app
response = self.handle_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "./decksite/cache.py", line 79, in decorated_function
response = make_response(f(*args, **kwargs))
File "./decksite/main.py", line 86, in person
p = ps.load_person_by_id_or_mtgo_username(person_id, season_id=get_season_id())
File "./decksite/data/person.py", line 34, in load_person_by_id_or_mtgo_username
return load_person_by_id(int(person), season_id)
File "./decksite/data/person.py", line 22, in load_person_by_id
return load_person(f'p.id = {person_id}', season_id=season_id)
File "./decksite/data/person.py", line 80, in load_person
person = guarantee.exactly_one(load_people(where, season_id=season_id))
File "./decksite/data/person.py", line 138, in load_people
people = [Person(r) for r in db().select(sql)]
File "./decksite/database.py", line 19, in db
ctx.database = get_database(configuration.get_str('decksite_database'))
File "./shared/database.py", line 159, in get_database
return Database(location)
File "./shared/database.py", line 24, in __init__
self.connect()
File "./shared/database.py", line 38, in connect
raise DatabaseException('Failed to initialize database in `{location}`'.format(location=self.name))
Exception_hash: 3d40c56c3b172fc174ba7985e651e2b0ffe15ea6
Labels: decksite; DatabaseException
500 error at /seasons/9/people/1300/
Failed to initialize database in decksite
Reported on decksite by logged_out
--------------------------------------------------------------------------------
Request Method: GET
Path: /seasons/9/people/1300/?locale=sv
Cookies: {}
Endpoint: seasons.person
View Args: {'person_id': '1300'}
Person: logged_out
Referrer: None
Request Data: {}
Host: pennydreadfulmagic.com
Accept-Encoding: gzip
Cf-Ipcountry: US
X-Forwarded-For: 46.229.168.129, 162.158.79.181
Cf-Ray: 485ad6ed9c44c19f-IAD
X-Forwarded-Proto: https
Cf-Visitor: {"scheme":"https"}
Accept: text/html
User-Agent: Mozilla/5.0 (compatible; SemrushBot/2~bl; +http://www.semrush.com/bot.html)
Cf-Connecting-Ip: 46.229.168.129
X-Forwarded-Host: pennydreadfulmagic.com
X-Forwarded-Server: pennydreadfulmagic.com
Connection: Keep-Alive
DatabaseException
Failed to initialize database in decksite
Stack Trace:
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__
return self.wsgi_app(environ, start_response)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app
response = self.handle_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "./decksite/cache.py", line 79, in decorated_function
response = make_response(f(*args, **kwargs))
File "./decksite/main.py", line 86, in person
p = ps.load_person_by_id_or_mtgo_username(person_id, season_id=get_season_id())
File "./decksite/data/person.py", line 34, in load_person_by_id_or_mtgo_username
return load_person_by_id(int(person), season_id)
File "./decksite/data/person.py", line 22, in load_person_by_id
return load_person(f'p.id = {person_id}', season_id=season_id)
File "./decksite/data/person.py", line 80, in load_person
person = guarantee.exactly_one(load_people(where, season_id=season_id))
File "./decksite/data/person.py", line 138, in load_people
people = [Person(r) for r in db().select(sql)]
File "./decksite/database.py", line 19, in db
ctx.database = get_database(configuration.get_str('decksite_database'))
File "./shared/database.py", line 159, in get_database
return Database(location)
File "./shared/database.py", line 24, in __init__
self.connect()
File "./shared/database.py", line 38, in connect
raise DatabaseException('Failed to initialize database in `{location}`'.format(location=self.name))
Exception_hash: 3d40c56c3b172fc174ba7985e651e2b0ffe15ea6
Labels: decksite; DatabaseException
500 error at /seasons/4/people/2533/
Failed to initialize database in decksite
Reported on decksite by logged_out
--------------------------------------------------------------------------------
Request Method: GET
Path: /seasons/4/people/2533/?locale=pt_BR
Cookies: {}
Endpoint: seasons.person
View Args: {'person_id': '2533'}
Person: logged_out
Referrer: None
Request Data: {}
Host: pennydreadfulmagic.com
Accept-Encoding: gzip
Cf-Ipcountry: US
X-Forwarded-For: 46.229.168.153, 162.158.78.132
Cf-Ray: 485ad746eb839574-IAD
X-Forwarded-Proto: https
Cf-Visitor: {"scheme":"https"}
Accept: text/html
User-Agent: Mozilla/5.0 (compatible; SemrushBot/2~bl; +http://www.semrush.com/bot.html)
Cf-Connecting-Ip: 46.229.168.153
X-Forwarded-Host: pennydreadfulmagic.com
X-Forwarded-Server: pennydreadfulmagic.com
Connection: Keep-Alive
DatabaseException
Failed to initialize database in decksite
Stack Trace:
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__
return self.wsgi_app(environ, start_response)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app
response = self.handle_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "./decksite/cache.py", line 79, in decorated_function
response = make_response(f(*args, **kwargs))
File "./decksite/main.py", line 86, in person
p = ps.load_person_by_id_or_mtgo_username(person_id, season_id=get_season_id())
File "./decksite/data/person.py", line 34, in load_person_by_id_or_mtgo_username
return load_person_by_id(int(person), season_id)
File "./decksite/data/person.py", line 22, in load_person_by_id
return load_person(f'p.id = {person_id}', season_id=season_id)
File "./decksite/data/person.py", line 80, in load_person
person = guarantee.exactly_one(load_people(where, season_id=season_id))
File "./decksite/data/person.py", line 138, in load_people
people = [Person(r) for r in db().select(sql)]
File "./decksite/database.py", line 19, in db
ctx.database = get_database(configuration.get_str('decksite_database'))
File "./shared/database.py", line 159, in get_database
return Database(location)
File "./shared/database.py", line 24, in __init__
self.connect()
File "./shared/database.py", line 38, in connect
raise DatabaseException('Failed to initialize database in `{location}`'.format(location=self.name))
Exception_hash: 3d40c56c3b172fc174ba7985e651e2b0ffe15ea6
Labels: decksite; DatabaseException
500 error at /seasons/6/people/952/
Failed to initialize database in decksite
Reported on decksite by logged_out
--------------------------------------------------------------------------------
Request Method: GET
Path: /seasons/6/people/952/?
Cookies: {}
Endpoint: seasons.person
View Args: {'person_id': '952'}
Person: logged_out
Referrer: None
Request Data: {}
Host: pennydreadfulmagic.com
Accept-Encoding: gzip
Cf-Ipcountry: US
X-Forwarded-For: 46.229.168.147, 162.158.79.109
Cf-Ray: 485ad8bbde8a9f54-IAD
X-Forwarded-Proto: https
Cf-Visitor: {"scheme":"https"}
Accept: text/html
User-Agent: Mozilla/5.0 (compatible; SemrushBot/2~bl; +http://www.semrush.com/bot.html)
Cf-Connecting-Ip: 46.229.168.147
X-Forwarded-Host: pennydreadfulmagic.com
X-Forwarded-Server: pennydreadfulmagic.com
Connection: Keep-Alive
DatabaseException
Failed to initialize database in decksite
Stack Trace:
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__
return self.wsgi_app(environ, start_response)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app
response = self.handle_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "./decksite/cache.py", line 79, in decorated_function
response = make_response(f(*args, **kwargs))
File "./decksite/main.py", line 86, in person
p = ps.load_person_by_id_or_mtgo_username(person_id, season_id=get_season_id())
File "./decksite/data/person.py", line 34, in load_person_by_id_or_mtgo_username
return load_person_by_id(int(person), season_id)
File "./decksite/data/person.py", line 22, in load_person_by_id
return load_person(f'p.id = {person_id}', season_id=season_id)
File "./decksite/data/person.py", line 80, in load_person
person = guarantee.exactly_one(load_people(where, season_id=season_id))
File "./decksite/data/person.py", line 138, in load_people
people = [Person(r) for r in db().select(sql)]
File "./decksite/database.py", line 19, in db
ctx.database = get_database(configuration.get_str('decksite_database'))
File "./shared/database.py", line 159, in get_database
return Database(location)
File "./shared/database.py", line 24, in __init__
self.connect()
File "./shared/database.py", line 38, in connect
raise DatabaseException('Failed to initialize database in `{location}`'.format(location=self.name))
Exception_hash: 3d40c56c3b172fc174ba7985e651e2b0ffe15ea6
Labels: decksite; DatabaseException
500 error at /seasons/6/people/952/
Failed to initialize database in decksite
Reported on decksite by logged_out
--------------------------------------------------------------------------------
Request Method: GET
Path: /seasons/6/people/952/?
Cookies: {}
Endpoint: seasons.person
View Args: {'person_id': '952'}
Person: logged_out
Referrer: None
Request Data: {}
Host: pennydreadfulmagic.com
Accept-Encoding: gzip
Cf-Ipcountry: US
X-Forwarded-For: 46.229.168.147, 172.69.62.198
Cf-Ray: 485ad8c419a1c19f-IAD
X-Forwarded-Proto: https
Cf-Visitor: {"scheme":"https"}
Accept: text/html
User-Agent: Mozilla/5.0 (compatible; SemrushBot/2~bl; +http://www.semrush.com/bot.html)
Cf-Connecting-Ip: 46.229.168.147
X-Forwarded-Host: pennydreadfulmagic.com
X-Forwarded-Server: pennydreadfulmagic.com
Connection: Keep-Alive
DatabaseException
Failed to initialize database in decksite
Stack Trace:
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__
return self.wsgi_app(environ, start_response)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app
response = self.handle_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "./decksite/cache.py", line 79, in decorated_function
response = make_response(f(*args, **kwargs))
File "./decksite/main.py", line 86, in person
p = ps.load_person_by_id_or_mtgo_username(person_id, season_id=get_season_id())
File "./decksite/data/person.py", line 34, in load_person_by_id_or_mtgo_username
return load_person_by_id(int(person), season_id)
File "./decksite/data/person.py", line 22, in load_person_by_id
return load_person(f'p.id = {person_id}', season_id=season_id)
File "./decksite/data/person.py", line 80, in load_person
person = guarantee.exactly_one(load_people(where, season_id=season_id))
File "./decksite/data/person.py", line 138, in load_people
people = [Person(r) for r in db().select(sql)]
File "./decksite/database.py", line 19, in db
ctx.database = get_database(configuration.get_str('decksite_database'))
File "./shared/database.py", line 159, in get_database
return Database(location)
File "./shared/database.py", line 24, in __init__
self.connect()
File "./shared/database.py", line 38, in connect
raise DatabaseException('Failed to initialize database in `{location}`'.format(location=self.name))
Exception_hash: 3d40c56c3b172fc174ba7985e651e2b0ffe15ea6
Labels: decksite; DatabaseException
500 error at /people/3073/
Failed to initialize database in decksite
Reported on decksite by logged_out
--------------------------------------------------------------------------------
Request Method: GET
Path: /people/3073/?
Cookies: {}
Endpoint: person
View Args: {'person_id': '3073'}
Person: logged_out
Referrer: None
Request Data: {}
Host: pennydreadfulmagic.com
Accept-Encoding: gzip
Cf-Ipcountry: US
X-Forwarded-For: 66.249.73.133, 172.69.71.20
Cf-Ray: 49b237546d439b02-DFW
X-Forwarded-Proto: https
Cf-Visitor: {"scheme":"https"}
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
From: googlebot(at)googlebot.com
User-Agent: Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.96 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
Cf-Connecting-Ip: 66.249.73.133
Cdn-Loop: cloudflare
X-Forwarded-Host: pennydreadfulmagic.com
X-Forwarded-Server: pennydreadfulmagic.com
Connection: Keep-Alive
DatabaseException
Failed to initialize database in decksite
Stack Trace:
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__
return self.wsgi_app(environ, start_response)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app
response = self.handle_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "./decksite/cache.py", line 79, in decorated_function
response = make_response(f(*args, **kwargs))
File "./decksite/main.py", line 86, in person
p = ps.load_person_by_id_or_mtgo_username(person_id, season_id=get_season_id())
File "./decksite/data/person.py", line 34, in load_person_by_id_or_mtgo_username
return load_person_by_id(int(person), season_id)
File "./decksite/data/person.py", line 22, in load_person_by_id
return load_person(f'p.id = {person_id}', season_id=season_id)
File "./decksite/data/person.py", line 80, in load_person
person = guarantee.exactly_one(load_people(where, season_id=season_id))
File "./decksite/data/person.py", line 138, in load_people
people = [Person(r) for r in db().select(sql)]
File "./decksite/database.py", line 19, in db
ctx.database = get_database(configuration.get_str('decksite_database'))
File "./shared/database.py", line 159, in get_database
return Database(location)
File "./shared/database.py", line 24, in __init__
self.connect()
File "./shared/database.py", line 38, in connect
raise DatabaseException('Failed to initialize database in `{location}`'.format(location=self.name))
Exception_hash: 3d40c56c3b172fc174ba7985e651e2b0ffe15ea6
Labels: Search Engine; decksite; DatabaseException
500 error at /seasons/6/people/1969/
Failed to initialize database in decksite
Reported on decksite by logged_out
--------------------------------------------------------------------------------
Request Method: GET
Path: /seasons/6/people/1969/?locale=pt_BR
Cookies: {}
Endpoint: seasons.person
View Args: {'person_id': '1969'}
Person: logged_out
Referrer: None
Request Data: {}
Host: pennydreadfulmagic.com
Accept-Encoding: gzip
Cf-Ipcountry: US
X-Forwarded-For: 46.229.168.146, 162.158.79.187
Cf-Ray: 49b239e1efb495aa-IAD
X-Forwarded-Proto: https
Cf-Visitor: {"scheme":"https"}
Accept: text/html
User-Agent: Mozilla/5.0 (compatible; SemrushBot/3~bl; +http://www.semrush.com/bot.html)
Cf-Connecting-Ip: 46.229.168.146
Cdn-Loop: cloudflare
X-Forwarded-Host: pennydreadfulmagic.com
X-Forwarded-Server: pennydreadfulmagic.com
Connection: Keep-Alive
DatabaseException
Failed to initialize database in decksite
Stack Trace:
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__
return self.wsgi_app(environ, start_response)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app
response = self.handle_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "./decksite/cache.py", line 79, in decorated_function
response = make_response(f(*args, **kwargs))
File "./decksite/main.py", line 86, in person
p = ps.load_person_by_id_or_mtgo_username(person_id, season_id=get_season_id())
File "./decksite/data/person.py", line 34, in load_person_by_id_or_mtgo_username
return load_person_by_id(int(person), season_id)
File "./decksite/data/person.py", line 22, in load_person_by_id
return load_person(f'p.id = {person_id}', season_id=season_id)
File "./decksite/data/person.py", line 80, in load_person
person = guarantee.exactly_one(load_people(where, season_id=season_id))
File "./decksite/data/person.py", line 138, in load_people
people = [Person(r) for r in db().select(sql)]
File "./decksite/database.py", line 19, in db
ctx.database = get_database(configuration.get_str('decksite_database'))
File "./shared/database.py", line 159, in get_database
return Database(location)
File "./shared/database.py", line 24, in __init__
self.connect()
File "./shared/database.py", line 38, in connect
raise DatabaseException('Failed to initialize database in `{location}`'.format(location=self.name))
Exception_hash: 3d40c56c3b172fc174ba7985e651e2b0ffe15ea6
Labels: decksite; DatabaseException
500 error at /seasons/6/people/1969/
Failed to initialize database in decksite
Reported on decksite by logged_out
--------------------------------------------------------------------------------
Request Method: GET
Path: /seasons/6/people/1969/?locale=pt_BR
Cookies: {}
Endpoint: seasons.person
View Args: {'person_id': '1969'}
Person: logged_out
Referrer: None
Request Data: {}
Host: pennydreadfulmagic.com
Accept-Encoding: gzip
Cf-Ipcountry: US
X-Forwarded-For: 46.229.168.146, 162.158.79.109
Cf-Ray: 49b239ea7df89592-IAD
X-Forwarded-Proto: https
Cf-Visitor: {"scheme":"https"}
Accept: text/html
User-Agent: Mozilla/5.0 (compatible; SemrushBot/3~bl; +http://www.semrush.com/bot.html)
Cf-Connecting-Ip: 46.229.168.146
Cdn-Loop: cloudflare
X-Forwarded-Host: pennydreadfulmagic.com
X-Forwarded-Server: pennydreadfulmagic.com
Connection: Keep-Alive
DatabaseException
Failed to initialize database in decksite
Stack Trace:
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__
return self.wsgi_app(environ, start_response)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app
response = self.handle_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "./decksite/cache.py", line 79, in decorated_function
response = make_response(f(*args, **kwargs))
File "./decksite/main.py", line 86, in person
p = ps.load_person_by_id_or_mtgo_username(person_id, season_id=get_season_id())
File "./decksite/data/person.py", line 34, in load_person_by_id_or_mtgo_username
return load_person_by_id(int(person), season_id)
File "./decksite/data/person.py", line 22, in load_person_by_id
return load_person(f'p.id = {person_id}', season_id=season_id)
File "./decksite/data/person.py", line 80, in load_person
person = guarantee.exactly_one(load_people(where, season_id=season_id))
File "./decksite/data/person.py", line 138, in load_people
people = [Person(r) for r in db().select(sql)]
File "./decksite/database.py", line 19, in db
ctx.database = get_database(configuration.get_str('decksite_database'))
File "./shared/database.py", line 159, in get_database
return Database(location)
File "./shared/database.py", line 24, in __init__
self.connect()
File "./shared/database.py", line 38, in connect
raise DatabaseException('Failed to initialize database in `{location}`'.format(location=self.name))
Exception_hash: 3d40c56c3b172fc174ba7985e651e2b0ffe15ea6
Labels: decksite; DatabaseException
500 error at /seasons/9/people/771/
Failed to initialize database in decksite
Reported on decksite by logged_out
--------------------------------------------------------------------------------
Request Method: GET
Path: /seasons/9/people/771/?locale=sv
Cookies: {}
Endpoint: seasons.person
View Args: {'person_id': '771'}
Person: logged_out
Referrer: None
Request Data: {}
Host: pennydreadfulmagic.com
Accept-Encoding: gzip
Cf-Ipcountry: US
X-Forwarded-For: 46.229.168.131, 162.158.79.19
Cf-Ray: 49b23a36480e95b0-IAD
X-Forwarded-Proto: https
Cf-Visitor: {"scheme":"https"}
Accept: text/html
User-Agent: Mozilla/5.0 (compatible; SemrushBot/3~bl; +http://www.semrush.com/bot.html)
Cf-Connecting-Ip: 46.229.168.131
Cdn-Loop: cloudflare
X-Forwarded-Host: pennydreadfulmagic.com
X-Forwarded-Server: pennydreadfulmagic.com
Connection: Keep-Alive
DatabaseException
Failed to initialize database in decksite
Stack Trace:
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__
return self.wsgi_app(environ, start_response)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app
response = self.handle_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "./decksite/cache.py", line 79, in decorated_function
response = make_response(f(*args, **kwargs))
File "./decksite/main.py", line 86, in person
p = ps.load_person_by_id_or_mtgo_username(person_id, season_id=get_season_id())
File "./decksite/data/person.py", line 34, in load_person_by_id_or_mtgo_username
return load_person_by_id(int(person), season_id)
File "./decksite/data/person.py", line 22, in load_person_by_id
return load_person(f'p.id = {person_id}', season_id=season_id)
File "./decksite/data/person.py", line 80, in load_person
person = guarantee.exactly_one(load_people(where, season_id=season_id))
File "./decksite/data/person.py", line 138, in load_people
people = [Person(r) for r in db().select(sql)]
File "./decksite/database.py", line 19, in db
ctx.database = get_database(configuration.get_str('decksite_database'))
File "./shared/database.py", line 159, in get_database
return Database(location)
File "./shared/database.py", line 24, in __init__
self.connect()
File "./shared/database.py", line 38, in connect
raise DatabaseException('Failed to initialize database in `{location}`'.format(location=self.name))
Exception_hash: 3d40c56c3b172fc174ba7985e651e2b0ffe15ea6
Labels: decksite; DatabaseException
500 error at /seasons/9/people/771/
Failed to initialize database in decksite
Reported on decksite by logged_out
--------------------------------------------------------------------------------
Request Method: GET
Path: /seasons/9/people/771/?locale=sv
Cookies: {}
Endpoint: seasons.person
View Args: {'person_id': '771'}
Person: logged_out
Referrer: None
Request Data: {}
Host: pennydreadfulmagic.com
Accept-Encoding: gzip
Cf-Ipcountry: US
X-Forwarded-For: 46.229.168.131, 162.158.78.222
Cf-Ray: 49b23a450d63c177-IAD
X-Forwarded-Proto: https
Cf-Visitor: {"scheme":"https"}
Accept: text/html
User-Agent: Mozilla/5.0 (compatible; SemrushBot/3~bl; +http://www.semrush.com/bot.html)
Cf-Connecting-Ip: 46.229.168.131
Cdn-Loop: cloudflare
X-Forwarded-Host: pennydreadfulmagic.com
X-Forwarded-Server: pennydreadfulmagic.com
Connection: Keep-Alive
DatabaseException
Failed to initialize database in decksite
Stack Trace:
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__
return self.wsgi_app(environ, start_response)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app
response = self.handle_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "./decksite/cache.py", line 79, in decorated_function
response = make_response(f(*args, **kwargs))
File "./decksite/main.py", line 86, in person
p = ps.load_person_by_id_or_mtgo_username(person_id, season_id=get_season_id())
File "./decksite/data/person.py", line 34, in load_person_by_id_or_mtgo_username
return load_person_by_id(int(person), season_id)
File "./decksite/data/person.py", line 22, in load_person_by_id
return load_person(f'p.id = {person_id}', season_id=season_id)
File "./decksite/data/person.py", line 80, in load_person
person = guarantee.exactly_one(load_people(where, season_id=season_id))
File "./decksite/data/person.py", line 138, in load_people
people = [Person(r) for r in db().select(sql)]
File "./decksite/database.py", line 19, in db
ctx.database = get_database(configuration.get_str('decksite_database'))
File "./shared/database.py", line 159, in get_database
return Database(location)
File "./shared/database.py", line 24, in __init__
self.connect()
File "./shared/database.py", line 38, in connect
raise DatabaseException('Failed to initialize database in `{location}`'.format(location=self.name))
Exception_hash: 3d40c56c3b172fc174ba7985e651e2b0ffe15ea6
Labels: decksite; DatabaseException
500 error at /seasons/5/people/1375/
Failed to initialize database in decksite
Reported on decksite by logged_out
--------------------------------------------------------------------------------
Request Method: GET
Path: /seasons/5/people/1375/?locale=en
Cookies: {}
Endpoint: seasons.person
View Args: {'person_id': '1375'}
Person: logged_out
Referrer: None
Request Data: {}
Host: pennydreadfulmagic.com
Accept-Encoding: gzip
Cf-Ipcountry: US
X-Forwarded-For: 46.229.168.141, 162.158.78.180
Cf-Ray: 49b23e699825c177-IAD
X-Forwarded-Proto: https
Cf-Visitor: {"scheme":"https"}
Accept: text/html
User-Agent: Mozilla/5.0 (compatible; SemrushBot/3~bl; +http://www.semrush.com/bot.html)
Cf-Connecting-Ip: 46.229.168.141
Cdn-Loop: cloudflare
X-Forwarded-Host: pennydreadfulmagic.com
X-Forwarded-Server: pennydreadfulmagic.com
Connection: Keep-Alive
DatabaseException
Failed to initialize database in decksite
Stack Trace:
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__
return self.wsgi_app(environ, start_response)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app
response = self.handle_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "./decksite/cache.py", line 79, in decorated_function
response = make_response(f(*args, **kwargs))
File "./decksite/main.py", line 86, in person
p = ps.load_person_by_id_or_mtgo_username(person_id, season_id=get_season_id())
File "./decksite/data/person.py", line 34, in load_person_by_id_or_mtgo_username
return load_person_by_id(int(person), season_id)
File "./decksite/data/person.py", line 22, in load_person_by_id
return load_person(f'p.id = {person_id}', season_id=season_id)
File "./decksite/data/person.py", line 80, in load_person
person = guarantee.exactly_one(load_people(where, season_id=season_id))
File "./decksite/data/person.py", line 138, in load_people
people = [Person(r) for r in db().select(sql)]
File "./decksite/database.py", line 19, in db
ctx.database = get_database(configuration.get_str('decksite_database'))
File "./shared/database.py", line 159, in get_database
return Database(location)
File "./shared/database.py", line 24, in __init__
self.connect()
File "./shared/database.py", line 38, in connect
raise DatabaseException('Failed to initialize database in `{location}`'.format(location=self.name))
Exception_hash: 3d40c56c3b172fc174ba7985e651e2b0ffe15ea6
Labels: decksite; DatabaseException
500 error at /seasons/5/people/1375/
Failed to initialize database in decksite
Reported on decksite by logged_out
--------------------------------------------------------------------------------
Request Method: GET
Path: /seasons/5/people/1375/?locale=en
Cookies: {}
Endpoint: seasons.person
View Args: {'person_id': '1375'}
Person: logged_out
Referrer: None
Request Data: {}
Host: pennydreadfulmagic.com
Accept-Encoding: gzip
Cf-Ipcountry: US
X-Forwarded-For: 46.229.168.141, 172.69.62.48
Cf-Ray: 49b23e7a1d3cc1e0-IAD
X-Forwarded-Proto: https
Cf-Visitor: {"scheme":"https"}
Accept: text/html
User-Agent: Mozilla/5.0 (compatible; SemrushBot/3~bl; +http://www.semrush.com/bot.html)
Cf-Connecting-Ip: 46.229.168.141
Cdn-Loop: cloudflare
X-Forwarded-Host: pennydreadfulmagic.com
X-Forwarded-Server: pennydreadfulmagic.com
Connection: Keep-Alive
DatabaseException
Failed to initialize database in decksite
Stack Trace:
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__
return self.wsgi_app(environ, start_response)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app
response = self.handle_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "./decksite/cache.py", line 79, in decorated_function
response = make_response(f(*args, **kwargs))
File "./decksite/main.py", line 86, in person
p = ps.load_person_by_id_or_mtgo_username(person_id, season_id=get_season_id())
File "./decksite/data/person.py", line 34, in load_person_by_id_or_mtgo_username
return load_person_by_id(int(person), season_id)
File "./decksite/data/person.py", line 22, in load_person_by_id
return load_person(f'p.id = {person_id}', season_id=season_id)
File "./decksite/data/person.py", line 80, in load_person
person = guarantee.exactly_one(load_people(where, season_id=season_id))
File "./decksite/data/person.py", line 138, in load_people
people = [Person(r) for r in db().select(sql)]
File "./decksite/database.py", line 19, in db
ctx.database = get_database(configuration.get_str('decksite_database'))
File "./shared/database.py", line 159, in get_database
return Database(location)
File "./shared/database.py", line 24, in __init__
self.connect()
File "./shared/database.py", line 38, in connect
raise DatabaseException('Failed to initialize database in `{location}`'.format(location=self.name))
Exception_hash: 3d40c56c3b172fc174ba7985e651e2b0ffe15ea6
Labels: decksite; DatabaseException
500 error at /people/1060/
Failed to initialize database in decksite
Reported on decksite by logged_out
--------------------------------------------------------------------------------
Request Method: GET
Path: /people/1060/?locale=it
Cookies: {}
Endpoint: person
View Args: {'person_id': '1060'}
Person: logged_out
Referrer: None
Request Data: {}
Host: pennydreadfulmagic.com
Accept-Encoding: gzip
Cf-Ipcountry: US
X-Forwarded-For: 46.229.168.139, 172.69.62.24
Cf-Ray: 49b23f15aa00c177-IAD
X-Forwarded-Proto: https
Cf-Visitor: {"scheme":"https"}
Accept: text/html
User-Agent: Mozilla/5.0 (compatible; SemrushBot/3~bl; +http://www.semrush.com/bot.html)
Cf-Connecting-Ip: 46.229.168.139
Cdn-Loop: cloudflare
X-Forwarded-Host: pennydreadfulmagic.com
X-Forwarded-Server: pennydreadfulmagic.com
Connection: Keep-Alive
DatabaseException
Failed to initialize database in decksite
Stack Trace:
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__
return self.wsgi_app(environ, start_response)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app
response = self.handle_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "./decksite/cache.py", line 79, in decorated_function
response = make_response(f(*args, **kwargs))
File "./decksite/main.py", line 86, in person
p = ps.load_person_by_id_or_mtgo_username(person_id, season_id=get_season_id())
File "./decksite/data/person.py", line 34, in load_person_by_id_or_mtgo_username
return load_person_by_id(int(person), season_id)
File "./decksite/data/person.py", line 22, in load_person_by_id
return load_person(f'p.id = {person_id}', season_id=season_id)
File "./decksite/data/person.py", line 80, in load_person
person = guarantee.exactly_one(load_people(where, season_id=season_id))
File "./decksite/data/person.py", line 138, in load_people
people = [Person(r) for r in db().select(sql)]
File "./decksite/database.py", line 19, in db
ctx.database = get_database(configuration.get_str('decksite_database'))
File "./shared/database.py", line 159, in get_database
return Database(location)
File "./shared/database.py", line 24, in __init__
self.connect()
File "./shared/database.py", line 38, in connect
raise DatabaseException('Failed to initialize database in `{location}`'.format(location=self.name))
Exception_hash: 3d40c56c3b172fc174ba7985e651e2b0ffe15ea6
Labels: decksite; DatabaseException
500 error at /people/1060/
Failed to initialize database in decksite
Reported on decksite by logged_out
--------------------------------------------------------------------------------
Request Method: GET
Path: /people/1060/?locale=it
Cookies: {}
Endpoint: person
View Args: {'person_id': '1060'}
Person: logged_out
Referrer: None
Request Data: {}
Host: pennydreadfulmagic.com
Accept-Encoding: gzip
Cf-Ipcountry: US
X-Forwarded-For: 46.229.168.139, 162.158.78.222
Cf-Ray: 49b23f22aea195b0-IAD
X-Forwarded-Proto: https
Cf-Visitor: {"scheme":"https"}
Accept: text/html
User-Agent: Mozilla/5.0 (compatible; SemrushBot/3~bl; +http://www.semrush.com/bot.html)
Cf-Connecting-Ip: 46.229.168.139
Cdn-Loop: cloudflare
X-Forwarded-Host: pennydreadfulmagic.com
X-Forwarded-Server: pennydreadfulmagic.com
Connection: Keep-Alive
DatabaseException
Failed to initialize database in decksite
Stack Trace:
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__
return self.wsgi_app(environ, start_response)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app
response = self.handle_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "./decksite/cache.py", line 79, in decorated_function
response = make_response(f(*args, **kwargs))
File "./decksite/main.py", line 86, in person
p = ps.load_person_by_id_or_mtgo_username(person_id, season_id=get_season_id())
File "./decksite/data/person.py", line 34, in load_person_by_id_or_mtgo_username
return load_person_by_id(int(person), season_id)
File "./decksite/data/person.py", line 22, in load_person_by_id
return load_person(f'p.id = {person_id}', season_id=season_id)
File "./decksite/data/person.py", line 80, in load_person
person = guarantee.exactly_one(load_people(where, season_id=season_id))
File "./decksite/data/person.py", line 138, in load_people
people = [Person(r) for r in db().select(sql)]
File "./decksite/database.py", line 19, in db
ctx.database = get_database(configuration.get_str('decksite_database'))
File "./shared/database.py", line 159, in get_database
return Database(location)
File "./shared/database.py", line 24, in __init__
self.connect()
File "./shared/database.py", line 38, in connect
raise DatabaseException('Failed to initialize database in `{location}`'.format(location=self.name))
Exception_hash: 3d40c56c3b172fc174ba7985e651e2b0ffe15ea6
Labels: decksite; DatabaseException
Failed to initialize database in
decksite
Reported on decksite by logged_out
DatabaseException Failed to initialize database in
decksite
Stack Trace:Exception_hash: 3d40c56c3b172fc174ba7985e651e2b0ffe15ea6