| <class 'pyodbc.ProgrammingError'> | Python 2.7.12: /usr/bin/python Tue Dec 16 03:24:58 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/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 = '', project = '', condition = '' |
| /home/sandbox/public_html/cgi-bin/Space.py in displayResults(template='templateNmap.htm', db='', project='', 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 = '', project = '', condition = '' |
| /home/sandbox/public_html/cgi-bin/Space.py in displayData(database='', project='', 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, latitude, longitude, encyUrl, infoUrl, iconUrl from Space' |
<class 'pyodbc.ProgrammingError'>: ('42S02', u"[42S02] [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]\uac1c\uccb4 \uc774\ub984 'Space'\uc774(\uac00) \uc798\ubabb\ub418\uc5c8\uc2b5\ub2c8\ub2e4. (208) (SQLExecDirectW)")
args =
('42S02', u"[42S02] [Microsoft][ODBC Driver 17 for SQL Serve...\uac1c\uccb4 \uc774\ub984 'Space'\uc774(\uac00) \uc798\ubabb\ub418\uc5c8\uc2b5\ub2c8\ub2e4. (208) (SQLExecDirectW)")
message =
''