Traceback (most recent call last):


 "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1982, in wsgi_app

response = self.full_dispatch_request()


 "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1614, in full_dispatch_request

rv = self.handle_user_exception(e)


 "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1517, in handle_user_exception

reraise(exc_type, exc_value, tb)


 "/usr/local/lib/python3.5/dist-packages/flask/_compat.py", line 33, in reraise

raise value


 "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1612, in full_dispatch_request

rv = self.dispatch_request()


 "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1598, in dispatch_request

return self.view_functions[rule.endpoint](**req.view_args)


 "/home/CTFd/challenges.py", line 115, in chals

unlocked_hints = set([u.itemid for u in Unlocks.query.filter_by(model='hints', teamid=session['id'])])


 "/usr/local/lib/python3.5/dist-packages/werkzeug/local.py", line 377, in <lambda>

__getitem__ = lambda x, i: x._get_current_object()[i]
KeyError: 'id'


Traceback (most recent call last):

 "/private/var/folders/9l/r3dzz8551579drqy2j8d6gwm0000gn/T/pip-build-cdj3eth2/enum34/enum/__init__.py", line 371, in __getattr__
return cls._member_map_[name]
KeyError: '_convert'