esitarski/RaceDB

Show Participants on new event crashing

Opened this issue · 1 comments

Using latest release RaceDB v3.0.106-20240916102133

NameError at /RaceDB/1/Competitions/CompetitionDashboard/388/Participants/388/

name 'participant' is not defined
Request Method: GET
http://localhost:9080/RaceDB/1/Competitions/CompetitionDashboard/388/Participants/388/
5.1.1
NameError
name 'participant' is not defined
/RaceDB/core/participant.py, line 300, in Participants
core.WriteLog.new_f
/usr/local/bin/python
3.10.15
['/RaceDB', '/RaceDB', '/usr/local/lib/python310.zip', '/usr/local/lib/python3.10', '/usr/local/lib/python3.10/lib-dynload', '/usr/local/lib/python3.10/site-packages', '/usr/local/lib/python3.10/site-packages/rfidproxy-1.2.0-py3.10.egg', '/usr/local/lib/python3.10/site-packages/python_dotenv-1.0.1-py3.10.egg', '/usr/local/lib/python3.10/site-packages/jaraco.docker-2.3.0-py3.10.egg', '/usr/local/lib/python3.10/site-packages/jaraco.context-6.0.1-py3.10.egg', '/usr/local/lib/python3.10/site-packages/jaraco.functools-4.0.2-py3.10.egg', '/usr/local/lib/python3.10/site-packages/backports.tarfile-1.2.0-py3.10.egg', '/usr/local/lib/python3.10/site-packages/more_itertools-10.5.0-py3.10.egg']
Thu, 03 Oct 2024 15:20:26 -0700

Strange ... I reloaded my data. Base database loaded via racedb-import.json. Then loaded license_holders information via import from excel. Then loaded additional license_holders information associated with particular new event. Then loaded pre-reg participant information. However after redoing all that, the error condition no longer exists. I am uncertain as to what was done differently this second time. The participant display no-longer errors.