data exception in tasks > history view. Note this does not affect normal users, only admins
Message type: ERROR
Location: /var/www/www.members.loutilities.com/venv/lib/python3.9/site-packages/flask/app.py:1744
Module: app
Function: log_exception
Time: 2024-04-17 04:23:52,719
User: *******@steeplechasers.org
Message:
Exception on /admin/fsrc/history [GET]
Traceback (most recent call last):
File "/var/www/www.members.loutilities.com/venv/lib/python3.9/site-packages/flask/app.py", line 2529, in wsgi_app
response = self.full_dispatch_request()
File "/var/www/www.members.loutilities.com/venv/lib/python3.9/site-packages/flask/app.py", line 1825, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/var/www/www.members.loutilities.com/venv/lib/python3.9/site-packages/flask/app.py", line 1823, in full_dispatch_request
rv = self.dispatch_request()
File "/var/www/www.members.loutilities.com/venv/lib/python3.9/site-packages/flask/app.py", line 1799, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "/var/www/www.members.loutilities.com/venv/lib/python3.9/site-packages/flask_security/decorators.py", line 394, in decorated_view
return fn(*args, **kwargs)
File "/var/www/www.members.loutilities.com/venv/lib/python3.9/site-packages/flask/views.py", line 107, in view
return current_app.ensure_sync(self.dispatch_request)(**kwargs)
File "/var/www/www.members.loutilities.com/venv/lib/python3.9/site-packages/flask/views.py", line 188, in dispatch_request
return current_app.ensure_sync(meth)(**kwargs)
File "/var/www/www.members.loutilities.com/venv/lib/python3.9/site-packages/loutilities/tables.py", line 2810, in get
return super(DbCrudApi, self).get()
File "/var/www/www.members.loutilities.com/venv/lib/python3.9/site-packages/loutilities/tables.py", line 1264, in get
return self._renderpage()
File "/var/www/www.members.loutilities.com/venv/lib/python3.9/site-packages/loutilities/tables.py", line 992, in _renderpage
thisentry = self.nexttablerow()
File "/var/www/www.members.loutilities.com/venv/lib/python3.9/site-packages/loutilities/tables.py", line 2899, in nexttablerow
return self.dte.get_response_data(dbrecord)
File "/var/www/www.members.loutilities.com/venv/lib/python3.9/site-packages/loutilities/tables.py", line 370, in get_response_data
data[key] = callback(dbentry)
File "/var/www/www.members.loutilities.com/members/members/members/views/admin/leadership_tasks_admin.py", line 1067, in <lambda>
history_formmapping['task'] = lambda tc: tc.task.task
AttributeError: 'NoneType' object has no attribute 'task'
data exception in tasks > history view. Note this does not affect normal users, only admins