<type 'exceptions.UnboundLocalError'>
Python 2.7.12: /usr/bin/python
Thu Aug 22 17:21:15 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\xec\xa0\x88\xec\x9c\xa1 ', 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\xec\xa0\x88\xec\x9c\xa1 ', 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\uc808\uc721', '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\uc808\uc721.glb', 'label': u'\uac01\uc0c9\uc808\uc721 3D \ubaa8\ub378'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/image/2021/\uc74c\uc2dd-033.png', 'id': u'\uac01\uc0c9\uc808\uc721', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uac01\uc0c9\uc808\uc721', 'label': u'\uac01\uc0c9\uc808\uc721'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\uac15\uc694\uc8fc', 'infoUrl': None, 'label': u'\uac15\uc694\uc8fc \u6c5f\u7464\u73e0'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\uac74\ubb38\uc5b4', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uac74\ubb38\uc5b4', 'label': u'\uac74\ubb38\uc5b4(\u4e7e\u6587\u9b5a)'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\uad11\uc5b4', 'infoUrl': None, 'label': u'\uad11\uc5b4 \u5ee3\u9b5a'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\uad11\uc5b4\uc808', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uad11\uc5b4\uc808', 'label': u'\uad11\uc5b4\uc808(\u5ee3\u9b5a\u622a)'}, {'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/menu.png', 'id': u'\uadfc\uc815\uc804_\uc9c4\ucc2c-\ub300\uc804-\uc9c4\uc5b4\ucc2c\uc548', 'infoUrl': None, 'label': u'\uadfc\uc815\uc804 \uc9c4\ucc2c \ub300\uc804 \uc9c4\uc5b4\ucc2c\uc548'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\uae50\uc7a3', 'infoUrl': None, 'label': u'\uae50\uc7a3 \u5be6\u6822\u5b50'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\ub2e4\uc2dc\ub9c8', 'infoUrl': None, 'label': u'\ub2e4\uc2dc\ub9c8 \u591a\u58eb\u9ebb'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\ub300\uad6c\ud3ec', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\ub300\uad6c\ud3ec', 'label': u'\ub300\uad6c\ud3ec(\u5927\u53e3\u812f)'}, {'class': u'Object', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/2021/garnish/\uc0bc\uce35\uc218\ud30c\ub828.jpg', 'id': u'\ub300\uc218\ud30c\ub828', 'infoUrl': None, 'label': u'\ub300\uc218\ud30c\ub828 \u5927\u6c34\u6ce2\u84ee'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/menu.png', 'id': u'\ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\uacfc\ud569', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\uacfc\ud569', 'label': u'\ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\uacfc\ud569(\u5927\u738b\u5927\u5983\u6bbf\u9032\u5fa1\u679c\u69bc)'}, {'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-\ub0b4\uc785\ubcc4\uc0c1\uc0c1', 'infoUrl': None, 'label': u'\ub9cc\uacbd\uc804 \uc815\uc77c\uc9c4\ucc2c \ub0b4\uc785\ubcc4\uc0c1\uc0c1 \u5167\u5165\u5225\u4e0a\u5e8a'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/menu.png', 'id': u'\ub9cc\uacbd\uc804_\uc815\uc77c\uc9c4\ucc2c-\ub0b4\uc785\uc0c1\uc0c1', 'infoUrl': None, 'label': u'\ub9cc\uacbd\uc804 \uc815\uc77c\uc9c4\ucc2c \ub0b4\uc785\uc0c1\uc0c1 \u5167\u5165\u4e0a\u5e8a'}, {'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\uacfc\ud569', 'infoUrl': None, 'label': u'\ub9cc\uacbd\uc804 \uc815\uc77c\uc9c4\ucc2c \ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\uacfc\ud569 \u5927\u738b\u5927\u5983\u6bbf\u9032\u5fa1\u679c\u69bc'}, {'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/menu.png', 'id': u'\ub9cc\uacbd\uc804_\uc815\uc77c\uc9c4\ucc2c-\ub300\uc804-\uc911\uad81\uc804\uc9c4\uc5b4\ucc2c\uc548', 'infoUrl': None, 'label': u'\ub9cc\uacbd\uc804 \uc815\uc77c\uc9c4\ucc2c \ub300\uc804\u2022\uc911\uad81\uc804\uc9c4\uc5b4\ucc2c\uc548 \u5927\u6bbf\u2022\u4e2d\u5bae\u6bbf\u9032\u5fa1\u994c\u6848'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\ub9cc\ub2e4\ubbf8\uc870\uac1c', 'infoUrl': None, 'label': u'\ub9cc\ub2e4\ubbf8\uc870\uac1c(\ub9cc\ub2e4\ubbf8\uc870\uac1c)'}, ...], edgelist = [{'attribute': None, 'relation': u'hasReferenceNote', 'source': u'3d-\uac01\uc0c9\uc808\uc721', 'target': u'\uac01\uc0c9\uc808\uc721'}, {'attribute': None, 'relation': u'isShownBy', 'source': u'\uac01\uc0c9\uc808\uc721', 'target': u'3d-\uac01\uc0c9\uc808\uc721'}, {'attribute': None, 'relation': u'hasIngredient', 'source': u'\uac01\uc0c9\uc808\uc721', 'target': u'\uac15\uc694\uc8fc'}, {'attribute': None, 'relation': u'hasPart', 'source': u'\uac01\uc0c9\uc808\uc721', 'target': u'\uac74\ubb38\uc5b4'}, {'attribute': None, 'relation': u'hasIngredient', 'source': u'\uac01\uc0c9\uc808\uc721', 'target': u'\uad11\uc5b4'}, {'attribute': None, 'relation': u'hasPart', 'source': u'\uac01\uc0c9\uc808\uc721', 'target': u'\uad11\uc5b4'}, {'attribute': None, 'relation': u'hasPart', 'source': u'\uac01\uc0c9\uc808\uc721', 'target': u'\uad11\uc5b4\uc808'}, {'attribute': None, 'relation': u'isUsedIn', 'source': u'\uac01\uc0c9\uc808\uc721', 'target': u'\uad81\uc911\uc5f0\ud5a5'}, {'attribute': None, 'relation': u'hasIngredient', 'source': u'\uac01\uc0c9\uc808\uc721', 'target': u'\uae50\uc7a3'}, {'attribute': None, 'relation': u'hasIngredient', 'source': u'\uac01\uc0c9\uc808\uc721', 'target': u'\ub2e4\uc2dc\ub9c8'}, {'attribute': None, 'relation': u'hasPart', 'source': u'\uac01\uc0c9\uc808\uc721', 'target': u'\ub2e4\uc2dc\ub9c8'}, {'attribute': None, 'relation': u'hasPart', 'source': u'\uac01\uc0c9\uc808\uc721', 'target': u'\ub300\uad6c\ud3ec'}, {'attribute': None, 'relation': u'isGarnishedWith', 'source': u'\uac01\uc0c9\uc808\uc721', 'target': u'\ub300\uc218\ud30c\ub828'}, {'attribute': None, 'relation': u'hasPart', 'source': u'\uac01\uc0c9\uc808\uc721', 'target': u'\ub9cc\ub2e4\ubbf8\uc870\uac1c'}, {'attribute': None, 'relation': u'hasIngredient', 'source': u'\uac01\uc0c9\uc808\uc721', 'target': u'\ubb38\uc5b4'}, {'attribute': None, 'relation': u'hasIngredient', 'source': u'\uac01\uc0c9\uc808\uc721', 'target': u'\ubc31\ub300\uad6c'}, {'attribute': None, 'relation': u'hasPart', 'source': u'\uac01\uc0c9\uc808\uc721', 'target': u'\ubc31\ub300\uad6c'}, {'attribute': None, 'relation': u'hasIngredient', 'source': u'\uac01\uc0c9\uc808\uc721', 'target': u'\uc0c1\uc5b4'}, {'attribute': None, 'relation': u'hasPart', 'source': u'\uac01\uc0c9\uc808\uc721', 'target': u'\uc0c1\uc5b4'}, {'attribute': None, 'relation': u'hasIngredient', 'source': u'\uac01\uc0c9\uc808\uc721', 'target': u'\uc624\uc9d5\uc5b4'}, ...], database = 'hanyang2022', project = 'hanyang2022', account = 'guest', password = 'guest', node = '\xea\xb0\x81\xec\x83\x89\xec\xa0\x88\xec\x9c\xa1 '
 /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\uc808\uc721', '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\uc808\uc721.glb', 'label': u'\uac01\uc0c9\uc808\uc721 3D \ubaa8\ub378'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/image/2021/\uc74c\uc2dd-033.png', 'id': u'\uac01\uc0c9\uc808\uc721', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uac01\uc0c9\uc808\uc721', 'label': u'\uac01\uc0c9\uc808\uc721'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\uac15\uc694\uc8fc', 'infoUrl': None, 'label': u'\uac15\uc694\uc8fc \u6c5f\u7464\u73e0'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\uac74\ubb38\uc5b4', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uac74\ubb38\uc5b4', 'label': u'\uac74\ubb38\uc5b4(\u4e7e\u6587\u9b5a)'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\uad11\uc5b4', 'infoUrl': None, 'label': u'\uad11\uc5b4 \u5ee3\u9b5a'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\uad11\uc5b4\uc808', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uad11\uc5b4\uc808', 'label': u'\uad11\uc5b4\uc808(\u5ee3\u9b5a\u622a)'}, {'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/menu.png', 'id': u'\uadfc\uc815\uc804_\uc9c4\ucc2c-\ub300\uc804-\uc9c4\uc5b4\ucc2c\uc548', 'infoUrl': None, 'label': u'\uadfc\uc815\uc804 \uc9c4\ucc2c \ub300\uc804 \uc9c4\uc5b4\ucc2c\uc548'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\uae50\uc7a3', 'infoUrl': None, 'label': u'\uae50\uc7a3 \u5be6\u6822\u5b50'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\ub2e4\uc2dc\ub9c8', 'infoUrl': None, 'label': u'\ub2e4\uc2dc\ub9c8 \u591a\u58eb\u9ebb'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\ub300\uad6c\ud3ec', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\ub300\uad6c\ud3ec', 'label': u'\ub300\uad6c\ud3ec(\u5927\u53e3\u812f)'}, {'class': u'Object', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/2021/garnish/\uc0bc\uce35\uc218\ud30c\ub828.jpg', 'id': u'\ub300\uc218\ud30c\ub828', 'infoUrl': None, 'label': u'\ub300\uc218\ud30c\ub828 \u5927\u6c34\u6ce2\u84ee'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/menu.png', 'id': u'\ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\uacfc\ud569', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\uacfc\ud569', 'label': u'\ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\uacfc\ud569(\u5927\u738b\u5927\u5983\u6bbf\u9032\u5fa1\u679c\u69bc)'}, {'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-\ub0b4\uc785\ubcc4\uc0c1\uc0c1', 'infoUrl': None, 'label': u'\ub9cc\uacbd\uc804 \uc815\uc77c\uc9c4\ucc2c \ub0b4\uc785\ubcc4\uc0c1\uc0c1 \u5167\u5165\u5225\u4e0a\u5e8a'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/menu.png', 'id': u'\ub9cc\uacbd\uc804_\uc815\uc77c\uc9c4\ucc2c-\ub0b4\uc785\uc0c1\uc0c1', 'infoUrl': None, 'label': u'\ub9cc\uacbd\uc804 \uc815\uc77c\uc9c4\ucc2c \ub0b4\uc785\uc0c1\uc0c1 \u5167\u5165\u4e0a\u5e8a'}, {'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\uacfc\ud569', 'infoUrl': None, 'label': u'\ub9cc\uacbd\uc804 \uc815\uc77c\uc9c4\ucc2c \ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\uacfc\ud569 \u5927\u738b\u5927\u5983\u6bbf\u9032\u5fa1\u679c\u69bc'}, {'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/menu.png', 'id': u'\ub9cc\uacbd\uc804_\uc815\uc77c\uc9c4\ucc2c-\ub300\uc804-\uc911\uad81\uc804\uc9c4\uc5b4\ucc2c\uc548', 'infoUrl': None, 'label': u'\ub9cc\uacbd\uc804 \uc815\uc77c\uc9c4\ucc2c \ub300\uc804\u2022\uc911\uad81\uc804\uc9c4\uc5b4\ucc2c\uc548 \u5927\u6bbf\u2022\u4e2d\u5bae\u6bbf\u9032\u5fa1\u994c\u6848'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\ub9cc\ub2e4\ubbf8\uc870\uac1c', 'infoUrl': None, 'label': u'\ub9cc\ub2e4\ubbf8\uc870\uac1c(\ub9cc\ub2e4\ubbf8\uc870\uac1c)'}, ...], edgelist=[{'attribute': None, 'relation': u'hasReferenceNote', 'source': u'3d-\uac01\uc0c9\uc808\uc721', 'target': u'\uac01\uc0c9\uc808\uc721'}, {'attribute': None, 'relation': u'isShownBy', 'source': u'\uac01\uc0c9\uc808\uc721', 'target': u'3d-\uac01\uc0c9\uc808\uc721'}, {'attribute': None, 'relation': u'hasIngredient', 'source': u'\uac01\uc0c9\uc808\uc721', 'target': u'\uac15\uc694\uc8fc'}, {'attribute': None, 'relation': u'hasPart', 'source': u'\uac01\uc0c9\uc808\uc721', 'target': u'\uac74\ubb38\uc5b4'}, {'attribute': None, 'relation': u'hasIngredient', 'source': u'\uac01\uc0c9\uc808\uc721', 'target': u'\uad11\uc5b4'}, {'attribute': None, 'relation': u'hasPart', 'source': u'\uac01\uc0c9\uc808\uc721', 'target': u'\uad11\uc5b4'}, {'attribute': None, 'relation': u'hasPart', 'source': u'\uac01\uc0c9\uc808\uc721', 'target': u'\uad11\uc5b4\uc808'}, {'attribute': None, 'relation': u'isUsedIn', 'source': u'\uac01\uc0c9\uc808\uc721', 'target': u'\uad81\uc911\uc5f0\ud5a5'}, {'attribute': None, 'relation': u'hasIngredient', 'source': u'\uac01\uc0c9\uc808\uc721', 'target': u'\uae50\uc7a3'}, {'attribute': None, 'relation': u'hasIngredient', 'source': u'\uac01\uc0c9\uc808\uc721', 'target': u'\ub2e4\uc2dc\ub9c8'}, {'attribute': None, 'relation': u'hasPart', 'source': u'\uac01\uc0c9\uc808\uc721', 'target': u'\ub2e4\uc2dc\ub9c8'}, {'attribute': None, 'relation': u'hasPart', 'source': u'\uac01\uc0c9\uc808\uc721', 'target': u'\ub300\uad6c\ud3ec'}, {'attribute': None, 'relation': u'isGarnishedWith', 'source': u'\uac01\uc0c9\uc808\uc721', 'target': u'\ub300\uc218\ud30c\ub828'}, {'attribute': None, 'relation': u'hasPart', 'source': u'\uac01\uc0c9\uc808\uc721', 'target': u'\ub9cc\ub2e4\ubbf8\uc870\uac1c'}, {'attribute': None, 'relation': u'hasIngredient', 'source': u'\uac01\uc0c9\uc808\uc721', 'target': u'\ubb38\uc5b4'}, {'attribute': None, 'relation': u'hasIngredient', 'source': u'\uac01\uc0c9\uc808\uc721', 'target': u'\ubc31\ub300\uad6c'}, {'attribute': None, 'relation': u'hasPart', 'source': u'\uac01\uc0c9\uc808\uc721', 'target': u'\ubc31\ub300\uad6c'}, {'attribute': None, 'relation': u'hasIngredient', 'source': u'\uac01\uc0c9\uc808\uc721', 'target': u'\uc0c1\uc5b4'}, {'attribute': None, 'relation': u'hasPart', 'source': u'\uac01\uc0c9\uc808\uc721', 'target': u'\uc0c1\uc5b4'}, {'attribute': None, 'relation': u'hasIngredient', 'source': u'\uac01\uc0c9\uc808\uc721', 'target': u'\uc624\uc9d5\uc5b4'}, ...], database='hanyang2022', project='hanyang2022', account='guest', password='guest', node='\xea\xb0\x81\xec\x83\x89\xec\xa0\x88\xec\x9c\xa1 ')
    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\uc808\uc721', '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\uc808\uc721.glb', 'label': u'\uac01\uc0c9\uc808\uc721 3D \ubaa8\ub378'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/image/2021/\uc74c\uc2dd-033.png', 'id': u'\uac01\uc0c9\uc808\uc721', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uac01\uc0c9\uc808\uc721', 'label': u'\uac01\uc0c9\uc808\uc721'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\uac15\uc694\uc8fc', 'infoUrl': None, 'label': u'\uac15\uc694\uc8fc \u6c5f\u7464\u73e0'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\uac74\ubb38\uc5b4', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uac74\ubb38\uc5b4', 'label': u'\uac74\ubb38\uc5b4(\u4e7e\u6587\u9b5a)'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\uad11\uc5b4', 'infoUrl': None, 'label': u'\uad11\uc5b4 \u5ee3\u9b5a'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\uad11\uc5b4\uc808', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uad11\uc5b4\uc808', 'label': u'\uad11\uc5b4\uc808(\u5ee3\u9b5a\u622a)'}, {'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/menu.png', 'id': u'\uadfc\uc815\uc804_\uc9c4\ucc2c-\ub300\uc804-\uc9c4\uc5b4\ucc2c\uc548', 'infoUrl': None, 'label': u'\uadfc\uc815\uc804 \uc9c4\ucc2c \ub300\uc804 \uc9c4\uc5b4\ucc2c\uc548'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\uae50\uc7a3', 'infoUrl': None, 'label': u'\uae50\uc7a3 \u5be6\u6822\u5b50'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\ub2e4\uc2dc\ub9c8', 'infoUrl': None, 'label': u'\ub2e4\uc2dc\ub9c8 \u591a\u58eb\u9ebb'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\ub300\uad6c\ud3ec', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\ub300\uad6c\ud3ec', 'label': u'\ub300\uad6c\ud3ec(\u5927\u53e3\u812f)'}, {'class': u'Object', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/2021/garnish/\uc0bc\uce35\uc218\ud30c\ub828.jpg', 'id': u'\ub300\uc218\ud30c\ub828', 'infoUrl': None, 'label': u'\ub300\uc218\ud30c\ub828 \u5927\u6c34\u6ce2\u84ee'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/menu.png', 'id': u'\ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\uacfc\ud569', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\uacfc\ud569', 'label': u'\ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\uacfc\ud569(\u5927\u738b\u5927\u5983\u6bbf\u9032\u5fa1\u679c\u69bc)'}, {'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-\ub0b4\uc785\ubcc4\uc0c1\uc0c1', 'infoUrl': None, 'label': u'\ub9cc\uacbd\uc804 \uc815\uc77c\uc9c4\ucc2c \ub0b4\uc785\ubcc4\uc0c1\uc0c1 \u5167\u5165\u5225\u4e0a\u5e8a'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/menu.png', 'id': u'\ub9cc\uacbd\uc804_\uc815\uc77c\uc9c4\ucc2c-\ub0b4\uc785\uc0c1\uc0c1', 'infoUrl': None, 'label': u'\ub9cc\uacbd\uc804 \uc815\uc77c\uc9c4\ucc2c \ub0b4\uc785\uc0c1\uc0c1 \u5167\u5165\u4e0a\u5e8a'}, {'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\uacfc\ud569', 'infoUrl': None, 'label': u'\ub9cc\uacbd\uc804 \uc815\uc77c\uc9c4\ucc2c \ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\uacfc\ud569 \u5927\u738b\u5927\u5983\u6bbf\u9032\u5fa1\u679c\u69bc'}, {'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/menu.png', 'id': u'\ub9cc\uacbd\uc804_\uc815\uc77c\uc9c4\ucc2c-\ub300\uc804-\uc911\uad81\uc804\uc9c4\uc5b4\ucc2c\uc548', 'infoUrl': None, 'label': u'\ub9cc\uacbd\uc804 \uc815\uc77c\uc9c4\ucc2c \ub300\uc804\u2022\uc911\uad81\uc804\uc9c4\uc5b4\ucc2c\uc548 \u5927\u6bbf\u2022\u4e2d\u5bae\u6bbf\u9032\u5fa1\u994c\u6848'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\ub9cc\ub2e4\ubbf8\uc870\uac1c', 'infoUrl': None, 'label': u'\ub9cc\ub2e4\ubbf8\uc870\uac1c(\ub9cc\ub2e4\ubbf8\uc870\uac1c)'}, ...], database = 'hanyang2022', project = 'hanyang2022', account = 'guest', password = 'guest', node = '\xea\xb0\x81\xec\x83\x89\xec\xa0\x88\xec\x9c\xa1 '
 /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\uc808\uc721', '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\uc808\uc721.glb', 'label': u'\uac01\uc0c9\uc808\uc721 3D \ubaa8\ub378'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/image/2021/\uc74c\uc2dd-033.png', 'id': u'\uac01\uc0c9\uc808\uc721', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uac01\uc0c9\uc808\uc721', 'label': u'\uac01\uc0c9\uc808\uc721'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\uac15\uc694\uc8fc', 'infoUrl': None, 'label': u'\uac15\uc694\uc8fc \u6c5f\u7464\u73e0'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\uac74\ubb38\uc5b4', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uac74\ubb38\uc5b4', 'label': u'\uac74\ubb38\uc5b4(\u4e7e\u6587\u9b5a)'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\uad11\uc5b4', 'infoUrl': None, 'label': u'\uad11\uc5b4 \u5ee3\u9b5a'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\uad11\uc5b4\uc808', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uad11\uc5b4\uc808', 'label': u'\uad11\uc5b4\uc808(\u5ee3\u9b5a\u622a)'}, {'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/menu.png', 'id': u'\uadfc\uc815\uc804_\uc9c4\ucc2c-\ub300\uc804-\uc9c4\uc5b4\ucc2c\uc548', 'infoUrl': None, 'label': u'\uadfc\uc815\uc804 \uc9c4\ucc2c \ub300\uc804 \uc9c4\uc5b4\ucc2c\uc548'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\uae50\uc7a3', 'infoUrl': None, 'label': u'\uae50\uc7a3 \u5be6\u6822\u5b50'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\ub2e4\uc2dc\ub9c8', 'infoUrl': None, 'label': u'\ub2e4\uc2dc\ub9c8 \u591a\u58eb\u9ebb'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\ub300\uad6c\ud3ec', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\ub300\uad6c\ud3ec', 'label': u'\ub300\uad6c\ud3ec(\u5927\u53e3\u812f)'}, {'class': u'Object', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/2021/garnish/\uc0bc\uce35\uc218\ud30c\ub828.jpg', 'id': u'\ub300\uc218\ud30c\ub828', 'infoUrl': None, 'label': u'\ub300\uc218\ud30c\ub828 \u5927\u6c34\u6ce2\u84ee'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/menu.png', 'id': u'\ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\uacfc\ud569', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\uacfc\ud569', 'label': u'\ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\uacfc\ud569(\u5927\u738b\u5927\u5983\u6bbf\u9032\u5fa1\u679c\u69bc)'}, {'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-\ub0b4\uc785\ubcc4\uc0c1\uc0c1', 'infoUrl': None, 'label': u'\ub9cc\uacbd\uc804 \uc815\uc77c\uc9c4\ucc2c \ub0b4\uc785\ubcc4\uc0c1\uc0c1 \u5167\u5165\u5225\u4e0a\u5e8a'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/menu.png', 'id': u'\ub9cc\uacbd\uc804_\uc815\uc77c\uc9c4\ucc2c-\ub0b4\uc785\uc0c1\uc0c1', 'infoUrl': None, 'label': u'\ub9cc\uacbd\uc804 \uc815\uc77c\uc9c4\ucc2c \ub0b4\uc785\uc0c1\uc0c1 \u5167\u5165\u4e0a\u5e8a'}, {'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\uacfc\ud569', 'infoUrl': None, 'label': u'\ub9cc\uacbd\uc804 \uc815\uc77c\uc9c4\ucc2c \ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\uacfc\ud569 \u5927\u738b\u5927\u5983\u6bbf\u9032\u5fa1\u679c\u69bc'}, {'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/menu.png', 'id': u'\ub9cc\uacbd\uc804_\uc815\uc77c\uc9c4\ucc2c-\ub300\uc804-\uc911\uad81\uc804\uc9c4\uc5b4\ucc2c\uc548', 'infoUrl': None, 'label': u'\ub9cc\uacbd\uc804 \uc815\uc77c\uc9c4\ucc2c \ub300\uc804\u2022\uc911\uad81\uc804\uc9c4\uc5b4\ucc2c\uc548 \u5927\u6bbf\u2022\u4e2d\u5bae\u6bbf\u9032\u5fa1\u994c\u6848'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\ub9cc\ub2e4\ubbf8\uc870\uac1c', 'infoUrl': None, 'label': u'\ub9cc\ub2e4\ubbf8\uc870\uac1c(\ub9cc\ub2e4\ubbf8\uc870\uac1c)'}, ...], database='hanyang2022', project='hanyang2022', account='guest', password='guest', subject='\xea\xb0\x81\xec\x83\x89\xec\xa0\x88\xec\x9c\xa1 ')
    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"