| <type 'exceptions.NameError'> | Python 2.7.12: /usr/bin/python Mon Dec 15 21:29:20 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/SemanticWikiPage.py in |
| 199 #node=decode(node) |
| 200 |
| 201 displayResults("templateLst.htm", db, project, node) |
| 202 |
| => 203 main() |
| main = <function main> |
| /home/sandbox/public_html/cgi-bin/SemanticWikiPage.py in main() |
| 199 #node=decode(node) |
| 200 |
| => 201 displayResults("templateLst.htm", db, project, node) |
| 202 |
| 203 main() |
| global displayResults = <function displayResults>, db = 'hanyang2022', project = 'hanyang2022', node = '\xec\xb5\x9c\xec\x9d\x80-\xe5\xb4\x94\xf0\xa8\x8f\x88' |
| /home/sandbox/public_html/cgi-bin/SemanticWikiPage.py in displayResults(template='templateLst.htm', database='hanyang2022', project='hanyang2022', node='\xec\xb5\x9c\xec\x9d\x80-\xe5\xb4\x94\xf0\xa8\x8f\x88') |
| 175 if not line: break |
| 176 if( '#YourData' == line.strip()): |
| => 177 displayData( database, project, node ) |
| 178 else: |
| 179 print line |
| global displayData = <function displayData>, database = 'hanyang2022', project = 'hanyang2022', node = '\xec\xb5\x9c\xec\x9d\x80-\xe5\xb4\x94\xf0\xa8\x8f\x88' |
| /home/sandbox/public_html/cgi-bin/SemanticWikiPage.py in displayData(database='hanyang2022', project='hanyang2022', node='\xec\xb5\x9c\xec\x9d\x80-\xe5\xb4\x94\xf0\xa8\x8f\x88') |
| 61 |
| 62 if( count == 0 ): |
| => 63 sayMessage( 3 ) |
| 64 return |
| 65 |
| sayMessage undefined |
<type 'exceptions.NameError'>: global name 'sayMessage' is not defined
args =
("global name 'sayMessage' is not defined",)
message =
"global name 'sayMessage' is not defined"