<type 'exceptions.UnboundLocalError'>
Python 2.7.12: /usr/bin/python
Wed May 8 13:03:08 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 ()
    521 
    522         displayData( db, project, account, pwd, node, NetworkLimit  )
    523 
    524 
=>  525 main()
main = <function main>
 /home/sandbox/public_html/cgi-bin/Story01.py in main()
    520         if ( NetworkLimit < 1 ): NetworkLimit = 100
    521 
=>  522         displayData( db, project, account, pwd, node, NetworkLimit  )
    523 
    524 
global displayData = <function displayData>, db = 'hanyang2023', project = 'hanyang', account = 'guest', pwd = 'guest', node = '3D-\xec\x9d\x98\xec\xa0\x95\xeb\xb6\x80_\xeb\xb6\x81\xec\xb8\xa1_\xec\x99\xb8\xed\x96\x89\xeb\x9e\x91', NetworkLimit = 100
 /home/sandbox/public_html/cgi-bin/Story01.py in displayData(database='hanyang2023', project='hanyang', account='guest', password='guest', node='3D-\xec\x9d\x98\xec\xa0\x95\xeb\xb6\x80_\xeb\xb6\x81\xec\xb8\xa1_\xec\x99\xb8\xed\x96\x89\xeb\x9e\x91', NetworkLimit=100)
    494         
    495         if( count <= NetworkLimit ):
=>  496                 displayNetwork( nodelist, edgelist, database, project, account, password, node )
    497         else:
    498                 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-\uc758\uc815\ubd80_\ubd81\uce21_\uc678\ud589\ub791', 'infoUrl': u'https://dh.aks.ac.kr/~sandbox/cgi-bin/3dm/ModelV...url=dh.aks.ac.kr/~hanyang/glb/\uac74\ubb3c/\uc758\uc815\ubd80/\uc758\uc815\ubd80\ubd81\uce21\uc678\ud589\ub791.glb', 'label': u'\uc758\uc815\ubd80 \ubd81\uce21 \uc678\ud589\ub791 3D \ubaa8\ub378'}, {'class': u'Actor', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/centralOffice.png', 'id': u'\uc758\uc815\ubd80', 'infoUrl': u'https://dh.aks.ac.kr/hanyang2/wiki/index.php/\uc758\uc815\ubd80', 'label': u'\uc758\uc815\ubd80(\u8b70\u653f\u5e9c)'}, {'class': u'Architecture', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/architecture.png', 'id': u'\uc758\uc815\ubd80_\uad8c\uc5ed', 'infoUrl': u'https://dh.aks.ac.kr/hanyang2/wiki/index.php/\uc758\uc815\ubd80', 'label': u'\uc758\uc815\ubd80 \uad8c\uc5ed'}], edgelist = [{'attribute': u'3D \ubaa8\ub378', 'relation': u'isShownBy', 'source': u'\uc758\uc815\ubd80', 'target': u'3d-\uc758\uc815\ubd80_\ubd81\uce21_\uc678\ud589\ub791'}, {'attribute': None, 'relation': u'isShownBy', 'source': u'\uc758\uc815\ubd80_\uad8c\uc5ed', 'target': u'3d-\uc758\uc815\ubd80_\ubd81\uce21_\uc678\ud589\ub791'}, {'attribute': None, 'relation': u'isSiteOf', 'source': u'\uc758\uc815\ubd80_\uad8c\uc5ed', 'target': u'\uc758\uc815\ubd80'}], database = 'hanyang2023', project = 'hanyang', account = 'guest', password = 'guest', node = '3D-\xec\x9d\x98\xec\xa0\x95\xeb\xb6\x80_\xeb\xb6\x81\xec\xb8\xa1_\xec\x99\xb8\xed\x96\x89\xeb\x9e\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-\uc758\uc815\ubd80_\ubd81\uce21_\uc678\ud589\ub791', 'infoUrl': u'https://dh.aks.ac.kr/~sandbox/cgi-bin/3dm/ModelV...url=dh.aks.ac.kr/~hanyang/glb/\uac74\ubb3c/\uc758\uc815\ubd80/\uc758\uc815\ubd80\ubd81\uce21\uc678\ud589\ub791.glb', 'label': u'\uc758\uc815\ubd80 \ubd81\uce21 \uc678\ud589\ub791 3D \ubaa8\ub378'}, {'class': u'Actor', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/centralOffice.png', 'id': u'\uc758\uc815\ubd80', 'infoUrl': u'https://dh.aks.ac.kr/hanyang2/wiki/index.php/\uc758\uc815\ubd80', 'label': u'\uc758\uc815\ubd80(\u8b70\u653f\u5e9c)'}, {'class': u'Architecture', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/architecture.png', 'id': u'\uc758\uc815\ubd80_\uad8c\uc5ed', 'infoUrl': u'https://dh.aks.ac.kr/hanyang2/wiki/index.php/\uc758\uc815\ubd80', 'label': u'\uc758\uc815\ubd80 \uad8c\uc5ed'}], edgelist=[{'attribute': u'3D \ubaa8\ub378', 'relation': u'isShownBy', 'source': u'\uc758\uc815\ubd80', 'target': u'3d-\uc758\uc815\ubd80_\ubd81\uce21_\uc678\ud589\ub791'}, {'attribute': None, 'relation': u'isShownBy', 'source': u'\uc758\uc815\ubd80_\uad8c\uc5ed', 'target': u'3d-\uc758\uc815\ubd80_\ubd81\uce21_\uc678\ud589\ub791'}, {'attribute': None, 'relation': u'isSiteOf', 'source': u'\uc758\uc815\ubd80_\uad8c\uc5ed', 'target': u'\uc758\uc815\ubd80'}], database='hanyang2023', project='hanyang', account='guest', password='guest', node='3D-\xec\x9d\x98\xec\xa0\x95\xeb\xb6\x80_\xeb\xb6\x81\xec\xb8\xa1_\xec\x99\xb8\xed\x96\x89\xeb\x9e\x91')
    344                 if not line: break
    345                 if( '#YourData' == line.strip()):
