TypeError |
Python 3.12.3: /home/bfrvhfc/public_html/cgi-bin/LOGS2021/../../../.venv/bin/python Tue Jul 15 04:13:04 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.
/home/bfrvhfc/public_html/cgi-bin/LOGS2021/logcheck2021may.py in <module> |
1722 html_header() |
1723 |
=> 1724 if contest() == False: |
1725 select_contest() |
1726 |
contest = <function contest> |
/home/bfrvhfc/public_html/cgi-bin/LOGS2021/logcheck2021may.py in contest() |
1632 after_deadline = True |
1633 if after_deadline: |
=> 1634 list_callsign(callsigns, "checked", with_header) |
1635 with_header = False |
1636 list_callsign(callsigns, "claimed", with_header) |
global list_callsign = <function list_callsign>, callsigns = (('OK2R', '432'),), with_header = True |
/home/bfrvhfc/public_html/cgi-bin/LOGS2021/logcheck2021may.py in list_callsign(callsigns=(('OK2R', '432'),), claimed='checked', with_header=True) |
966 cursor.execute(query) |
967 result = cursor.fetchone() |
=> 968 stroke, home = result |
969 full_call = callsign |
970 if stroke != "": full_call = "%s/%s" % (callsign, stroke) |
stroke undefined, home undefined, result = None |
TypeError: cannot unpack non-iterable NoneType object
add_note =
<built-in method add_note of TypeError object>
args =
('cannot unpack non-iterable NoneType object',)
with_traceback =
<built-in method with_traceback of TypeError object>