<class 'pyodbc.ProgrammingError'> | Python 2.7.12: /usr/bin/python Thu Jun 27 02:16:04 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/jisun/public_html/cgi-bin/Story01.py in |
302 |
303 displayNetwork("templateSov.htm", db, project, node) |
304 #displayData( node ) |
305 |
=> 306 main() |
main = <function main> |
/home/jisun/public_html/cgi-bin/Story01.py in main() |
301 return |
302 |
=> 303 displayNetwork("templateSov.htm", db, project, node) |
304 #displayData( node ) |
305 |
global displayNetwork = <function displayNetwork>, db = 's_jisun', project = 'NKH2', node = '\xea\xb3\xa0\xea\xb3\xa0\xeb\xaf\xbc\xec\x86\x8d_1966-2' |
/home/jisun/public_html/cgi-bin/Story01.py in displayNetwork(template='templateSov.htm', db='s_jisun', project='NKH2', node='\xea\xb3\xa0\xea\xb3\xa0\xeb\xaf\xbc\xec\x86\x8d_1966-2') |
279 if not line: break |
280 if( '#YourData' == line.strip()): |
=> 281 displayData( db, project, node ) |
282 else: |
283 print line |
global displayData = <function displayData>, db = 's_jisun', project = 'NKH2', node = '\xea\xb3\xa0\xea\xb3\xa0\xeb\xaf\xbc\xec\x86\x8d_1966-2' |
/home/jisun/public_html/cgi-bin/Story01.py in displayData(database='s_jisun', project='NKH2', node='\xea\xb3\xa0\xea\xb3\xa0\xeb\xaf\xbc\xec\x86\x8d_1966-2') |
241 command = command1 + valuestr + command2 + valuestr |
242 |
=> 243 cur.execute(unicode(command, "utf-8")) |
244 |
245 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 NKH2Links whe...'\xec\xb7\xa8\xea\xb5\xb0(\xe8\x81\x9a\xe8\xbb\x8d)\xeb\x86\x80\xec\x9d\xb4',N'\xed\x8f\x89\xec\x96\x91\xec\x84\xb1\xec\x97\x90_\xeb\x8c\x80\xed\x95\x98\xec\x97\xac')" |
<class 'pyodbc.ProgrammingError'>: ('42000', u"[42000] [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]'\uc9d0\uc2b9\uc5d0_\ub300\ud558\uc5ec' \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...'\uc9d0\uc2b9\uc5d0_\ub300\ud558\uc5ec' \uadfc\ucc98\uc758 \uad6c\ubb38\uc774 \uc798\ubabb\ub418\uc5c8\uc2b5\ub2c8\ub2e4. (102) (SQLExecDirectW)")
message =
''