=>  346                         printNodes( nodelist, database, project, account, password, node )
    347                         printLinks( edgelist, node, account )
    348                 else:
global printNodes = <function printNodes>, nodelist = [{'class': u'Multimedia', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/3DModel.png', 'id': u'3d-\uc758\uc815\ubd80_\ubd81\uce21_\uc678\ud589\ub791', 'infoUrl': u'https://dh.aks.ac.kr/~sandbox/cgi-bin/3dm/ModelV...url=dh.aks.ac.kr/~hanyang/glb/\uac74\ubb3c/\uc758\uc815\ubd80/\uc758\uc815\ubd80\ubd81\uce21\uc678\ud589\ub791.glb', 'label': u'\uc758\uc815\ubd80 \ubd81\uce21 \uc678\ud589\ub791 3D \ubaa8\ub378'}, {'class': u'Actor', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/centralOffice.png', 'id': u'\uc758\uc815\ubd80', 'infoUrl': u'https://dh.aks.ac.kr/hanyang2/wiki/index.php/\uc758\uc815\ubd80', 'label': u'\uc758\uc815\ubd80(\u8b70\u653f\u5e9c)'}, {'class': u'Architecture', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/architecture.png', 'id': u'\uc758\uc815\ubd80_\uad8c\uc5ed', 'infoUrl': u'https://dh.aks.ac.kr/hanyang2/wiki/index.php/\uc758\uc815\ubd80', 'label': u'\uc758\uc815\ubd80 \uad8c\uc5ed'}], database = 'hanyang2023', project = 'hanyang', account = 'guest', password = 'guest', node = '3D-\xec\x9d\x98\xec\xa0\x95\xeb\xb6\x80_\xeb\xb6\x81\xec\xb8\xa1_\xec\x99\xb8\xed\x96\x89\xeb\x9e\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-\uc758\uc815\ubd80_\ubd81\uce21_\uc678\ud589\ub791', 'infoUrl': u'https://dh.aks.ac.kr/~sandbox/cgi-bin/3dm/ModelV...url=dh.aks.ac.kr/~hanyang/glb/\uac74\ubb3c/\uc758\uc815\ubd80/\uc758\uc815\ubd80\ubd81\uce21\uc678\ud589\ub791.glb', 'label': u'\uc758\uc815\ubd80 \ubd81\uce21 \uc678\ud589\ub791 3D \ubaa8\ub378'}, {'class': u'Actor', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/centralOffice.png', 'id': u'\uc758\uc815\ubd80', 'infoUrl': u'https://dh.aks.ac.kr/hanyang2/wiki/index.php/\uc758\uc815\ubd80', 'label': u'\uc758\uc815\ubd80(\u8b70\u653f\u5e9c)'}, {'class': u'Architecture', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/architecture.png', 'id': u'\uc758\uc815\ubd80_\uad8c\uc5ed', 'infoUrl': u'https://dh.aks.ac.kr/hanyang2/wiki/index.php/\uc758\uc815\ubd80', 'label': u'\uc758\uc815\ubd80 \uad8c\uc5ed'}], database='hanyang2023', project='hanyang', account='guest', password='guest', subject='3D-\xec\x9d\x98\xec\xa0\x95\xeb\xb6\x80_\xeb\xb6\x81\xec\xb8\xa1_\xec\x99\xb8\xed\x96\x89\xeb\x9e\x91')
    252         
    253         #add show-all-story-nodes button
=>  254         if( subjectClass == 'Story' ) :
    255                 print "                 nodesArray.push({"
    256                 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"