<type 'exceptions.UnboundLocalError'>
Python 2.7.12: /usr/bin/python
Sat Dec 6 11:32:21 2025

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 = 's_okehkim', project = 'GJ2025', account = 'guest', pwd = 'guest', node = 'heroincity', NetworkLimit = 100
 /home/sandbox/public_html/cgi-bin/Story01.py in displayData(database='s_okehkim', project='GJ2025', account='guest', password='guest', node='heroincity', 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'Work', 'iconUrl': None, 'id': u'HOMETOWN', 'infoUrl': u'https://dh.aks.ac.kr/~gwangju/wiki/index.php/HOMETOWN', 'label': u'\ub178\ub798) HOMETOWN(2023)'}, {'class': u'Agent', 'iconUrl': None, 'id': u'Heroincity', 'infoUrl': u'https://dh.aks.ac.kr/~gwangju/wiki/index.php/heroincity', 'label': u'\ud788\uc5b4\ub85c\uc778\uc2dc\ud2f0(Heroincity, 1998\ub144~)'}, {'class': u'Index', 'iconUrl': u'https://dh.aks.ac.kr/~gwangju/icon/icon-web.jpg', 'id': u'Web-Heroincity', 'infoUrl': None, 'label': u'\ucc38\uace0\uc6f9) Heroincity'}, {'class': u'Place', 'iconUrl': None, 'id': u'\uad11\uc8fc\uad11\uc5ed\uc2dc_\uc11c\uad6c', 'infoUrl': None, 'label': u'\uad11\uc8fc\uad11\uc5ed\uc2dc \uc11c\uad6c'}, {'class': u'Place', 'iconUrl': None, 'id': u'\uce58\ud3c9\ub3d9', 'infoUrl': u'http://dh.aks.ac.kr/~gwangju/wiki/index.php/\uce58\ud3c9\ub3d9', 'label': u'\uce58\ud3c9\ub3d9'}], edgelist = [{'attribute': u'\ucc38\uace0\uc790\uc6d0', 'relation': u'onlineReference', 'source': u'Heroincity', 'target': u'Web-Heroincity'}, {'attribute': None, 'relation': u'creator', 'source': u'HOMETOWN', 'target': u'Heroincity'}, {'attribute': None, 'relation': u'isBirthPlaceOf', 'source': u'\uad11\uc8fc\uad11\uc5ed\uc2dc_\uc11c\uad6c', 'target': u'Heroincity'}, {'attribute': None, 'relation': u'isBirthPlaceOf', 'source': u'\uce58\ud3c9\ub3d9', 'target': u'Heroincity'}, {'attribute': None, 'relation': u'isLocatedIn', 'source': u'\uce58\ud3c9\ub3d9', 'target': u'\uad11\uc8fc\uad11\uc5ed\uc2dc_\uc11c\uad6c'}], database = 's_okehkim', project = 'GJ2025', account = 'guest', password = 'guest', node = 'heroincity'
 /home/sandbox/public_html/cgi-bin/Story01.py in displayNetwork(nodelist=[{'class': u'Work', 'iconUrl': None, 'id': u'HOMETOWN', 'infoUrl': u'https://dh.aks.ac.kr/~gwangju/wiki/index.php/HOMETOWN', 'label': u'\ub178\ub798) HOMETOWN(2023)'}, {'class': u'Agent', 'iconUrl': None, 'id': u'Heroincity', 'infoUrl': u'https://dh.aks.ac.kr/~gwangju/wiki/index.php/heroincity', 'label': u'\ud788\uc5b4\ub85c\uc778\uc2dc\ud2f0(Heroincity, 1998\ub144~)'}, {'class': u'Index', 'iconUrl': u'https://dh.aks.ac.kr/~gwangju/icon/icon-web.jpg', 'id': u'Web-Heroincity', 'infoUrl': None, 'label': u'\ucc38\uace0\uc6f9) Heroincity'}, {'class': u'Place', 'iconUrl': None, 'id': u'\uad11\uc8fc\uad11\uc5ed\uc2dc_\uc11c\uad6c', 'infoUrl': None, 'label': u'\uad11\uc8fc\uad11\uc5ed\uc2dc \uc11c\uad6c'}, {'class': u'Place', 'iconUrl': None, 'id': u'\uce58\ud3c9\ub3d9', 'infoUrl': u'http://dh.aks.ac.kr/~gwangju/wiki/index.php/\uce58\ud3c9\ub3d9', 'label': u'\uce58\ud3c9\ub3d9'}], edgelist=[{'attribute': u'\ucc38\uace0\uc790\uc6d0', 'relation': u'onlineReference', 'source': u'Heroincity', 'target': u'Web-Heroincity'}, {'attribute': None, 'relation': u'creator', 'source': u'HOMETOWN', 'target': u'Heroincity'}, {'attribute': None, 'relation': u'isBirthPlaceOf', 'source': u'\uad11\uc8fc\uad11\uc5ed\uc2dc_\uc11c\uad6c', 'target': u'Heroincity'}, {'attribute': None, 'relation': u'isBirthPlaceOf', 'source': u'\uce58\ud3c9\ub3d9', 'target': u'Heroincity'}, {'attribute': None, 'relation': u'isLocatedIn', 'source': u'\uce58\ud3c9\ub3d9', 'target': u'\uad11\uc8fc\uad11\uc5ed\uc2dc_\uc11c\uad6c'}], database='s_okehkim', project='GJ2025', account='guest', password='guest', node='heroincity')
    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'Work', 'iconUrl': None, 'id': u'HOMETOWN', 'infoUrl': u'https://dh.aks.ac.kr/~gwangju/wiki/index.php/HOMETOWN', 'label': u'\ub178\ub798) HOMETOWN(2023)'}, {'class': u'Agent', 'iconUrl': None, 'id': u'Heroincity', 'infoUrl': u'https://dh.aks.ac.kr/~gwangju/wiki/index.php/heroincity', 'label': u'\ud788\uc5b4\ub85c\uc778\uc2dc\ud2f0(Heroincity, 1998\ub144~)'}, {'class': u'Index', 'iconUrl': u'https://dh.aks.ac.kr/~gwangju/icon/icon-web.jpg', 'id': u'Web-Heroincity', 'infoUrl': None, 'label': u'\ucc38\uace0\uc6f9) Heroincity'}, {'class': u'Place', 'iconUrl': None, 'id': u'\uad11\uc8fc\uad11\uc5ed\uc2dc_\uc11c\uad6c', 'infoUrl': None, 'label': u'\uad11\uc8fc\uad11\uc5ed\uc2dc \uc11c\uad6c'}, {'class': u'Place', 'iconUrl': None, 'id': u'\uce58\ud3c9\ub3d9', 'infoUrl': u'http://dh.aks.ac.kr/~gwangju/wiki/index.php/\uce58\ud3c9\ub3d9', 'label': u'\uce58\ud3c9\ub3d9'}], database = 's_okehkim', project = 'GJ2025', account = 'guest', password = 'guest', node = 'heroincity'
 /home/sandbox/public_html/cgi-bin/Story01.py in printNodes(nodelist=[{'class': u'Work', 'iconUrl': None, 'id': u'HOMETOWN', 'infoUrl': u'https://dh.aks.ac.kr/~gwangju/wiki/index.php/HOMETOWN', 'label': u'\ub178\ub798) HOMETOWN(2023)'}, {'class': u'Agent', 'iconUrl': None, 'id': u'Heroincity', 'infoUrl': u'https://dh.aks.ac.kr/~gwangju/wiki/index.php/heroincity', 'label': u'\ud788\uc5b4\ub85c\uc778\uc2dc\ud2f0(Heroincity, 1998\ub144~)'}, {'class': u'Index', 'iconUrl': u'https://dh.aks.ac.kr/~gwangju/icon/icon-web.jpg', 'id': u'Web-Heroincity', 'infoUrl': None, 'label': u'\ucc38\uace0\uc6f9) Heroincity'}, {'class': u'Place', 'iconUrl': None, 'id': u'\uad11\uc8fc\uad11\uc5ed\uc2dc_\uc11c\uad6c', 'infoUrl': None, 'label': u'\uad11\uc8fc\uad11\uc5ed\uc2dc \uc11c\uad6c'}, {'class': u'Place', 'iconUrl': None, 'id': u'\uce58\ud3c9\ub3d9', 'infoUrl': u'http://dh.aks.ac.kr/~gwangju/wiki/index.php/\uce58\ud3c9\ub3d9', 'label': u'\uce58\ud3c9\ub3d9'}], database='s_okehkim', project='GJ2025', account='guest', password='guest', subject='heroincity')
    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"