<type 'exceptions.TypeError'> | Python 2.7.18: /usr/bin/python Wed Dec 18 02:58:36 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/logcheck2021jul.py in <module>() |
1517 html_header() |
1518 |
=> 1519 if contest() == False: |
1520 select_contest() |
1521 |
contest = <function contest>, builtin False = False |
/home/bfrvhfc/public_html/cgi-bin/LOGS2021/logcheck2021jul.py in contest() |
1434 #after_deadline = True |
1435 if after_deadline: |
=> 1436 list_callsign(callsigns, "checked",with_header) |
1437 with_header = False |
1438 list_callsign(callsigns, "claimed", with_header) |
global list_callsign = <function list_callsign>, callsigns = (('LY1KAP', '50'),), with_header = True |
/home/bfrvhfc/public_html/cgi-bin/LOGS2021/logcheck2021jul.py in list_callsign(callsigns=(('LY1KAP', '50'),), claimed='checked', with_header=True) |
948 cursor.execute(query) |
949 result = cursor.fetchone() |
=> 950 stroke, home = result |
951 full_call = callsign |
952 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"