<class 'pyodbc.ProgrammingError'>
Python 2.7.12: /usr/bin/python
Sat Dec 6 13:20:29 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/tutor/public_html/cgi-bin/CA/caStory01.py in ()
    181         
    182         displayNetwork("templateSov.htm", node)
    183         #displayData( node )
    184         
=>  185 main()
main = <function main>
 /home/tutor/public_html/cgi-bin/CA/caStory01.py in main()
    180                 node = "왕"
    181         
=>  182         displayNetwork("templateSov.htm", node)
    183         #displayData( node )
    184         
global displayNetwork = <function displayNetwork>, node = '\xec\x99\x95'
 /home/tutor/public_html/cgi-bin/CA/caStory01.py in displayNetwork(template='templateSov.htm', node='\xec\x99\x95')
    162                 if not line: break
    163                 if( '#YourData' == line.strip()):
=>  164                         displayData( node )
    165                 else:
    166                         print line
global displayData = <function displayData>, node = '\xec\x99\x95'
 /home/tutor/public_html/cgi-bin/CA/caStory01.py in displayData(node='\xec\x99\x95')
    124         command3 = ")"
    125         command  = command1 + valuestr + command2 + valuestr + command3
=>  126         cur.execute(unicode(command, "utf-8"))
    127         
    128         edgelist = []
cur = <pyodbc.Cursor object>, cur.execute = <built-in method execute of pyodbc.Cursor object>, builtin unicode = <type 'unicode'>, command = "select source,target,relation from caLinks where (source in (') and (target in (')"

<class 'pyodbc.ProgrammingError'>: ('42000', u"[42000] [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]')' \uadfc\ucc98\uc758 \uad6c\ubb38\uc774 \uc798\ubabb\ub418\uc5c8\uc2b5\ub2c8\ub2e4. (102) (SQLExecDirectW)")
      args = ('42000', u"[42000] [Microsoft][ODBC Driver 17 for SQL Serve...erver]')' \uadfc\ucc98\uc758 \uad6c\ubb38\uc774 \uc798\ubabb\ub418\uc5c8\uc2b5\ub2c8\ub2e4. (102) (SQLExecDirectW)")
      message = ''