<class 'pyodbc.ProgrammingError'> | Python 2.7.12: /usr/bin/python Sun Oct 20 07:06:21 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/sandbox/public_html/cgi-bin/Space.py in |
156 condition = condition.replace("'city", "' and city") |
157 |
158 displayResults("templateNmap.htm", db, project, condition ) |
159 |
=> 160 main() |
main = <function main> |
/home/sandbox/public_html/cgi-bin/Space.py in main() |
156 condition = condition.replace("'city", "' and city") |
157 |
=> 158 displayResults("templateNmap.htm", db, project, condition ) |
159 |
160 main() |
global displayResults = <function displayResults>, db = 's_sunny', project = 'ChungsinyeolsaSpace', condition = '' |
/home/sandbox/public_html/cgi-bin/Space.py in displayResults(template='templateNmap.htm', db='s_sunny', project='ChungsinyeolsaSpace', condition='') |
115 if not line: break |
116 if( '#YourData' == line.strip()): |
=> 117 displayData( db, project, condition ) |
118 else: |
119 print line |
global displayData = <function displayData>, db = 's_sunny', project = 'ChungsinyeolsaSpace', condition = '' |
/home/sandbox/public_html/cgi-bin/Space.py in displayData(database='s_sunny', project='ChungsinyeolsaSpace', condition='') |
86 command = comstring |
87 |
=> 88 cur.execute(unicode(command, "utf-8")) |
89 |
90 poiList = [] |
cur = <pyodbc.Cursor object>, cur.execute = <built-in method execute of pyodbc.Cursor object>, builtin unicode = <type 'unicode'>, command = 'select gid, type, province, city, label, latitud...l, infoUrl, iconUrl from ChungsinyeolsaSpaceSpace' |
<class 'pyodbc.ProgrammingError'>: ('42S02', u"[42S02] [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]\uac1c\uccb4 \uc774\ub984 'ChungsinyeolsaSpaceSpace'\uc774(\uac00) \uc798\ubabb\ub418\uc5c8\uc2b5\ub2c8\ub2e4. (208) (SQLExecDirectW)")
args =
('42S02', u"[42S02] [Microsoft][ODBC Driver 17 for SQL Serve...saSpaceSpace'\uc774(\uac00) \uc798\ubabb\ub418\uc5c8\uc2b5\ub2c8\ub2e4. (208) (SQLExecDirectW)")
message =
''