I get this error and dont know what's up
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/py4web/core.py", line 338, in is_valid
self.__request_master_ctx__.request_ctx[self]
KeyError: <py4web.core.Session object at 0xffff92415ac0>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/py4web/core.py", line 935, in wrapper
ret = func(*func_args, **func_kwargs)
File "/usr/local/lib/python3.8/dist-packages/py4web/core.py", line 920, in wrapper
raise context["exception"]
File "/usr/local/lib/python3.8/dist-packages/py4web/core.py", line 899, in wrapper
context["output"] = func(*args, **kwargs)
File "/home/www-data/amaster/apps/_dashboard/__init__.py", line 372, in api
data = action.uses(db)(lambda: RestAPI(db, policy)(
File "/usr/local/lib/python3.8/dist-packages/py4web/core.py", line 920, in wrapper
raise context["exception"]
File "/usr/local/lib/python3.8/dist-packages/py4web/core.py", line 899, in wrapper
context["output"] = func(*args, **kwargs)
File "/home/www-data/amaster/apps/_dashboard/__init__.py", line 372, in <lambda>
data = action.uses(db)(lambda: RestAPI(db, policy)(
File "/usr/local/lib/python3.8/dist-packages/pydal/restapi.py", line 37, in wrapper
data = func(*args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/pydal/restapi.py", line 232, in __call__
return self.search(tablename, get_vars)
File "/usr/local/lib/python3.8/dist-packages/pydal/restapi.py", line 586, in search
response["model"] = self.table_model(table, model_fieldnames)
File "/usr/local/lib/python3.8/dist-packages/pydal/restapi.py", line 270, in table_model
field.default() if callable(field.default) else field.default
File "/usr/local/lib/python3.8/dist-packages/py4web/utils/auth.py", line 375, in <lambda>
user = lambda s=self: s.get_user().get("id")
File "/usr/local/lib/python3.8/dist-packages/py4web/utils/auth.py", line 440, in get_user
if not self.session.is_valid():
File "/usr/local/lib/python3.8/dist-packages/py4web/core.py", line 343, in is_valid
self.__class__.__name,
AttributeError: type object 'Session' has no attribute '_Fixture__name'