<type 'exceptions.TypeError'> | Python 2.7.18: /usr/bin/python Thu Nov 21 17:09:11 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.
/home/bfrvhfc/public_html/cgi-bin/LOGS2021/logcheck2021may.py in <module>() |
1489 html_header() |
1490 |
=> 1491 if contest() == False: |
1492 select_contest() |
1493 |
contest = <function contest>, builtin False = False |
/home/bfrvhfc/public_html/cgi-bin/LOGS2021/logcheck2021may.py in contest() |
1406 after_deadline = True |
1407 if after_deadline: |
=> 1408 list_callsign(callsigns, "checked",with_header) |
1409 with_header = False |
1410 list_callsign(callsigns, "claimed", with_header) |
global list_callsign = <function list_callsign>, callsigns = (('OK2OZL', '432'),), with_header = True |
/home/bfrvhfc/public_html/cgi-bin/LOGS2021/logcheck2021may.py in list_callsign(callsigns=(('OK2OZL', '432'),), claimed='checked', with_header=True) |
922 cursor.execute(query) |
923 result = cursor.fetchone() |
=> 924 stroke, home = result |
925 full_call = callsign |
926 if stroke!="": full_call="%s/%s" %(callsign, stroke) |
stroke undefined, home undefined, result = None |
<type 'exceptions.TypeError'>: 'NoneType' object is not iterable
args =
("'NoneType' object is not iterable",)
message =
"'NoneType' object is not iterable"