<type 'exceptions.TypeError'> | Python 2.7.18: /usr/bin/python Sun Nov 10 20:49:50 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/logcheck2021jun.py in <module>() |
1504 html_header() |
1505 |
=> 1506 if contest() == False: |
1507 select_contest() |
1508 |
contest = <function contest>, builtin False = False |
/home/bfrvhfc/public_html/cgi-bin/LOGS2021/logcheck2021jun.py in contest() |
1421 #after_deadline = True |
1422 if after_deadline: |
=> 1423 list_callsign(callsigns, "checked",with_header) |
1424 with_header = False |
1425 list_callsign(callsigns, "claimed", with_header) |
global list_callsign = <function list_callsign>, callsigns = (('DL1SUZ', '5.7'),), with_header = True |
/home/bfrvhfc/public_html/cgi-bin/LOGS2021/logcheck2021jun.py in list_callsign(callsigns=(('DL1SUZ', '5.7'),), claimed='checked', with_header=True) |
936 cursor.execute(query) |
937 result = cursor.fetchone() |
=> 938 stroke, home = result |
939 full_call = callsign |
940 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"