TypeError | Python 3.9.20: /usr/bin/python3 Sun Dec 22 23:32:30 2024 |
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/team.cgi in <module> |
27 cursor.execute(sql) |
28 row = cursor.fetchone() |
=> 29 print("<span class=\"header\">", row[0], "</span><br>", sep="") |
30 print(row[1], "<br>\n", row[2], "<br>\n") |
31 print("<p>\n") |
builtin print = <built-in function print>, row = None, sep undefined |
TypeError: 'NoneType' object is not subscriptable
args =
("'NoneType' object is not subscriptable",)
with_traceback =
<built-in method with_traceback of TypeError object>