--> -->
      
       
  
  
InternalError | 
Python 3.12.3: /home/bfrvhfc/public_html/cgi-bin/LOGS2024/../../../.venv/bin/python Tue Nov  4 04:29:01 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/LOGS2024/logcheck2024may.py in contest() | 
   1771         callsigns = ((view_call, view_band),) 
 | 
   1772         print("""<div id="main">""") 
 | 
=> 1773         permitted_logs(rcall, code) 
 | 
   1774         with_header = True 
 | 
   1775         if after_deadline: 
 | 
| global permitted_logs = <function permitted_logs>, global rcall = 'NOCALL', global code = '000000' | 
|  /home/bfrvhfc/public_html/cgi-bin/LOGS2024/logcheck2024may.py in permitted_logs(rcall='NOCALL', code='000000') | 
    156     query = """select pass from  users where user="%s" and contest="%s" """ % ( 
 | 
    157     rcall, table) 
 | 
=>  158     cursor.execute(query) 
 | 
    159     try: 
 | 
    160         passw = cursor.fetchone()[0] 
 | 
| global cursor = <mysql.connector.cursor_cext.CMySQLCursor object>, cursor.execute = <bound method CMySQLCursor.execute of <mysql.connector.cursor_cext.CMySQLCursor object>>, query = 'select pass from  users where user="NOCALL" and contest="2024may" ' | 
|  /home/bfrvhfc/.venv/lib/python3.12/site-packages/mysql/connector/cursor_cext.py in execute(self=<mysql.connector.cursor_cext.CMySQLCursor object>, operation='select pass from  users where user="NOCALL" and contest="2024may" ', params=(), map_results=False) | 
    311             raise ProgrammingError("Cursor is not connected", 2055) from err 
 | 
    312  
 | 
=>  313         self._connection.handle_unread_result() 
 | 
    314         self.reset() 
 | 
    315  
 | 
| self = <mysql.connector.cursor_cext.CMySQLCursor object>, self._connection = <weakproxy at 0x742cbff461b0 to CMySQLConnection>, self._connection.handle_unread_result = <bound method CMySQLConnection.handle_unread_res...nnector.connection_cext.CMySQLConnection object>> | 
InternalError: Unread result found
      add_note =
<built-in method add_note of InternalError object>
      args =
(-1, 'Unread result found', None)
      errno =
-1
      msg =
'Unread result found'
      sqlstate =
None
      with_traceback =
<built-in method with_traceback of InternalError object>