<type 'exceptions.UnboundLocalError'> | Python 2.7.12: /usr/bin/python Sat Nov 2 07:38:28 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/Story01.py in |
510 |
511 displayData( db, project, account, pwd, node, NetworkLimit ) |
512 |
513 |
=> 514 main() |
main = <function main> |
/home/sandbox/public_html/cgi-bin/Story01.py in main() |
509 if ( NetworkLimit < 1 ): NetworkLimit = 100 |
510 |
=> 511 displayData( db, project, account, pwd, node, NetworkLimit ) |
512 |
513 |
global displayData = <function displayData>, db = 'hanyang2022', project = 'hanyang2022', account = 'guest', pwd = 'guest', node = '\xed\x99\xa9\xeb\xa5\xa0 ', NetworkLimit = 100 |
/home/sandbox/public_html/cgi-bin/Story01.py in displayData(database='hanyang2022', project='hanyang2022', account='guest', password='guest', node='\xed\x99\xa9\xeb\xa5\xa0 ', NetworkLimit=100) |
483 |
484 if( count <= NetworkLimit ): |
=> 485 displayNetwork( nodelist, edgelist, database, project, account, password, node ) |
486 else: |
487 displayList( nodelist, edgelist, database, project, account, password, node ) |
global displayNetwork = <function displayNetwork>, nodelist = [{'class': u'Multimedia', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/3DModel.png', 'id': u'3d-\ud669\ub960', 'infoUrl': u'http://dh.aks.ac.kr/~sandbox/cgi-bin/3dm/ModelView2.py?url=dh.aks.ac.kr/hanyang2/glb/\uc74c\uc2dd/3D-\ud669\ub960.glb', 'label': u'\ud669\ub960 3D \ubaa8\ub378'}, {'class': u'Place', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/architecture.png', 'id': u'\uacfc\uc885\uac00\uac00', 'infoUrl': None, 'label': u'\uacfc\uc885\uac00\uac00 \u679c\u7a2e\u5047\u5bb6'}, {'class': u'Place', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/architecture.png', 'id': u'\uacfc\uc885\ud1a0\uc6b0', 'infoUrl': None, 'label': u'\uacfc\uc885\ud1a0\uc6b0 \u679c\u7a2e\u571f\u5b87'}, {'class': u'Concept', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/concept2.png', 'id': u'\uad81\uc911\uc5f0\ud5a5', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uad81\uc911\uc5f0\ud5a5', 'label': u'\uad81\uc911\uc5f0\ud5a5(\u5bae\u4e2d\u5bb4\u4eab)'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/\uc74c\uc2dd/\ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\ucc2c.jpg', 'id': u'\ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\ucc2c\uc548', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\ucc2c\uc548', 'label': u'\ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\ucc2c\uc548(\u5927\u738b\u5927\u5983\u6bbf\u9032\u5fa1\u994c\u6848)'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/menu.png', 'id': u'\ub9cc\uacbd\uc804_\uc815\uc77c\uc9c4\ucc2c-\ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\ucc2c\uc548', 'infoUrl': None, 'label': u'\ub9cc\uacbd\uc804 \uc815\uc77c\uc9c4\ucc2c \ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\ucc2c\uc548 \u5927\u738b\u5927\u5983\u6bbf\u9032\u5fa1\u994c\u6848'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\ub9d0\ub9b0\ubc24', 'infoUrl': None, 'label': u'\ub9d0\ub9b0\ubc24 \u9ec3\u6817'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/image/2021/\uc74c\uc2dd-049.png', 'id': u'\uc0dd\ub960', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uc0dd\ub960', 'label': u'\uc0dd\ub960'}, {'class': u'Place', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/architecture.png', 'id': u'\uc5b4\uc0c1\uac00\uac00', 'infoUrl': None, 'label': u'\uc5b4\uc0c1\uac00\uac00 \u5fa1\u5e8a\u5047\u5bb6'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/menu.png', 'id': u'\uc784\uc778\ub144-\ubbf8\uc218\uc0c1-\ud314\ubbf8', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\ubbf8\uc218\uc0c1-\ud314\ubbf8', 'label': u'\ud314\ubbf8(\u516b\u5473)'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/menu.png', 'id': u'\ud1b5\uba85\uc804_\uc815\uc77c\uc9c4\ucc2c-\ub0b4\uc9c4\ud5cc\ucc2c\uc548', 'infoUrl': None, 'label': u'\ud1b5\uba85\uc804_\uc815\uc77c\uc9c4\ucc2c-\ub0b4\uc9c4\ud5cc\ucc2c\uc548(\u5167\u9032\u737b\u994c\u6848)'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/menu.png', 'id': u'\ud1b5\uba85\uc804_\uc815\uc77c\uc9c4\ucc2c-\ub300\uc655\ub300\ube44\uc804-\uc9c4\uc5b4\ucc2c\uc548', 'infoUrl': None, 'label': u'\ud1b5\uba85\uc804_\uc815\uc77c\uc9c4\ucc2c-\ub300\uc655\ub300\ube44\uc804-\uc9c4\uc5b4\ucc2c\uc548(\u5927\u738b\u5927\u5983\u6bbf \u9032\u5fa1\u994c\u6848)'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/\uc74c\uc2dd/\uc9c4\ucc2c28_\ud669\ub960.jpg', 'id': u'\ud669\ub960', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\ud669\ub960', 'label': u'\ud669\ub960 \u9ec3\u6817'}, {'class': u'Index', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/bibIndex.png', 'id': u'bib-\ud669\ub960', 'infoUrl': None, 'label': u'\ucc38\uace0\ubb38\ud5cc'}, {'class': u'Index', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/webResource.png', 'id': u'ref-\ud669\ub960', 'infoUrl': None, 'label': u'WWW \ucc38\uc870 \uc790\uc6d0'}], edgelist = [{'attribute': None, 'relation': u'hasReferenceNote', 'source': u'3d-\ud669\ub960', 'target': u'\ud669\ub960'}, {'attribute': None, 'relation': u'cooks', 'source': u'\uacfc\uc885\uac00\uac00', 'target': u'\uc0dd\ub960'}, {'attribute': None, 'relation': u'isPreviousInSequenceTo', 'source': u'\uacfc\uc885\uac00\uac00', 'target': u'\uc5b4\uc0c1\uac00\uac00'}, {'attribute': None, 'relation': u'cooks', 'source': u'\uacfc\uc885\uac00\uac00', 'target': u'\ud669\ub960'}, {'attribute': None, 'relation': u'isPreviousInSequenceTo', 'source': u'\uacfc\uc885\ud1a0\uc6b0', 'target': u'\uacfc\uc885\uac00\uac00'}, {'attribute': None, 'relation': u'prepares', 'source': u'\uacfc\uc885\ud1a0\uc6b0', 'target': u'\uc0dd\ub960'}, {'attribute': None, 'relation': u'prepares', 'source': u'\uacfc\uc885\ud1a0\uc6b0', 'target': u'\ud669\ub960'}, {'attribute': None, 'relation': u'hasPart', 'source': u'\ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\ucc2c\uc548', 'target': u'\uc0dd\ub960'}, {'attribute': None, 'relation': u'hasPart', 'source': u'\ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\ucc2c\uc548', 'target': u'\ud669\ub960'}, {'attribute': u'1\ucc99', 'relation': u'hasPart', 'source': u'\ub9cc\uacbd\uc804_\uc815\uc77c\uc9c4\ucc2c-\ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\ucc2c\uc548', 'target': u'\uc0dd\ub960'}, {'attribute': u'1\ucc99', 'relation': u'hasPart', 'source': u'\ub9cc\uacbd\uc804_\uc815\uc77c\uc9c4\ucc2c-\ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\ucc2c\uc548', 'target': u'\ud669\ub960'}, {'attribute': None, 'relation': u'isUsedIn', 'source': u'\uc0dd\ub960', 'target': u'\uad81\uc911\uc5f0\ud5a5'}, {'attribute': None, 'relation': u'sameAs', 'source': u'\uc0dd\ub960', 'target': u'\ud669\ub960'}, {'attribute': None, 'relation': u'serves', 'source': u'\uc5b4\uc0c1\uac00\uac00', 'target': u'\uc0dd\ub960'}, {'attribute': None, 'relation': u'serves', 'source': u'\uc5b4\uc0c1\uac00\uac00', 'target': u'\ud669\ub960'}, {'attribute': None, 'relation': u'hasPart', 'source': u'\uc784\uc778\ub144-\ubbf8\uc218\uc0c1-\ud314\ubbf8', 'target': u'\ud669\ub960'}, {'attribute': u'1\ucc991\ucd0c', 'relation': u'hasPart', 'source': u'\ud1b5\uba85\uc804_\uc815\uc77c\uc9c4\ucc2c-\ub0b4\uc9c4\ud5cc\ucc2c\uc548', 'target': u'\ud669\ub960'}, {'attribute': u'1\ucc995\ucd0c', 'relation': u'hasPart', 'source': u'\ud1b5\uba85\uc804_\uc815\uc77c\uc9c4\ucc2c-\ub300\uc655\ub300\ube44\uc804-\uc9c4\uc5b4\ucc2c\uc548', 'target': u'\uc0dd\ub960'}, {'attribute': u'1\ucc995\ucd0c', 'relation': u'hasPart', 'source': u'\ud1b5\uba85\uc804_\uc815\uc77c\uc9c4\ucc2c-\ub300\uc655\ub300\ube44\uc804-\uc9c4\uc5b4\ucc2c\uc548', 'target': u'\ud669\ub960'}, {'attribute': None, 'relation': u'isShownBy', 'source': u'\ud669\ub960', 'target': u'3d-\ud669\ub960'}, ...], database = 'hanyang2022', project = 'hanyang2022', account = 'guest', password = 'guest', node = '\xed\x99\xa9\xeb\xa5\xa0 ' |
/home/sandbox/public_html/cgi-bin/Story01.py in displayNetwork(nodelist=[{'class': u'Multimedia', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/3DModel.png', 'id': u'3d-\ud669\ub960', 'infoUrl': u'http://dh.aks.ac.kr/~sandbox/cgi-bin/3dm/ModelView2.py?url=dh.aks.ac.kr/hanyang2/glb/\uc74c\uc2dd/3D-\ud669\ub960.glb', 'label': u'\ud669\ub960 3D \ubaa8\ub378'}, {'class': u'Place', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/architecture.png', 'id': u'\uacfc\uc885\uac00\uac00', 'infoUrl': None, 'label': u'\uacfc\uc885\uac00\uac00 \u679c\u7a2e\u5047\u5bb6'}, {'class': u'Place', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/architecture.png', 'id': u'\uacfc\uc885\ud1a0\uc6b0', 'infoUrl': None, 'label': u'\uacfc\uc885\ud1a0\uc6b0 \u679c\u7a2e\u571f\u5b87'}, {'class': u'Concept', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/concept2.png', 'id': u'\uad81\uc911\uc5f0\ud5a5', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uad81\uc911\uc5f0\ud5a5', 'label': u'\uad81\uc911\uc5f0\ud5a5(\u5bae\u4e2d\u5bb4\u4eab)'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/\uc74c\uc2dd/\ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\ucc2c.jpg', 'id': u'\ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\ucc2c\uc548', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\ucc2c\uc548', 'label': u'\ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\ucc2c\uc548(\u5927\u738b\u5927\u5983\u6bbf\u9032\u5fa1\u994c\u6848)'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/menu.png', 'id': u'\ub9cc\uacbd\uc804_\uc815\uc77c\uc9c4\ucc2c-\ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\ucc2c\uc548', 'infoUrl': None, 'label': u'\ub9cc\uacbd\uc804 \uc815\uc77c\uc9c4\ucc2c \ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\ucc2c\uc548 \u5927\u738b\u5927\u5983\u6bbf\u9032\u5fa1\u994c\u6848'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\ub9d0\ub9b0\ubc24', 'infoUrl': None, 'label': u'\ub9d0\ub9b0\ubc24 \u9ec3\u6817'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/image/2021/\uc74c\uc2dd-049.png', 'id': u'\uc0dd\ub960', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uc0dd\ub960', 'label': u'\uc0dd\ub960'}, {'class': u'Place', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/architecture.png', 'id': u'\uc5b4\uc0c1\uac00\uac00', 'infoUrl': None, 'label': u'\uc5b4\uc0c1\uac00\uac00 \u5fa1\u5e8a\u5047\u5bb6'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/menu.png', 'id': u'\uc784\uc778\ub144-\ubbf8\uc218\uc0c1-\ud314\ubbf8', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\ubbf8\uc218\uc0c1-\ud314\ubbf8', 'label': u'\ud314\ubbf8(\u516b\u5473)'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/menu.png', 'id': u'\ud1b5\uba85\uc804_\uc815\uc77c\uc9c4\ucc2c-\ub0b4\uc9c4\ud5cc\ucc2c\uc548', 'infoUrl': None, 'label': u'\ud1b5\uba85\uc804_\uc815\uc77c\uc9c4\ucc2c-\ub0b4\uc9c4\ud5cc\ucc2c\uc548(\u5167\u9032\u737b\u994c\u6848)'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/menu.png', 'id': u'\ud1b5\uba85\uc804_\uc815\uc77c\uc9c4\ucc2c-\ub300\uc655\ub300\ube44\uc804-\uc9c4\uc5b4\ucc2c\uc548', 'infoUrl': None, 'label': u'\ud1b5\uba85\uc804_\uc815\uc77c\uc9c4\ucc2c-\ub300\uc655\ub300\ube44\uc804-\uc9c4\uc5b4\ucc2c\uc548(\u5927\u738b\u5927\u5983\u6bbf \u9032\u5fa1\u994c\u6848)'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/\uc74c\uc2dd/\uc9c4\ucc2c28_\ud669\ub960.jpg', 'id': u'\ud669\ub960', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\ud669\ub960', 'label': u'\ud669\ub960 \u9ec3\u6817'}, {'class': u'Index', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/bibIndex.png', 'id': u'bib-\ud669\ub960', 'infoUrl': None, 'label': u'\ucc38\uace0\ubb38\ud5cc'}, {'class': u'Index', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/webResource.png', 'id': u'ref-\ud669\ub960', 'infoUrl': None, 'label': u'WWW \ucc38\uc870 \uc790\uc6d0'}], edgelist=[{'attribute': None, 'relation': u'hasReferenceNote', 'source': u'3d-\ud669\ub960', 'target': u'\ud669\ub960'}, {'attribute': None, 'relation': u'cooks', 'source': u'\uacfc\uc885\uac00\uac00', 'target': u'\uc0dd\ub960'}, {'attribute': None, 'relation': u'isPreviousInSequenceTo', 'source': u'\uacfc\uc885\uac00\uac00', 'target': u'\uc5b4\uc0c1\uac00\uac00'}, {'attribute': None, 'relation': u'cooks', 'source': u'\uacfc\uc885\uac00\uac00', 'target': u'\ud669\ub960'}, {'attribute': None, 'relation': u'isPreviousInSequenceTo', 'source': u'\uacfc\uc885\ud1a0\uc6b0', 'target': u'\uacfc\uc885\uac00\uac00'}, {'attribute': None, 'relation': u'prepares', 'source': u'\uacfc\uc885\ud1a0\uc6b0', 'target': u'\uc0dd\ub960'}, {'attribute': None, 'relation': u'prepares', 'source': u'\uacfc\uc885\ud1a0\uc6b0', 'target': u'\ud669\ub960'}, {'attribute': None, 'relation': u'hasPart', 'source': u'\ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\ucc2c\uc548', 'target': u'\uc0dd\ub960'}, {'attribute': None, 'relation': u'hasPart', 'source': u'\ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\ucc2c\uc548', 'target': u'\ud669\ub960'}, {'attribute': u'1\ucc99', 'relation': u'hasPart', 'source': u'\ub9cc\uacbd\uc804_\uc815\uc77c\uc9c4\ucc2c-\ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\ucc2c\uc548', 'target': u'\uc0dd\ub960'}, {'attribute': u'1\ucc99', 'relation': u'hasPart', 'source': u'\ub9cc\uacbd\uc804_\uc815\uc77c\uc9c4\ucc2c-\ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\ucc2c\uc548', 'target': u'\ud669\ub960'}, {'attribute': None, 'relation': u'isUsedIn', 'source': u'\uc0dd\ub960', 'target': u'\uad81\uc911\uc5f0\ud5a5'}, {'attribute': None, 'relation': u'sameAs', 'source': u'\uc0dd\ub960', 'target': u'\ud669\ub960'}, {'attribute': None, 'relation': u'serves', 'source': u'\uc5b4\uc0c1\uac00\uac00', 'target': u'\uc0dd\ub960'}, {'attribute': None, 'relation': u'serves', 'source': u'\uc5b4\uc0c1\uac00\uac00', 'target': u'\ud669\ub960'}, {'attribute': None, 'relation': u'hasPart', 'source': u'\uc784\uc778\ub144-\ubbf8\uc218\uc0c1-\ud314\ubbf8', 'target': u'\ud669\ub960'}, {'attribute': u'1\ucc991\ucd0c', 'relation': u'hasPart', 'source': u'\ud1b5\uba85\uc804_\uc815\uc77c\uc9c4\ucc2c-\ub0b4\uc9c4\ud5cc\ucc2c\uc548', 'target': u'\ud669\ub960'}, {'attribute': u'1\ucc995\ucd0c', 'relation': u'hasPart', 'source': u'\ud1b5\uba85\uc804_\uc815\uc77c\uc9c4\ucc2c-\ub300\uc655\ub300\ube44\uc804-\uc9c4\uc5b4\ucc2c\uc548', 'target': u'\uc0dd\ub960'}, {'attribute': u'1\ucc995\ucd0c', 'relation': u'hasPart', 'source': u'\ud1b5\uba85\uc804_\uc815\uc77c\uc9c4\ucc2c-\ub300\uc655\ub300\ube44\uc804-\uc9c4\uc5b4\ucc2c\uc548', 'target': u'\ud669\ub960'}, {'attribute': None, 'relation': u'isShownBy', 'source': u'\ud669\ub960', 'target': u'3d-\ud669\ub960'}, ...], database='hanyang2022', project='hanyang2022', account='guest', password='guest', node='\xed\x99\xa9\xeb\xa5\xa0 ') |
342 if not line: break |
343 if( '#YourData' == line.strip()): |
=> 344 printNodes( nodelist, database, project, account, password, node ) |
345 printLinks( edgelist, node, account ) |
346 else: |
global printNodes = <function printNodes>, nodelist = [{'class': u'Multimedia', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/3DModel.png', 'id': u'3d-\ud669\ub960', 'infoUrl': u'http://dh.aks.ac.kr/~sandbox/cgi-bin/3dm/ModelView2.py?url=dh.aks.ac.kr/hanyang2/glb/\uc74c\uc2dd/3D-\ud669\ub960.glb', 'label': u'\ud669\ub960 3D \ubaa8\ub378'}, {'class': u'Place', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/architecture.png', 'id': u'\uacfc\uc885\uac00\uac00', 'infoUrl': None, 'label': u'\uacfc\uc885\uac00\uac00 \u679c\u7a2e\u5047\u5bb6'}, {'class': u'Place', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/architecture.png', 'id': u'\uacfc\uc885\ud1a0\uc6b0', 'infoUrl': None, 'label': u'\uacfc\uc885\ud1a0\uc6b0 \u679c\u7a2e\u571f\u5b87'}, {'class': u'Concept', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/concept2.png', 'id': u'\uad81\uc911\uc5f0\ud5a5', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uad81\uc911\uc5f0\ud5a5', 'label': u'\uad81\uc911\uc5f0\ud5a5(\u5bae\u4e2d\u5bb4\u4eab)'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/\uc74c\uc2dd/\ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\ucc2c.jpg', 'id': u'\ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\ucc2c\uc548', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\ucc2c\uc548', 'label': u'\ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\ucc2c\uc548(\u5927\u738b\u5927\u5983\u6bbf\u9032\u5fa1\u994c\u6848)'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/menu.png', 'id': u'\ub9cc\uacbd\uc804_\uc815\uc77c\uc9c4\ucc2c-\ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\ucc2c\uc548', 'infoUrl': None, 'label': u'\ub9cc\uacbd\uc804 \uc815\uc77c\uc9c4\ucc2c \ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\ucc2c\uc548 \u5927\u738b\u5927\u5983\u6bbf\u9032\u5fa1\u994c\u6848'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\ub9d0\ub9b0\ubc24', 'infoUrl': None, 'label': u'\ub9d0\ub9b0\ubc24 \u9ec3\u6817'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/image/2021/\uc74c\uc2dd-049.png', 'id': u'\uc0dd\ub960', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uc0dd\ub960', 'label': u'\uc0dd\ub960'}, {'class': u'Place', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/architecture.png', 'id': u'\uc5b4\uc0c1\uac00\uac00', 'infoUrl': None, 'label': u'\uc5b4\uc0c1\uac00\uac00 \u5fa1\u5e8a\u5047\u5bb6'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/menu.png', 'id': u'\uc784\uc778\ub144-\ubbf8\uc218\uc0c1-\ud314\ubbf8', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\ubbf8\uc218\uc0c1-\ud314\ubbf8', 'label': u'\ud314\ubbf8(\u516b\u5473)'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/menu.png', 'id': u'\ud1b5\uba85\uc804_\uc815\uc77c\uc9c4\ucc2c-\ub0b4\uc9c4\ud5cc\ucc2c\uc548', 'infoUrl': None, 'label': u'\ud1b5\uba85\uc804_\uc815\uc77c\uc9c4\ucc2c-\ub0b4\uc9c4\ud5cc\ucc2c\uc548(\u5167\u9032\u737b\u994c\u6848)'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/menu.png', 'id': u'\ud1b5\uba85\uc804_\uc815\uc77c\uc9c4\ucc2c-\ub300\uc655\ub300\ube44\uc804-\uc9c4\uc5b4\ucc2c\uc548', 'infoUrl': None, 'label': u'\ud1b5\uba85\uc804_\uc815\uc77c\uc9c4\ucc2c-\ub300\uc655\ub300\ube44\uc804-\uc9c4\uc5b4\ucc2c\uc548(\u5927\u738b\u5927\u5983\u6bbf \u9032\u5fa1\u994c\u6848)'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/\uc74c\uc2dd/\uc9c4\ucc2c28_\ud669\ub960.jpg', 'id': u'\ud669\ub960', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\ud669\ub960', 'label': u'\ud669\ub960 \u9ec3\u6817'}, {'class': u'Index', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/bibIndex.png', 'id': u'bib-\ud669\ub960', 'infoUrl': None, 'label': u'\ucc38\uace0\ubb38\ud5cc'}, {'class': u'Index', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/webResource.png', 'id': u'ref-\ud669\ub960', 'infoUrl': None, 'label': u'WWW \ucc38\uc870 \uc790\uc6d0'}], database = 'hanyang2022', project = 'hanyang2022', account = 'guest', password = 'guest', node = '\xed\x99\xa9\xeb\xa5\xa0 ' |
/home/sandbox/public_html/cgi-bin/Story01.py in printNodes(nodelist=[{'class': u'Multimedia', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/3DModel.png', 'id': u'3d-\ud669\ub960', 'infoUrl': u'http://dh.aks.ac.kr/~sandbox/cgi-bin/3dm/ModelView2.py?url=dh.aks.ac.kr/hanyang2/glb/\uc74c\uc2dd/3D-\ud669\ub960.glb', 'label': u'\ud669\ub960 3D \ubaa8\ub378'}, {'class': u'Place', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/architecture.png', 'id': u'\uacfc\uc885\uac00\uac00', 'infoUrl': None, 'label': u'\uacfc\uc885\uac00\uac00 \u679c\u7a2e\u5047\u5bb6'}, {'class': u'Place', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/architecture.png', 'id': u'\uacfc\uc885\ud1a0\uc6b0', 'infoUrl': None, 'label': u'\uacfc\uc885\ud1a0\uc6b0 \u679c\u7a2e\u571f\u5b87'}, {'class': u'Concept', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/concept2.png', 'id': u'\uad81\uc911\uc5f0\ud5a5', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uad81\uc911\uc5f0\ud5a5', 'label': u'\uad81\uc911\uc5f0\ud5a5(\u5bae\u4e2d\u5bb4\u4eab)'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/\uc74c\uc2dd/\ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\ucc2c.jpg', 'id': u'\ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\ucc2c\uc548', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\ucc2c\uc548', 'label': u'\ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\ucc2c\uc548(\u5927\u738b\u5927\u5983\u6bbf\u9032\u5fa1\u994c\u6848)'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/menu.png', 'id': u'\ub9cc\uacbd\uc804_\uc815\uc77c\uc9c4\ucc2c-\ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\ucc2c\uc548', 'infoUrl': None, 'label': u'\ub9cc\uacbd\uc804 \uc815\uc77c\uc9c4\ucc2c \ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\ucc2c\uc548 \u5927\u738b\u5927\u5983\u6bbf\u9032\u5fa1\u994c\u6848'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\ub9d0\ub9b0\ubc24', 'infoUrl': None, 'label': u'\ub9d0\ub9b0\ubc24 \u9ec3\u6817'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/image/2021/\uc74c\uc2dd-049.png', 'id': u'\uc0dd\ub960', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uc0dd\ub960', 'label': u'\uc0dd\ub960'}, {'class': u'Place', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/architecture.png', 'id': u'\uc5b4\uc0c1\uac00\uac00', 'infoUrl': None, 'label': u'\uc5b4\uc0c1\uac00\uac00 \u5fa1\u5e8a\u5047\u5bb6'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/menu.png', 'id': u'\uc784\uc778\ub144-\ubbf8\uc218\uc0c1-\ud314\ubbf8', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\ubbf8\uc218\uc0c1-\ud314\ubbf8', 'label': u'\ud314\ubbf8(\u516b\u5473)'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/menu.png', 'id': u'\ud1b5\uba85\uc804_\uc815\uc77c\uc9c4\ucc2c-\ub0b4\uc9c4\ud5cc\ucc2c\uc548', 'infoUrl': None, 'label': u'\ud1b5\uba85\uc804_\uc815\uc77c\uc9c4\ucc2c-\ub0b4\uc9c4\ud5cc\ucc2c\uc548(\u5167\u9032\u737b\u994c\u6848)'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/menu.png', 'id': u'\ud1b5\uba85\uc804_\uc815\uc77c\uc9c4\ucc2c-\ub300\uc655\ub300\ube44\uc804-\uc9c4\uc5b4\ucc2c\uc548', 'infoUrl': None, 'label': u'\ud1b5\uba85\uc804_\uc815\uc77c\uc9c4\ucc2c-\ub300\uc655\ub300\ube44\uc804-\uc9c4\uc5b4\ucc2c\uc548(\u5927\u738b\u5927\u5983\u6bbf \u9032\u5fa1\u994c\u6848)'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/\uc74c\uc2dd/\uc9c4\ucc2c28_\ud669\ub960.jpg', 'id': u'\ud669\ub960', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\ud669\ub960', 'label': u'\ud669\ub960 \u9ec3\u6817'}, {'class': u'Index', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/bibIndex.png', 'id': u'bib-\ud669\ub960', 'infoUrl': None, 'label': u'\ucc38\uace0\ubb38\ud5cc'}, {'class': u'Index', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/webResource.png', 'id': u'ref-\ud669\ub960', 'infoUrl': None, 'label': u'WWW \ucc38\uc870 \uc790\uc6d0'}], database='hanyang2022', project='hanyang2022', account='guest', password='guest', subject='\xed\x99\xa9\xeb\xa5\xa0 ') |
225 |
226 #add show-all-story-nodes button |
=> 227 if( subjectClass == 'Story' ) : |
228 print " nodesArray.push({" |
229 print " id: 'switch1'," |
subjectClass undefined |
<type 'exceptions.UnboundLocalError'>: local variable 'subjectClass' referenced before assignment
args =
("local variable 'subjectClass' referenced before assignment",)
message =
"local variable 'subjectClass' referenced before assignment"