<type 'exceptions.UnboundLocalError'>
Python 2.7.12: /usr/bin/python
Sat Nov 2 02:59:14 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 = '3D-\xec\x82\xbc\xea\xb5\xb0\xeb\xb6\x80_\xec\x99\xb8\xed\x96\x89\xeb\x9e\x91_\xeb\x82\xa8\xec\xb8\xa1', NetworkLimit = 100
 /home/sandbox/public_html/cgi-bin/Story01.py in displayData(database='hanyang2022', project='hanyang2022', account='guest', password='guest', node='3D-\xec\x82\xbc\xea\xb5\xb0\xeb\xb6\x80_\xec\x99\xb8\xed\x96\x89\xeb\x9e\x91_\xeb\x82\xa8\xec\xb8\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-\uc0bc\uad70\ubd80_\uc678\ud589\ub791_\ub0a8\uce21', 'infoUrl': u'http://dh.aks.ac.kr/~sandbox/cgi-bin/3dm/ModelVi...url=dh.aks.ac.kr/~hanyang/glb/\uac74\ubb3c/\uc0bc\uad70\ubd80/\uc0bc\uad70\ubd80\uc678\ud589\ub791\ub0a8\uce21.glb', 'label': u'\uc0bc\uad70\ubd80 \uc678\ud589\ub791 \ub0a8\uce21 3D \ubaa8\ub378'}, {'class': u'Actor', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/centralOffice.png', 'id': u'\uc0bc\uad70\ubd80', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uc0bc\uad70\ubd80', 'label': u'\uc0bc\uad70\ubd80(\u4e09\u8ecd\u5e9c)'}, {'class': u'Architecture', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/architecture.png', 'id': u'\uc0bc\uad70\ubd80_\uad8c\uc5ed', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uc0bc\uad70\ubd80', 'label': u'\uc0bc\uad70\ubd80 \uad8c\uc5ed'}], edgelist = [{'attribute': u'3D \ubaa8\ub378', 'relation': u'isShownBy', 'source': u'\uc0bc\uad70\ubd80', 'target': u'3d-\uc0bc\uad70\ubd80_\uc678\ud589\ub791_\ub0a8\uce21'}, {'attribute': None, 'relation': u'isShownBy', 'source': u'\uc0bc\uad70\ubd80_\uad8c\uc5ed', 'target': u'3d-\uc0bc\uad70\ubd80_\uc678\ud589\ub791_\ub0a8\uce21'}, {'attribute': None, 'relation': u'isSiteOf', 'source': u'\uc0bc\uad70\ubd80_\uad8c\uc5ed', 'target': u'\uc0bc\uad70\ubd80'}], database = 'hanyang2022', project = 'hanyang2022', account = 'guest', password = 'guest', node = '3D-\xec\x82\xbc\xea\xb5\xb0\xeb\xb6\x80_\xec\x99\xb8\xed\x96\x89\xeb\x9e\x91_\xeb\x82\xa8\xec\xb8\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-\uc0bc\uad70\ubd80_\uc678\ud589\ub791_\ub0a8\uce21', 'infoUrl': u'http://dh.aks.ac.kr/~sandbox/cgi-bin/3dm/ModelVi...url=dh.aks.ac.kr/~hanyang/glb/\uac74\ubb3c/\uc0bc\uad70\ubd80/\uc0bc\uad70\ubd80\uc678\ud589\ub791\ub0a8\uce21.glb', 'label': u'\uc0bc\uad70\ubd80 \uc678\ud589\ub791 \ub0a8\uce21 3D \ubaa8\ub378'}, {'class': u'Actor', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/centralOffice.png', 'id': u'\uc0bc\uad70\ubd80', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uc0bc\uad70\ubd80', 'label': u'\uc0bc\uad70\ubd80(\u4e09\u8ecd\u5e9c)'}, {'class': u'Architecture', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/architecture.png', 'id': u'\uc0bc\uad70\ubd80_\uad8c\uc5ed', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uc0bc\uad70\ubd80', 'label': u'\uc0bc\uad70\ubd80 \uad8c\uc5ed'}], edgelist=[{'attribute': u'3D \ubaa8\ub378', 'relation': u'isShownBy', 'source': u'\uc0bc\uad70\ubd80', 'target': u'3d-\uc0bc\uad70\ubd80_\uc678\ud589\ub791_\ub0a8\uce21'}, {'attribute': None, 'relation': u'isShownBy', 'source': u'\uc0bc\uad70\ubd80_\uad8c\uc5ed', 'target': u'3d-\uc0bc\uad70\ubd80_\uc678\ud589\ub791_\ub0a8\uce21'}, {'attribute': None, 'relation': u'isSiteOf', 'source': u'\uc0bc\uad70\ubd80_\uad8c\uc5ed', 'target': u'\uc0bc\uad70\ubd80'}], database='hanyang2022', project='hanyang2022', account='guest', password='guest', node='3D-\xec\x82\xbc\xea\xb5\xb0\xeb\xb6\x80_\xec\x99\xb8\xed\x96\x89\xeb\x9e\x91_\xeb\x82\xa8\xec\xb8\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-\uc0bc\uad70\ubd80_\uc678\ud589\ub791_\ub0a8\uce21', 'infoUrl': u'http://dh.aks.ac.kr/~sandbox/cgi-bin/3dm/ModelVi...url=dh.aks.ac.kr/~hanyang/glb/\uac74\ubb3c/\uc0bc\uad70\ubd80/\uc0bc\uad70\ubd80\uc678\ud589\ub791\ub0a8\uce21.glb', 'label': u'\uc0bc\uad70\ubd80 \uc678\ud589\ub791 \ub0a8\uce21 3D \ubaa8\ub378'}, {'class': u'Actor', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/centralOffice.png', 'id': u'\uc0bc\uad70\ubd80', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uc0bc\uad70\ubd80', 'label': u'\uc0bc\uad70\ubd80(\u4e09\u8ecd\u5e9c)'}, {'class': u'Architecture', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/architecture.png', 'id': u'\uc0bc\uad70\ubd80_\uad8c\uc5ed', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uc0bc\uad70\ubd80', 'label': u'\uc0bc\uad70\ubd80 \uad8c\uc5ed'}], database = 'hanyang2022', project = 'hanyang2022', account = 'guest', password = 'guest', node = '3D-\xec\x82\xbc\xea\xb5\xb0\xeb\xb6\x80_\xec\x99\xb8\xed\x96\x89\xeb\x9e\x91_\xeb\x82\xa8\xec\xb8\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-\uc0bc\uad70\ubd80_\uc678\ud589\ub791_\ub0a8\uce21', 'infoUrl': u'http://dh.aks.ac.kr/~sandbox/cgi-bin/3dm/ModelVi...url=dh.aks.ac.kr/~hanyang/glb/\uac74\ubb3c/\uc0bc\uad70\ubd80/\uc0bc\uad70\ubd80\uc678\ud589\ub791\ub0a8\uce21.glb', 'label': u'\uc0bc\uad70\ubd80 \uc678\ud589\ub791 \ub0a8\uce21 3D \ubaa8\ub378'}, {'class': u'Actor', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/centralOffice.png', 'id': u'\uc0bc\uad70\ubd80', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uc0bc\uad70\ubd80', 'label': u'\uc0bc\uad70\ubd80(\u4e09\u8ecd\u5e9c)'}, {'class': u'Architecture', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/architecture.png', 'id': u'\uc0bc\uad70\ubd80_\uad8c\uc5ed', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uc0bc\uad70\ubd80', 'label': u'\uc0bc\uad70\ubd80 \uad8c\uc5ed'}], database='hanyang2022', project='hanyang2022', account='guest', password='guest', subject='3D-\xec\x82\xbc\xea\xb5\xb0\xeb\xb6\x80_\xec\x99\xb8\xed\x96\x89\xeb\x9e\x91_\xeb\x82\xa8\xec\xb8\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"