<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 = '\xea\xb0\x81\xec\x83\x89\xea\xb2\xbd\xec\xa6\x9d\xeb\xb3\x91 ', NetworkLimit = 100 |
/home/sandbox/public_html/cgi-bin/Story01.py in displayData(database='hanyang2022', project='hanyang2022', account='guest', password='guest', node='\xea\xb0\x81\xec\x83\x89\xea\xb2\xbd\xec\xa6\x9d\xeb\xb3\x91 ', 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-\uac01\uc0c9\uacbd\uc99d\ubcd1', 'infoUrl': u'http://dh.aks.ac.kr/~sandbox/cgi-bin/3dm/ModelView2.py?url=dh.aks.ac.kr/hanyang2/glb/\uc74c\uc2dd/3D-\uac01\uc0c9\uacbd\uc99d\ubcd1.glb', 'label': u'\uac01\uc0c9\uacbd\uc99d\ubcd1 3D \ubaa8\ub378'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/\uc7ac\ud604\ub300\uc0c1/\uc74c\uc2dd-001.png', 'id': u'\uac01\uc0c9\uacbd\uc99d\ubcd1', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uac01\uc0c9\uacbd\uc99d\ubcd1', 'label': u'\uac01\uc0c9\uacbd\uc99d\ubcd1'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/menu.png', 'id': u'\uadfc\uc815\uc804_\uc9c4\ucc2c-\ub300\uc804-\uc9c4\uc5b4\ub300\ud0c1\ucc2c\uc548', 'infoUrl': None, 'label': u'\uadfc\uc815\uc804 \uc9c4\ucc2c \ub300\uc804 \uc9c4\uc5b4\ub300\ud0c1\ucc2c\uc548(\u5927\u6bbf \u9032\u5fa1\u5927\u5353\u994c\u6848)'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\ub179\ub450\uacbd\uc99d\ubcd1', 'infoUrl': None, 'label': u'\ub179\ub450\uacbd\uc99d\ubcd1 \u83c9\u8c46\u7cb3\u7511\u9920'}, {'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'Place', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/architecture.png', 'id': u'\uba74\ubcd1\uac00\uac00', 'infoUrl': None, 'label': u'\uba74\ubcd1\uac00\uac00 \u9eb5\u9920\u5047\u5bb6'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\ubc00\uc124\uae30', 'infoUrl': None, 'label': u'\ubc00\uc124\uae30 \u871c\u96ea\u53ea'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\ubc31\ub450\uacbd\uc99d\ubcd1', 'infoUrl': None, 'label': u'\ubc31\ub450\uacbd\uc99d\ubcd1 \u767d\u8c46\u7cb3\u7511\u9920'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\ubc31\uc124\uae30', 'infoUrl': u'https://terms.naver.com/entry.naver?docId=557066&cid=46672&categoryId=46672', 'label': u'\ubc31\uc124\uae30 \u767d\u96ea\u53ea'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\uc11d\uc774\uacbd\uc99d\ubcd1', 'infoUrl': None, 'label': u'\uc11d\uc774\uacbd\uc99d\ubcd1 \u77f3\u8033\u7cb3\u7511\u9920'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\uc2e0\uac10\ucd08\uacbd\uc99d\ubcd1', 'infoUrl': u'https://terms.naver.com/entry.naver?docId=1746827&cid=49279&categoryId=49279', 'label': u'\uc2e0\uac10\ucd08\uacbd\uc99d\ubcd1 \u8f9b\u7518\u8349\u7cb3\u7511\u9920'}, {'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'\uc911\ud654\uc804_\uc9c4\uc5f0-\ub300\uc804-\uc9c4\uc5b4\ub300\ud0c1\ucc2c\uc548', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uc911\ud654\uc804_\uc9c4\uc5f0-\ub300\uc804-\uc9c4\uc5b4\ub300\ud0c1\ucc2c\uc548', 'label': u'\uc911\ud654\uc804 \uc9c4\uc5f0 \ub300\uc804 \uc9c4\uc5b4\ub300\ud0c1\ucc2c\uc548(\u5927\u6bbf \u9032\u5fa1\u5927\u5353\u994c\u6848)'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/menu.png', 'id': u'\uc911\ud654\uc804_\uc9c4\uc5f0-\ud669\ud0dc\uc790\uad81-\uc9c4\ucc2c\uc548', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uc911\ud654\uc804_\uc9c4\uc5f0-\ud669\ud0dc\uc790\uad81-\uc9c4\ucc2c\uc548', 'label': u'\uc911\ud654\uc804 \uc9c4\uc5f0 \ud669\ud0dc\uc790\uad81 \uc9c4\ucc2c\uc548(\u7687\u592a\u5b50\u5bae \u9032\u994c\u6848)'}, {'class': u'Index', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/bibIndex.png', 'id': u'bib-\uac01\uc0c9\uacbd\uc99d\ubcd1', '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-\uac01\uc0c9\uacbd\uc99d\ubcd1', 'infoUrl': None, 'label': u'WWW \ucc38\uc870 \uc790\uc6d0'}], edgelist = [{'attribute': None, 'relation': u'hasReferenceNote', 'source': u'3d-\uac01\uc0c9\uacbd\uc99d\ubcd1', 'target': u'\uac01\uc0c9\uacbd\uc99d\ubcd1'}, {'attribute': None, 'relation': u'isShownBy', 'source': u'\uac01\uc0c9\uacbd\uc99d\ubcd1', 'target': u'3d-\uac01\uc0c9\uacbd\uc99d\ubcd1'}, {'attribute': None, 'relation': u'includes', 'source': u'\uac01\uc0c9\uacbd\uc99d\ubcd1', 'target': u'\ub179\ub450\uacbd\uc99d\ubcd1'}, {'attribute': None, 'relation': u'includes', 'source': u'\uac01\uc0c9\uacbd\uc99d\ubcd1', 'target': u'\ubc00\uc124\uae30'}, {'attribute': None, 'relation': u'includes', 'source': u'\uac01\uc0c9\uacbd\uc99d\ubcd1', 'target': u'\ubc31\ub450\uacbd\uc99d\ubcd1'}, {'attribute': None, 'relation': u'includes', 'source': u'\uac01\uc0c9\uacbd\uc99d\ubcd1', 'target': u'\ubc31\uc124\uae30'}, {'attribute': None, 'relation': u'includes', 'source': u'\uac01\uc0c9\uacbd\uc99d\ubcd1', 'target': u'\uc11d\uc774\uacbd\uc99d\ubcd1'}, {'attribute': None, 'relation': u'includes', 'source': u'\uac01\uc0c9\uacbd\uc99d\ubcd1', 'target': u'\uc2e0\uac10\ucd08\uacbd\uc99d\ubcd1'}, {'attribute': None, 'relation': u'bibliography', 'source': u'\uac01\uc0c9\uacbd\uc99d\ubcd1', 'target': u'bib-\uac01\uc0c9\uacbd\uc99d\ubcd1'}, {'attribute': None, 'relation': u'onlineReference', 'source': u'\uac01\uc0c9\uacbd\uc99d\ubcd1', 'target': u'ref-\uac01\uc0c9\uacbd\uc99d\ubcd1'}, {'attribute': None, 'relation': u'hasPart', 'source': u'\uadfc\uc815\uc804_\uc9c4\ucc2c-\ub300\uc804-\uc9c4\uc5b4\ub300\ud0c1\ucc2c\uc548', 'target': u'\uac01\uc0c9\uacbd\uc99d\ubcd1'}, {'attribute': u'1\ucc993\ucd0c', 'relation': u'hasPart', 'source': u'\ub9cc\uacbd\uc804_\uc815\uc77c\uc9c4\ucc2c-\ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\ucc2c\uc548', 'target': u'\uac01\uc0c9\uacbd\uc99d\ubcd1'}, {'attribute': None, 'relation': u'cooks', 'source': u'\uba74\ubcd1\uac00\uac00', 'target': u'\uac01\uc0c9\uacbd\uc99d\ubcd1'}, {'attribute': None, 'relation': u'cooks', 'source': u'\uba74\ubcd1\uac00\uac00', 'target': u'\ub179\ub450\uacbd\uc99d\ubcd1'}, {'attribute': None, 'relation': u'cooks', 'source': u'\uba74\ubcd1\uac00\uac00', 'target': u'\ubc00\uc124\uae30'}, {'attribute': None, 'relation': u'cooks', 'source': u'\uba74\ubcd1\uac00\uac00', 'target': u'\ubc31\ub450\uacbd\uc99d\ubcd1'}, {'attribute': None, 'relation': u'cooks', 'source': u'\uba74\ubcd1\uac00\uac00', 'target': u'\ubc31\uc124\uae30'}, {'attribute': None, 'relation': u'cooks', 'source': u'\uba74\ubcd1\uac00\uac00', 'target': u'\uc11d\uc774\uacbd\uc99d\ubcd1'}, {'attribute': None, 'relation': u'cooks', 'source': u'\uba74\ubcd1\uac00\uac00', 'target': u'\uc2e0\uac10\ucd08\uacbd\uc99d\ubcd1'}, {'attribute': None, 'relation': u'isPreviousInSequenceTo', 'source': u'\uba74\ubcd1\uac00\uac00', 'target': u'\uc5b4\uc0c1\uac00\uac00'}, ...], database = 'hanyang2022', project = 'hanyang2022', account = 'guest', password = 'guest', node = '\xea\xb0\x81\xec\x83\x89\xea\xb2\xbd\xec\xa6\x9d\xeb\xb3\x91 ' |
/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-\uac01\uc0c9\uacbd\uc99d\ubcd1', 'infoUrl': u'http://dh.aks.ac.kr/~sandbox/cgi-bin/3dm/ModelView2.py?url=dh.aks.ac.kr/hanyang2/glb/\uc74c\uc2dd/3D-\uac01\uc0c9\uacbd\uc99d\ubcd1.glb', 'label': u'\uac01\uc0c9\uacbd\uc99d\ubcd1 3D \ubaa8\ub378'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/\uc7ac\ud604\ub300\uc0c1/\uc74c\uc2dd-001.png', 'id': u'\uac01\uc0c9\uacbd\uc99d\ubcd1', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uac01\uc0c9\uacbd\uc99d\ubcd1', 'label': u'\uac01\uc0c9\uacbd\uc99d\ubcd1'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/menu.png', 'id': u'\uadfc\uc815\uc804_\uc9c4\ucc2c-\ub300\uc804-\uc9c4\uc5b4\ub300\ud0c1\ucc2c\uc548', 'infoUrl': None, 'label': u'\uadfc\uc815\uc804 \uc9c4\ucc2c \ub300\uc804 \uc9c4\uc5b4\ub300\ud0c1\ucc2c\uc548(\u5927\u6bbf \u9032\u5fa1\u5927\u5353\u994c\u6848)'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\ub179\ub450\uacbd\uc99d\ubcd1', 'infoUrl': None, 'label': u'\ub179\ub450\uacbd\uc99d\ubcd1 \u83c9\u8c46\u7cb3\u7511\u9920'}, {'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'Place', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/architecture.png', 'id': u'\uba74\ubcd1\uac00\uac00', 'infoUrl': None, 'label': u'\uba74\ubcd1\uac00\uac00 \u9eb5\u9920\u5047\u5bb6'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\ubc00\uc124\uae30', 'infoUrl': None, 'label': u'\ubc00\uc124\uae30 \u871c\u96ea\u53ea'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\ubc31\ub450\uacbd\uc99d\ubcd1', 'infoUrl': None, 'label': u'\ubc31\ub450\uacbd\uc99d\ubcd1 \u767d\u8c46\u7cb3\u7511\u9920'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\ubc31\uc124\uae30', 'infoUrl': u'https://terms.naver.com/entry.naver?docId=557066&cid=46672&categoryId=46672', 'label': u'\ubc31\uc124\uae30 \u767d\u96ea\u53ea'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\uc11d\uc774\uacbd\uc99d\ubcd1', 'infoUrl': None, 'label': u'\uc11d\uc774\uacbd\uc99d\ubcd1 \u77f3\u8033\u7cb3\u7511\u9920'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\uc2e0\uac10\ucd08\uacbd\uc99d\ubcd1', 'infoUrl': u'https://terms.naver.com/entry.naver?docId=1746827&cid=49279&categoryId=49279', 'label': u'\uc2e0\uac10\ucd08\uacbd\uc99d\ubcd1 \u8f9b\u7518\u8349\u7cb3\u7511\u9920'}, {'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'\uc911\ud654\uc804_\uc9c4\uc5f0-\ub300\uc804-\uc9c4\uc5b4\ub300\ud0c1\ucc2c\uc548', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uc911\ud654\uc804_\uc9c4\uc5f0-\ub300\uc804-\uc9c4\uc5b4\ub300\ud0c1\ucc2c\uc548', 'label': u'\uc911\ud654\uc804 \uc9c4\uc5f0 \ub300\uc804 \uc9c4\uc5b4\ub300\ud0c1\ucc2c\uc548(\u5927\u6bbf \u9032\u5fa1\u5927\u5353\u994c\u6848)'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/menu.png', 'id': u'\uc911\ud654\uc804_\uc9c4\uc5f0-\ud669\ud0dc\uc790\uad81-\uc9c4\ucc2c\uc548', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uc911\ud654\uc804_\uc9c4\uc5f0-\ud669\ud0dc\uc790\uad81-\uc9c4\ucc2c\uc548', 'label': u'\uc911\ud654\uc804 \uc9c4\uc5f0 \ud669\ud0dc\uc790\uad81 \uc9c4\ucc2c\uc548(\u7687\u592a\u5b50\u5bae \u9032\u994c\u6848)'}, {'class': u'Index', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/bibIndex.png', 'id': u'bib-\uac01\uc0c9\uacbd\uc99d\ubcd1', '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-\uac01\uc0c9\uacbd\uc99d\ubcd1', 'infoUrl': None, 'label': u'WWW \ucc38\uc870 \uc790\uc6d0'}], edgelist=[{'attribute': None, 'relation': u'hasReferenceNote', 'source': u'3d-\uac01\uc0c9\uacbd\uc99d\ubcd1', 'target': u'\uac01\uc0c9\uacbd\uc99d\ubcd1'}, {'attribute': None, 'relation': u'isShownBy', 'source': u'\uac01\uc0c9\uacbd\uc99d\ubcd1', 'target': u'3d-\uac01\uc0c9\uacbd\uc99d\ubcd1'}, {'attribute': None, 'relation': u'includes', 'source': u'\uac01\uc0c9\uacbd\uc99d\ubcd1', 'target': u'\ub179\ub450\uacbd\uc99d\ubcd1'}, {'attribute': None, 'relation': u'includes', 'source': u'\uac01\uc0c9\uacbd\uc99d\ubcd1', 'target': u'\ubc00\uc124\uae30'}, {'attribute': None, 'relation': u'includes', 'source': u'\uac01\uc0c9\uacbd\uc99d\ubcd1', 'target': u'\ubc31\ub450\uacbd\uc99d\ubcd1'}, {'attribute': None, 'relation': u'includes', 'source': u'\uac01\uc0c9\uacbd\uc99d\ubcd1', 'target': u'\ubc31\uc124\uae30'}, {'attribute': None, 'relation': u'includes', 'source': u'\uac01\uc0c9\uacbd\uc99d\ubcd1', 'target': u'\uc11d\uc774\uacbd\uc99d\ubcd1'}, {'attribute': None, 'relation': u'includes', 'source': u'\uac01\uc0c9\uacbd\uc99d\ubcd1', 'target': u'\uc2e0\uac10\ucd08\uacbd\uc99d\ubcd1'}, {'attribute': None, 'relation': u'bibliography', 'source': u'\uac01\uc0c9\uacbd\uc99d\ubcd1', 'target': u'bib-\uac01\uc0c9\uacbd\uc99d\ubcd1'}, {'attribute': None, 'relation': u'onlineReference', 'source': u'\uac01\uc0c9\uacbd\uc99d\ubcd1', 'target': u'ref-\uac01\uc0c9\uacbd\uc99d\ubcd1'}, {'attribute': None, 'relation': u'hasPart', 'source': u'\uadfc\uc815\uc804_\uc9c4\ucc2c-\ub300\uc804-\uc9c4\uc5b4\ub300\ud0c1\ucc2c\uc548', 'target': u'\uac01\uc0c9\uacbd\uc99d\ubcd1'}, {'attribute': u'1\ucc993\ucd0c', 'relation': u'hasPart', 'source': u'\ub9cc\uacbd\uc804_\uc815\uc77c\uc9c4\ucc2c-\ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\ucc2c\uc548', 'target': u'\uac01\uc0c9\uacbd\uc99d\ubcd1'}, {'attribute': None, 'relation': u'cooks', 'source': u'\uba74\ubcd1\uac00\uac00', 'target': u'\uac01\uc0c9\uacbd\uc99d\ubcd1'}, {'attribute': None, 'relation': u'cooks', 'source': u'\uba74\ubcd1\uac00\uac00', 'target': u'\ub179\ub450\uacbd\uc99d\ubcd1'}, {'attribute': None, 'relation': u'cooks', 'source': u'\uba74\ubcd1\uac00\uac00', 'target': u'\ubc00\uc124\uae30'}, {'attribute': None, 'relation': u'cooks', 'source': u'\uba74\ubcd1\uac00\uac00', 'target': u'\ubc31\ub450\uacbd\uc99d\ubcd1'}, {'attribute': None, 'relation': u'cooks', 'source': u'\uba74\ubcd1\uac00\uac00', 'target': u'\ubc31\uc124\uae30'}, {'attribute': None, 'relation': u'cooks', 'source': u'\uba74\ubcd1\uac00\uac00', 'target': u'\uc11d\uc774\uacbd\uc99d\ubcd1'}, {'attribute': None, 'relation': u'cooks', 'source': u'\uba74\ubcd1\uac00\uac00', 'target': u'\uc2e0\uac10\ucd08\uacbd\uc99d\ubcd1'}, {'attribute': None, 'relation': u'isPreviousInSequenceTo', 'source': u'\uba74\ubcd1\uac00\uac00', 'target': u'\uc5b4\uc0c1\uac00\uac00'}, ...], database='hanyang2022', project='hanyang2022', account='guest', password='guest', node='\xea\xb0\x81\xec\x83\x89\xea\xb2\xbd\xec\xa6\x9d\xeb\xb3\x91 ') |
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-\uac01\uc0c9\uacbd\uc99d\ubcd1', 'infoUrl': u'http://dh.aks.ac.kr/~sandbox/cgi-bin/3dm/ModelView2.py?url=dh.aks.ac.kr/hanyang2/glb/\uc74c\uc2dd/3D-\uac01\uc0c9\uacbd\uc99d\ubcd1.glb', 'label': u'\uac01\uc0c9\uacbd\uc99d\ubcd1 3D \ubaa8\ub378'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/\uc7ac\ud604\ub300\uc0c1/\uc74c\uc2dd-001.png', 'id': u'\uac01\uc0c9\uacbd\uc99d\ubcd1', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uac01\uc0c9\uacbd\uc99d\ubcd1', 'label': u'\uac01\uc0c9\uacbd\uc99d\ubcd1'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/menu.png', 'id': u'\uadfc\uc815\uc804_\uc9c4\ucc2c-\ub300\uc804-\uc9c4\uc5b4\ub300\ud0c1\ucc2c\uc548', 'infoUrl': None, 'label': u'\uadfc\uc815\uc804 \uc9c4\ucc2c \ub300\uc804 \uc9c4\uc5b4\ub300\ud0c1\ucc2c\uc548(\u5927\u6bbf \u9032\u5fa1\u5927\u5353\u994c\u6848)'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\ub179\ub450\uacbd\uc99d\ubcd1', 'infoUrl': None, 'label': u'\ub179\ub450\uacbd\uc99d\ubcd1 \u83c9\u8c46\u7cb3\u7511\u9920'}, {'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'Place', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/architecture.png', 'id': u'\uba74\ubcd1\uac00\uac00', 'infoUrl': None, 'label': u'\uba74\ubcd1\uac00\uac00 \u9eb5\u9920\u5047\u5bb6'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\ubc00\uc124\uae30', 'infoUrl': None, 'label': u'\ubc00\uc124\uae30 \u871c\u96ea\u53ea'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\ubc31\ub450\uacbd\uc99d\ubcd1', 'infoUrl': None, 'label': u'\ubc31\ub450\uacbd\uc99d\ubcd1 \u767d\u8c46\u7cb3\u7511\u9920'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\ubc31\uc124\uae30', 'infoUrl': u'https://terms.naver.com/entry.naver?docId=557066&cid=46672&categoryId=46672', 'label': u'\ubc31\uc124\uae30 \u767d\u96ea\u53ea'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\uc11d\uc774\uacbd\uc99d\ubcd1', 'infoUrl': None, 'label': u'\uc11d\uc774\uacbd\uc99d\ubcd1 \u77f3\u8033\u7cb3\u7511\u9920'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\uc2e0\uac10\ucd08\uacbd\uc99d\ubcd1', 'infoUrl': u'https://terms.naver.com/entry.naver?docId=1746827&cid=49279&categoryId=49279', 'label': u'\uc2e0\uac10\ucd08\uacbd\uc99d\ubcd1 \u8f9b\u7518\u8349\u7cb3\u7511\u9920'}, {'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'\uc911\ud654\uc804_\uc9c4\uc5f0-\ub300\uc804-\uc9c4\uc5b4\ub300\ud0c1\ucc2c\uc548', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uc911\ud654\uc804_\uc9c4\uc5f0-\ub300\uc804-\uc9c4\uc5b4\ub300\ud0c1\ucc2c\uc548', 'label': u'\uc911\ud654\uc804 \uc9c4\uc5f0 \ub300\uc804 \uc9c4\uc5b4\ub300\ud0c1\ucc2c\uc548(\u5927\u6bbf \u9032\u5fa1\u5927\u5353\u994c\u6848)'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/menu.png', 'id': u'\uc911\ud654\uc804_\uc9c4\uc5f0-\ud669\ud0dc\uc790\uad81-\uc9c4\ucc2c\uc548', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uc911\ud654\uc804_\uc9c4\uc5f0-\ud669\ud0dc\uc790\uad81-\uc9c4\ucc2c\uc548', 'label': u'\uc911\ud654\uc804 \uc9c4\uc5f0 \ud669\ud0dc\uc790\uad81 \uc9c4\ucc2c\uc548(\u7687\u592a\u5b50\u5bae \u9032\u994c\u6848)'}, {'class': u'Index', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/bibIndex.png', 'id': u'bib-\uac01\uc0c9\uacbd\uc99d\ubcd1', '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-\uac01\uc0c9\uacbd\uc99d\ubcd1', 'infoUrl': None, 'label': u'WWW \ucc38\uc870 \uc790\uc6d0'}], database = 'hanyang2022', project = 'hanyang2022', account = 'guest', password = 'guest', node = '\xea\xb0\x81\xec\x83\x89\xea\xb2\xbd\xec\xa6\x9d\xeb\xb3\x91 ' |
/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-\uac01\uc0c9\uacbd\uc99d\ubcd1', 'infoUrl': u'http://dh.aks.ac.kr/~sandbox/cgi-bin/3dm/ModelView2.py?url=dh.aks.ac.kr/hanyang2/glb/\uc74c\uc2dd/3D-\uac01\uc0c9\uacbd\uc99d\ubcd1.glb', 'label': u'\uac01\uc0c9\uacbd\uc99d\ubcd1 3D \ubaa8\ub378'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/\uc7ac\ud604\ub300\uc0c1/\uc74c\uc2dd-001.png', 'id': u'\uac01\uc0c9\uacbd\uc99d\ubcd1', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uac01\uc0c9\uacbd\uc99d\ubcd1', 'label': u'\uac01\uc0c9\uacbd\uc99d\ubcd1'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/menu.png', 'id': u'\uadfc\uc815\uc804_\uc9c4\ucc2c-\ub300\uc804-\uc9c4\uc5b4\ub300\ud0c1\ucc2c\uc548', 'infoUrl': None, 'label': u'\uadfc\uc815\uc804 \uc9c4\ucc2c \ub300\uc804 \uc9c4\uc5b4\ub300\ud0c1\ucc2c\uc548(\u5927\u6bbf \u9032\u5fa1\u5927\u5353\u994c\u6848)'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\ub179\ub450\uacbd\uc99d\ubcd1', 'infoUrl': None, 'label': u'\ub179\ub450\uacbd\uc99d\ubcd1 \u83c9\u8c46\u7cb3\u7511\u9920'}, {'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'Place', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/architecture.png', 'id': u'\uba74\ubcd1\uac00\uac00', 'infoUrl': None, 'label': u'\uba74\ubcd1\uac00\uac00 \u9eb5\u9920\u5047\u5bb6'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\ubc00\uc124\uae30', 'infoUrl': None, 'label': u'\ubc00\uc124\uae30 \u871c\u96ea\u53ea'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\ubc31\ub450\uacbd\uc99d\ubcd1', 'infoUrl': None, 'label': u'\ubc31\ub450\uacbd\uc99d\ubcd1 \u767d\u8c46\u7cb3\u7511\u9920'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\ubc31\uc124\uae30', 'infoUrl': u'https://terms.naver.com/entry.naver?docId=557066&cid=46672&categoryId=46672', 'label': u'\ubc31\uc124\uae30 \u767d\u96ea\u53ea'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\uc11d\uc774\uacbd\uc99d\ubcd1', 'infoUrl': None, 'label': u'\uc11d\uc774\uacbd\uc99d\ubcd1 \u77f3\u8033\u7cb3\u7511\u9920'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\uc2e0\uac10\ucd08\uacbd\uc99d\ubcd1', 'infoUrl': u'https://terms.naver.com/entry.naver?docId=1746827&cid=49279&categoryId=49279', 'label': u'\uc2e0\uac10\ucd08\uacbd\uc99d\ubcd1 \u8f9b\u7518\u8349\u7cb3\u7511\u9920'}, {'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'\uc911\ud654\uc804_\uc9c4\uc5f0-\ub300\uc804-\uc9c4\uc5b4\ub300\ud0c1\ucc2c\uc548', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uc911\ud654\uc804_\uc9c4\uc5f0-\ub300\uc804-\uc9c4\uc5b4\ub300\ud0c1\ucc2c\uc548', 'label': u'\uc911\ud654\uc804 \uc9c4\uc5f0 \ub300\uc804 \uc9c4\uc5b4\ub300\ud0c1\ucc2c\uc548(\u5927\u6bbf \u9032\u5fa1\u5927\u5353\u994c\u6848)'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/menu.png', 'id': u'\uc911\ud654\uc804_\uc9c4\uc5f0-\ud669\ud0dc\uc790\uad81-\uc9c4\ucc2c\uc548', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uc911\ud654\uc804_\uc9c4\uc5f0-\ud669\ud0dc\uc790\uad81-\uc9c4\ucc2c\uc548', 'label': u'\uc911\ud654\uc804 \uc9c4\uc5f0 \ud669\ud0dc\uc790\uad81 \uc9c4\ucc2c\uc548(\u7687\u592a\u5b50\u5bae \u9032\u994c\u6848)'}, {'class': u'Index', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/bibIndex.png', 'id': u'bib-\uac01\uc0c9\uacbd\uc99d\ubcd1', '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-\uac01\uc0c9\uacbd\uc99d\ubcd1', 'infoUrl': None, 'label': u'WWW \ucc38\uc870 \uc790\uc6d0'}], database='hanyang2022', project='hanyang2022', account='guest', password='guest', subject='\xea\xb0\x81\xec\x83\x89\xea\xb2\xbd\xec\xa6\x9d\xeb\xb3\x91 ') |
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"