| <class 'pyodbc.ProgrammingError'> | Python 2.7.12: /usr/bin/python Sat Dec 6 08:21: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/webuser/wwwhome/cgi-bin/encyves/Category.py in |
| 225 |
| 226 displayNetwork("templateSov.htm", db, project, node) |
| 227 |
| 228 |
| => 229 main() |
| main = <function main> |
| /home/webuser/wwwhome/cgi-bin/encyves/Category.py in main() |
| 224 return |
| 225 |
| => 226 displayNetwork("templateSov.htm", db, project, node) |
| 227 |
| 228 |
| global displayNetwork = <function displayNetwork>, db = 's_okehkim', project = 'mokpoPhoto', node = '\xea\xb0\x95\xec\x84\x9d\xeb\xb4\x89' |
| /home/webuser/wwwhome/cgi-bin/encyves/Category.py in displayNetwork(template='templateSov.htm', db='s_okehkim', project='mokpoPhoto', node='\xea\xb0\x95\xec\x84\x9d\xeb\xb4\x89') |
| 202 if not line: break |
| 203 if( '#YourData' == line.strip()): |
| => 204 displayData( db, project, node ) |
| 205 else: |
| 206 print line |
| global displayData = <function displayData>, db = 's_okehkim', project = 'mokpoPhoto', node = '\xea\xb0\x95\xec\x84\x9d\xeb\xb4\x89' |
| /home/webuser/wwwhome/cgi-bin/encyves/Category.py in displayData(database='s_okehkim', project='mokpoPhoto', node='\xea\xb0\x95\xec\x84\x9d\xeb\xb4\x89') |
| 180 command += str1 |
| 181 command += "'" |
| => 182 cur.execute(unicode(command, "utf-8")) |
| 183 if( row[0] == node ): |
| 184 upperCategory = row[2] |
| cur = <pyodbc.Cursor object>, cur.execute = <built-in method execute of pyodbc.Cursor object>, builtin unicode = <type 'unicode'>, command = "select id, class, groupName, label, infoUrl, iconUrl from mokpoPhotoNodes where id='\xea\xb0\x9c\xec\x9d\xb8'" |
<class 'pyodbc.ProgrammingError'>: ('42000', u'[42000] [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]UNION, INTERSECT \ub610\ub294 EXCEPT \uc5f0\uc0b0\uc790\ub97c \uc0ac\uc6a9\ud558\uc5ec \uacb0\ud569\ub41c \ubaa8\ub4e0 \ucffc\ub9ac\uc758 \ub300\uc0c1 \ubaa9\ub85d\uc5d0\ub294 \ub3d9\uc77c\ud55c \uac1c\uc218\uc758 \uc2dd\uc774 \uc788\uc5b4\uc57c \ud569\ub2c8\ub2e4. (205) (SQLExecDirectW)')
args =
('42000', u'[42000] [Microsoft][ODBC Driver 17 for SQL Serve...\uc0c1 \ubaa9\ub85d\uc5d0\ub294 \ub3d9\uc77c\ud55c \uac1c\uc218\uc758 \uc2dd\uc774 \uc788\uc5b4\uc57c \ud569\ub2c8\ub2e4. (205) (SQLExecDirectW)')
message =
''