TypeError | Python 3.9.21: /usr/bin/python3 Thu Apr 24 10:18:36 2025 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/var/www/draftmatic/scripts/player.cgi in <module> |
61 cursor.execute(sql) |
62 row = cursor.fetchone() |
=> 63 player_pos = row[8] |
64 player_name = row[1] |
65 player_proteam = row[2] |
player_pos undefined, row = None |
TypeError: 'NoneType' object is not subscriptable
args =
("'NoneType' object is not subscriptable",)
with_traceback =
<built-in method with_traceback of TypeError object>