<type 'exceptions.UnboundLocalError'>
Python 2.7.12: /usr/bin/python
Tue Oct 1 01:58:53 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\xed\x99\x94\xec\x96\x91\xec\xa0\x81 ', 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\xed\x99\x94\xec\x96\x91\xec\xa0\x81 ', 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\ud654\uc591\uc801', '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\ud654\uc591\uc801.glb', 'label': u'\uac01\uc0c9\ud654\uc591\uc801 3D \ubaa8\ub378'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/image/2021/\uc74c\uc2dd-039.png', 'id': u'\uac01\uc0c9\ud654\uc591\uc801', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uac01\uc0c9\ud654\uc591\uc801', 'label': u'\uac01\uc0c9\ud654\uc591\uc801(\u5404\u8272\u82b1\u967d\uf9fb)'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\uac04\uc7a5', 'infoUrl': None, 'label': u'\uac04\uc7a5 \u826e\u91ac'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\uacc4\ub780', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uacc4\ub780', 'label': u'\uacc4\ub780 \u9dc4\u5375'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\uace4\uc790\uc18c\ub2c8', 'infoUrl': None, 'label': u'\uace4\uc790\uc18c\ub2c8 \u6606\u8005\u5dfd'}, {'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'\ub179\ub9d0', 'infoUrl': None, 'label': u'\ub179\ub9d0 \u83c9\u672b'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\ub204\ub984\uc801', 'infoUrl': None, 'label': u'\ub204\ub984\uc801(\ub204\ub984\uc801)'}, {'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/food2.png', 'id': u'\ub3c4\ub77c\uc9c0', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\ub3c4\ub77c\uc9c0', 'label': u'\ub3c4\ub77c\uc9c0 \u6854\u6897'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\ub3fc\uc9c0\ub2e4\ub9ac', 'infoUrl': None, 'label': u'\ub3fc\uc9c0\ub2e4\ub9ac \u732a\u811a'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\ub4f1\uace8', 'infoUrl': None, 'label': u'\ub4f1\uace8 \u80cc\u9aa8'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\ub9c8\ub298', 'infoUrl': None, 'label': u'\ub9c8\ub298 \u849c'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/menu.png', 'id': u'\ub9cc\uacbd\uc804_\uc815\uc77c\uc9c4\ucc2c-\ub0b4\uc678\ube48\uc0c1\uc0c1', 'infoUrl': None, 'label': u'\ub9cc\uacbd\uc804 \uc815\uc77c\uc9c4\ucc2c \ub0b4\uc678\ube48\uc0c1\uc0c1 \u5167\u5916\u8cd3\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\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\uc2e0\ubc18\uc0ac\uc0c1\uc0c1', 'infoUrl': None, 'label': u'\ub9cc\uacbd\uc804 \uc815\uc77c\uc9c4\ucc2c \ub300\uc2e0\ubc18\uc0ac\uc0c1\uc0c1 \u5927\u81e3\u9812\u8cdc\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\ubcc4\ucc2c\uc548', 'infoUrl': None, 'label': u'\ub9cc\uacbd\uc804 \uc815\uc77c\uc9c4\ucc2c \ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\ubcc4\ucc2c\uc548 \u5927\u738b\u5927\u5983\u6bbf\u9032\u5fa1\u5225\u994c\u6848'}, ...], edgelist = [{'attribute': None, 'relation': u'hasReferenceNote', 'source': u'3d-\uac01\uc0c9\ud654\uc591\uc801', 'target': u'\uac01\uc0c9\ud654\uc591\uc801'}, {'attribute': None, 'relation': u'isShownBy', 'source': u'\uac01\uc0c9\ud654\uc591\uc801', 'target': u'3d-\uac01\uc0c9\ud654\uc591\uc801'}, {'attribute': None, 'relation': u'hasIngredient', 'source': u'\uac01\uc0c9\ud654\uc591\uc801', 'target': u'\uac04\uc7a5'}, {'attribute': None, 'relation': u'hasIngredient', 'source': u'\uac01\uc0c9\ud654\uc591\uc801', 'target': u'\uacc4\ub780'}, {'attribute': None, 'relation': u'hasIngredient', 'source': u'\uac01\uc0c9\ud654\uc591\uc801', 'target': u'\uace4\uc790\uc18c\ub2c8'}, {'attribute': None, 'relation': u'isUsedIn', 'source': u'\uac01\uc0c9\ud654\uc591\uc801', 'target': u'\uad81\uc911\uc5f0\ud5a5'}, {'attribute': None, 'relation': u'hasIngredient', 'source': u'\uac01\uc0c9\ud654\uc591\uc801', 'target': u'\uae50\uc7a3'}, {'attribute': None, 'relation': u'hasIngredient', 'source': u'\uac01\uc0c9\ud654\uc591\uc801', 'target': u'\ub179\ub9d0'}, {'attribute': None, 'relation': u'sameAs', 'source': u'\uac01\uc0c9\ud654\uc591\uc801', 'target': u'\ub204\ub984\uc801'}, {'attribute': None, 'relation': u'hasIngredient', 'source': u'\uac01\uc0c9\ud654\uc591\uc801', 'target': u'\ub3c4\ub77c\uc9c0'}, {'attribute': None, 'relation': u'hasIngredient', 'source': u'\uac01\uc0c9\ud654\uc591\uc801', 'target': u'\ub3fc\uc9c0\ub2e4\ub9ac'}, {'attribute': None, 'relation': u'hasIngredient', 'source': u'\uac01\uc0c9\ud654\uc591\uc801', 'target': u'\ub4f1\uace8'}, {'attribute': None, 'relation': u'hasIngredient', 'source': u'\uac01\uc0c9\ud654\uc591\uc801', 'target': u'\ub9c8\ub298'}, {'attribute': None, 'relation': u'hasIngredient', 'source': u'\uac01\uc0c9\ud654\uc591\uc801', 'target': u'\ubc00\uac00\ub8e8'}, {'attribute': None, 'relation': u'hasIngredient', 'source': u'\uac01\uc0c9\ud654\uc591\uc801', 'target': u'\uc0dd\uac15'}, {'attribute': None, 'relation': u'hasIngredient', 'source': u'\uac01\uc0c9\ud654\uc591\uc801', 'target': u'\uc18c\uae08'}, {'attribute': None, 'relation': u'hasIngredient', 'source': u'\uac01\uc0c9\ud654\uc591\uc801', 'target': u'\uc22d\uc5b4'}, {'attribute': None, 'relation': u'hasIngredient', 'source': u'\uac01\uc0c9\ud654\uc591\uc801', 'target': u'\uc2e4\uae68'}, {'attribute': None, 'relation': u'hasIngredient', 'source': u'\uac01\uc0c9\ud654\uc591\uc801', 'target': u'\uc591-\u7f98'}, {'attribute': None, 'relation': u'sameAs', 'source': u'\uac01\uc0c9\ud654\uc591\uc801', 'target': u'\uc5b4\uc74c\uc801'}, ...], database = 'hanyang2022', project = 'hanyang2022', account = 'guest', password = 'guest', node = '\xea\xb0\x81\xec\x83\x89\xed\x99\x94\xec\x96\x91\xec\xa0\x81 '
 /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\ud654\uc591\uc801', '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\ud654\uc591\uc801.glb', 'label': u'\uac01\uc0c9\ud654\uc591\uc801 3D \ubaa8\ub378'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/image/2021/\uc74c\uc2dd-039.png', 'id': u'\uac01\uc0c9\ud654\uc591\uc801', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uac01\uc0c9\ud654\uc591\uc801', 'label': u'\uac01\uc0c9\ud654\uc591\uc801(\u5404\u8272\u82b1\u967d\uf9fb)'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\uac04\uc7a5', 'infoUrl': None, 'label': u'\uac04\uc7a5 \u826e\u91ac'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\uacc4\ub780', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uacc4\ub780', 'label': u'\uacc4\ub780 \u9dc4\u5375'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\uace4\uc790\uc18c\ub2c8', 'infoUrl': None, 'label': u'\uace4\uc790\uc18c\ub2c8 \u6606\u8005\u5dfd'}, {'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'\ub179\ub9d0', 'infoUrl': None, 'label': u'\ub179\ub9d0 \u83c9\u672b'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\ub204\ub984\uc801', 'infoUrl': None, 'label': u'\ub204\ub984\uc801(\ub204\ub984\uc801)'}, {'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/food2.png', 'id': u'\ub3c4\ub77c\uc9c0', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\ub3c4\ub77c\uc9c0', 'label': u'\ub3c4\ub77c\uc9c0 \u6854\u6897'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\ub3fc\uc9c0\ub2e4\ub9ac', 'infoUrl': None, 'label': u'\ub3fc\uc9c0\ub2e4\ub9ac \u732a\u811a'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\ub4f1\uace8', 'infoUrl': None, 'label': u'\ub4f1\uace8 \u80cc\u9aa8'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\ub9c8\ub298', 'infoUrl': None, 'label': u'\ub9c8\ub298 \u849c'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/menu.png', 'id': u'\ub9cc\uacbd\uc804_\uc815\uc77c\uc9c4\ucc2c-\ub0b4\uc678\ube48\uc0c1\uc0c1', 'infoUrl': None, 'label': u'\ub9cc\uacbd\uc804 \uc815\uc77c\uc9c4\ucc2c \ub0b4\uc678\ube48\uc0c1\uc0c1 \u5167\u5916\u8cd3\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\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\uc2e0\ubc18\uc0ac\uc0c1\uc0c1', 'infoUrl': None, 'label': u'\ub9cc\uacbd\uc804 \uc815\uc77c\uc9c4\ucc2c \ub300\uc2e0\ubc18\uc0ac\uc0c1\uc0c1 \u5927\u81e3\u9812\u8cdc\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\ubcc4\ucc2c\uc548', 'infoUrl': None, 'label': u'\ub9cc\uacbd\uc804 \uc815\uc77c\uc9c4\ucc2c \ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\ubcc4\ucc2c\uc548 \u5927\u738b\u5927\u5983\u6bbf\u9032\u5fa1\u5225\u994c\u6848'}, ...], edgelist=[{'attribute': None, 'relation': u'hasReferenceNote', 'source': u'3d-\uac01\uc0c9\ud654\uc591\uc801', 'target': u'\uac01\uc0c9\ud654\uc591\uc801'}, {'attribute': None, 'relation': u'isShownBy', 'source': u'\uac01\uc0c9\ud654\uc591\uc801', 'target': u'3d-\uac01\uc0c9\ud654\uc591\uc801'}, {'attribute': None, 'relation': u'hasIngredient', 'source': u'\uac01\uc0c9\ud654\uc591\uc801', 'target': u'\uac04\uc7a5'}, {'attribute': None, 'relation': u'hasIngredient', 'source': u'\uac01\uc0c9\ud654\uc591\uc801', 'target': u'\uacc4\ub780'}, {'attribute': None, 'relation': u'hasIngredient', 'source': u'\uac01\uc0c9\ud654\uc591\uc801', 'target': u'\uace4\uc790\uc18c\ub2c8'}, {'attribute': None, 'relation': u'isUsedIn', 'source': u'\uac01\uc0c9\ud654\uc591\uc801', 'target': u'\uad81\uc911\uc5f0\ud5a5'}, {'attribute': None, 'relation': u'hasIngredient', 'source': u'\uac01\uc0c9\ud654\uc591\uc801', 'target': u'\uae50\uc7a3'}, {'attribute': None, 'relation': u'hasIngredient', 'source': u'\uac01\uc0c9\ud654\uc591\uc801', 'target': u'\ub179\ub9d0'}, {'attribute': None, 'relation': u'sameAs', 'source': u'\uac01\uc0c9\ud654\uc591\uc801', 'target': u'\ub204\ub984\uc801'}, {'attribute': None, 'relation': u'hasIngredient', 'source': u'\uac01\uc0c9\ud654\uc591\uc801', 'target': u'\ub3c4\ub77c\uc9c0'}, {'attribute': None, 'relation': u'hasIngredient', 'source': u'\uac01\uc0c9\ud654\uc591\uc801', 'target': u'\ub3fc\uc9c0\ub2e4\ub9ac'}, {'attribute': None, 'relation': u'hasIngredient', 'source': u'\uac01\uc0c9\ud654\uc591\uc801', 'target': u'\ub4f1\uace8'}, {'attribute': None, 'relation': u'hasIngredient', 'source': u'\uac01\uc0c9\ud654\uc591\uc801', 'target': u'\ub9c8\ub298'}, {'attribute': None, 'relation': u'hasIngredient', 'source': u'\uac01\uc0c9\ud654\uc591\uc801', 'target': u'\ubc00\uac00\ub8e8'}, {'attribute': None, 'relation': u'hasIngredient', 'source': u'\uac01\uc0c9\ud654\uc591\uc801', 'target': u'\uc0dd\uac15'}, {'attribute': None, 'relation': u'hasIngredient', 'source': u'\uac01\uc0c9\ud654\uc591\uc801', 'target': u'\uc18c\uae08'}, {'attribute': None, 'relation': u'hasIngredient', 'source': u'\uac01\uc0c9\ud654\uc591\uc801', 'target': u'\uc22d\uc5b4'}, {'attribute': None, 'relation': u'hasIngredient', 'source': u'\uac01\uc0c9\ud654\uc591\uc801', 'target': u'\uc2e4\uae68'}, {'attribute': None, 'relation': u'hasIngredient', 'source': u'\uac01\uc0c9\ud654\uc591\uc801', 'target': u'\uc591-\u7f98'}, {'attribute': None, 'relation': u'sameAs', 'source': u'\uac01\uc0c9\ud654\uc591\uc801', 'target': u'\uc5b4\uc74c\uc801'}, ...], database='hanyang2022', project='hanyang2022', account='guest', password='guest', node='\xea\xb0\x81\xec\x83\x89\xed\x99\x94\xec\x96\x91\xec\xa0\x81 ')
    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\ud654\uc591\uc801', '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\ud654\uc591\uc801.glb', 'label': u'\uac01\uc0c9\ud654\uc591\uc801 3D \ubaa8\ub378'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/image/2021/\uc74c\uc2dd-039.png', 'id': u'\uac01\uc0c9\ud654\uc591\uc801', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uac01\uc0c9\ud654\uc591\uc801', 'label': u'\uac01\uc0c9\ud654\uc591\uc801(\u5404\u8272\u82b1\u967d\uf9fb)'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\uac04\uc7a5', 'infoUrl': None, 'label': u'\uac04\uc7a5 \u826e\u91ac'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\uacc4\ub780', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uacc4\ub780', 'label': u'\uacc4\ub780 \u9dc4\u5375'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\uace4\uc790\uc18c\ub2c8', 'infoUrl': None, 'label': u'\uace4\uc790\uc18c\ub2c8 \u6606\u8005\u5dfd'}, {'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'\ub179\ub9d0', 'infoUrl': None, 'label': u'\ub179\ub9d0 \u83c9\u672b'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\ub204\ub984\uc801', 'infoUrl': None, 'label': u'\ub204\ub984\uc801(\ub204\ub984\uc801)'}, {'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/food2.png', 'id': u'\ub3c4\ub77c\uc9c0', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\ub3c4\ub77c\uc9c0', 'label': u'\ub3c4\ub77c\uc9c0 \u6854\u6897'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\ub3fc\uc9c0\ub2e4\ub9ac', 'infoUrl': None, 'label': u'\ub3fc\uc9c0\ub2e4\ub9ac \u732a\u811a'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\ub4f1\uace8', 'infoUrl': None, 'label': u'\ub4f1\uace8 \u80cc\u9aa8'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\ub9c8\ub298', 'infoUrl': None, 'label': u'\ub9c8\ub298 \u849c'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/menu.png', 'id': u'\ub9cc\uacbd\uc804_\uc815\uc77c\uc9c4\ucc2c-\ub0b4\uc678\ube48\uc0c1\uc0c1', 'infoUrl': None, 'label': u'\ub9cc\uacbd\uc804 \uc815\uc77c\uc9c4\ucc2c \ub0b4\uc678\ube48\uc0c1\uc0c1 \u5167\u5916\u8cd3\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\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\uc2e0\ubc18\uc0ac\uc0c1\uc0c1', 'infoUrl': None, 'label': u'\ub9cc\uacbd\uc804 \uc815\uc77c\uc9c4\ucc2c \ub300\uc2e0\ubc18\uc0ac\uc0c1\uc0c1 \u5927\u81e3\u9812\u8cdc\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\ubcc4\ucc2c\uc548', 'infoUrl': None, 'label': u'\ub9cc\uacbd\uc804 \uc815\uc77c\uc9c4\ucc2c \ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\ubcc4\ucc2c\uc548 \u5927\u738b\u5927\u5983\u6bbf\u9032\u5fa1\u5225\u994c\u6848'}, ...], database = 'hanyang2022', project = 'hanyang2022', account = 'guest', password = 'guest', node = '\xea\xb0\x81\xec\x83\x89\xed\x99\x94\xec\x96\x91\xec\xa0\x81 '
 /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\ud654\uc591\uc801', '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\ud654\uc591\uc801.glb', 'label': u'\uac01\uc0c9\ud654\uc591\uc801 3D \ubaa8\ub378'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/image/2021/\uc74c\uc2dd-039.png', 'id': u'\uac01\uc0c9\ud654\uc591\uc801', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uac01\uc0c9\ud654\uc591\uc801', 'label': u'\uac01\uc0c9\ud654\uc591\uc801(\u5404\u8272\u82b1\u967d\uf9fb)'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\uac04\uc7a5', 'infoUrl': None, 'label': u'\uac04\uc7a5 \u826e\u91ac'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\uacc4\ub780', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uacc4\ub780', 'label': u'\uacc4\ub780 \u9dc4\u5375'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\uace4\uc790\uc18c\ub2c8', 'infoUrl': None, 'label': u'\uace4\uc790\uc18c\ub2c8 \u6606\u8005\u5dfd'}, {'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'\ub179\ub9d0', 'infoUrl': None, 'label': u'\ub179\ub9d0 \u83c9\u672b'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\ub204\ub984\uc801', 'infoUrl': None, 'label': u'\ub204\ub984\uc801(\ub204\ub984\uc801)'}, {'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/food2.png', 'id': u'\ub3c4\ub77c\uc9c0', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\ub3c4\ub77c\uc9c0', 'label': u'\ub3c4\ub77c\uc9c0 \u6854\u6897'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\ub3fc\uc9c0\ub2e4\ub9ac', 'infoUrl': None, 'label': u'\ub3fc\uc9c0\ub2e4\ub9ac \u732a\u811a'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\ub4f1\uace8', 'infoUrl': None, 'label': u'\ub4f1\uace8 \u80cc\u9aa8'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/food2.png', 'id': u'\ub9c8\ub298', 'infoUrl': None, 'label': u'\ub9c8\ub298 \u849c'}, {'class': u'Food', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/menu.png', 'id': u'\ub9cc\uacbd\uc804_\uc815\uc77c\uc9c4\ucc2c-\ub0b4\uc678\ube48\uc0c1\uc0c1', 'infoUrl': None, 'label': u'\ub9cc\uacbd\uc804 \uc815\uc77c\uc9c4\ucc2c \ub0b4\uc678\ube48\uc0c1\uc0c1 \u5167\u5916\u8cd3\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\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\uc2e0\ubc18\uc0ac\uc0c1\uc0c1', 'infoUrl': None, 'label': u'\ub9cc\uacbd\uc804 \uc815\uc77c\uc9c4\ucc2c \ub300\uc2e0\ubc18\uc0ac\uc0c1\uc0c1 \u5927\u81e3\u9812\u8cdc\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\ubcc4\ucc2c\uc548', 'infoUrl': None, 'label': u'\ub9cc\uacbd\uc804 \uc815\uc77c\uc9c4\ucc2c \ub300\uc655\ub300\ube44\uc804\uc9c4\uc5b4\ubcc4\ucc2c\uc548 \u5927\u738b\u5927\u5983\u6bbf\u9032\u5fa1\u5225\u994c\u6848'}, ...], database='hanyang2022', project='hanyang2022', account='guest', password='guest', subject='\xea\xb0\x81\xec\x83\x89\xed\x99\x94\xec\x96\x91\xec\xa0\x81 ')
    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"