<type 'exceptions.UnboundLocalError'>
Python 2.7.12: /usr/bin/python
Sun Nov 3 03:55: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 ()
    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 = 'gwangju', project = 'gwangju', account = 'guest', pwd = 'guest', node = 'riss-A104825900', NetworkLimit = 100
 /home/sandbox/public_html/cgi-bin/Story01.py in displayData(database='gwangju', project='gwangju', account='guest', password='guest', node='riss-A104825900', 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'Bibliography', 'iconUrl': u'https://dh.aks.ac.kr/~gwangju/icon/icon-theses.jpg', 'id': u'RISS-A104825900', 'infoUrl': u'http://www.riss.kr/link?id=A104825900', 'label': u'\ub17c\ubb38) \ucc9c\ub4dd\uc5fc,\u300c\uc804\ub0a8\uc9c0\uc5ed \uc11d\ud0d1\uc758 \ucd9c\ud604\uacfc \ud2b9\uc131\u300d, \u300e\uac74\ucd95\uc5ed\uc0ac\uc5f0\uad6c\u300fVol.23, \ud55c\uad6d\uac74\ucd95\uc5ed\uc0ac\ud559\ud68c, 2014'}, {'class': u'Index', 'iconUrl': u'https://dh.aks.ac.kr/~gwangju/icon/icon-doc.jpg', 'id': u'bib-(\uc804)\uad11\uc8fc_\uc131\uac70\uc0ac\uc9c0_\uc624\uce35\uc11d\ud0d1', 'infoUrl': None, 'label': u'\ucc38\uace0\ubb38\ud5cc) (\uc804)\uad11\uc8fc \uc131\uac70\uc0ac\uc9c0 \uc624\uce35\uc11d\ud0d1'}, {'class': u'Index', 'iconUrl': u'https://dh.aks.ac.kr/~gwangju/icon/icon-doc.jpg', 'id': u'bib-\uad11\uc8fc_\uc9c0\uc0b0\ub3d9_\uc624\uce35\uc11d\ud0d1', 'infoUrl': None, 'label': u'\ucc38\uace0\ubb38\ud5cc) \uad11\uc8fc \uc9c0\uc0b0\ub3d9 \uc624\uce35\uc11d\ud0d1'}], edgelist = [{'attribute': None, 'relation': u'isReferencedFrom', 'source': u'bib-(\uc804)\uad11\uc8fc_\uc131\uac70\uc0ac\uc9c0_\uc624\uce35\uc11d\ud0d1', 'target': u'RISS-A104825900'}, {'attribute': None, 'relation': u'isReferencedFrom', 'source': u'bib-\uad11\uc8fc_\uc9c0\uc0b0\ub3d9_\uc624\uce35\uc11d\ud0d1', 'target': u'riss-A104825900'}], database = 'gwangju', project = 'gwangju', account = 'guest', password = 'guest', node = 'riss-A104825900'
 /home/sandbox/public_html/cgi-bin/Story01.py in displayNetwork(nodelist=[{'class': u'Bibliography', 'iconUrl': u'https://dh.aks.ac.kr/~gwangju/icon/icon-theses.jpg', 'id': u'RISS-A104825900', 'infoUrl': u'http://www.riss.kr/link?id=A104825900', 'label': u'\ub17c\ubb38) \ucc9c\ub4dd\uc5fc,\u300c\uc804\ub0a8\uc9c0\uc5ed \uc11d\ud0d1\uc758 \ucd9c\ud604\uacfc \ud2b9\uc131\u300d, \u300e\uac74\ucd95\uc5ed\uc0ac\uc5f0\uad6c\u300fVol.23, \ud55c\uad6d\uac74\ucd95\uc5ed\uc0ac\ud559\ud68c, 2014'}, {'class': u'Index', 'iconUrl': u'https://dh.aks.ac.kr/~gwangju/icon/icon-doc.jpg', 'id': u'bib-(\uc804)\uad11\uc8fc_\uc131\uac70\uc0ac\uc9c0_\uc624\uce35\uc11d\ud0d1', 'infoUrl': None, 'label': u'\ucc38\uace0\ubb38\ud5cc) (\uc804)\uad11\uc8fc \uc131\uac70\uc0ac\uc9c0 \uc624\uce35\uc11d\ud0d1'}, {'class': u'Index', 'iconUrl': u'https://dh.aks.ac.kr/~gwangju/icon/icon-doc.jpg', 'id': u'bib-\uad11\uc8fc_\uc9c0\uc0b0\ub3d9_\uc624\uce35\uc11d\ud0d1', 'infoUrl': None, 'label': u'\ucc38\uace0\ubb38\ud5cc) \uad11\uc8fc \uc9c0\uc0b0\ub3d9 \uc624\uce35\uc11d\ud0d1'}], edgelist=[{'attribute': None, 'relation': u'isReferencedFrom', 'source': u'bib-(\uc804)\uad11\uc8fc_\uc131\uac70\uc0ac\uc9c0_\uc624\uce35\uc11d\ud0d1', 'target': u'RISS-A104825900'}, {'attribute': None, 'relation': u'isReferencedFrom', 'source': u'bib-\uad11\uc8fc_\uc9c0\uc0b0\ub3d9_\uc624\uce35\uc11d\ud0d1', 'target': u'riss-A104825900'}], database='gwangju', project='gwangju', account='guest', password='guest', node='riss-A104825900')
    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'Bibliography', 'iconUrl': u'https://dh.aks.ac.kr/~gwangju/icon/icon-theses.jpg', 'id': u'RISS-A104825900', 'infoUrl': u'http://www.riss.kr/link?id=A104825900', 'label': u'\ub17c\ubb38) \ucc9c\ub4dd\uc5fc,\u300c\uc804\ub0a8\uc9c0\uc5ed \uc11d\ud0d1\uc758 \ucd9c\ud604\uacfc \ud2b9\uc131\u300d, \u300e\uac74\ucd95\uc5ed\uc0ac\uc5f0\uad6c\u300fVol.23, \ud55c\uad6d\uac74\ucd95\uc5ed\uc0ac\ud559\ud68c, 2014'}, {'class': u'Index', 'iconUrl': u'https://dh.aks.ac.kr/~gwangju/icon/icon-doc.jpg', 'id': u'bib-(\uc804)\uad11\uc8fc_\uc131\uac70\uc0ac\uc9c0_\uc624\uce35\uc11d\ud0d1', 'infoUrl': None, 'label': u'\ucc38\uace0\ubb38\ud5cc) (\uc804)\uad11\uc8fc \uc131\uac70\uc0ac\uc9c0 \uc624\uce35\uc11d\ud0d1'}, {'class': u'Index', 'iconUrl': u'https://dh.aks.ac.kr/~gwangju/icon/icon-doc.jpg', 'id': u'bib-\uad11\uc8fc_\uc9c0\uc0b0\ub3d9_\uc624\uce35\uc11d\ud0d1', 'infoUrl': None, 'label': u'\ucc38\uace0\ubb38\ud5cc) \uad11\uc8fc \uc9c0\uc0b0\ub3d9 \uc624\uce35\uc11d\ud0d1'}], database = 'gwangju', project = 'gwangju', account = 'guest', password = 'guest', node = 'riss-A104825900'
 /home/sandbox/public_html/cgi-bin/Story01.py in printNodes(nodelist=[{'class': u'Bibliography', 'iconUrl': u'https://dh.aks.ac.kr/~gwangju/icon/icon-theses.jpg', 'id': u'RISS-A104825900', 'infoUrl': u'http://www.riss.kr/link?id=A104825900', 'label': u'\ub17c\ubb38) \ucc9c\ub4dd\uc5fc,\u300c\uc804\ub0a8\uc9c0\uc5ed \uc11d\ud0d1\uc758 \ucd9c\ud604\uacfc \ud2b9\uc131\u300d, \u300e\uac74\ucd95\uc5ed\uc0ac\uc5f0\uad6c\u300fVol.23, \ud55c\uad6d\uac74\ucd95\uc5ed\uc0ac\ud559\ud68c, 2014'}, {'class': u'Index', 'iconUrl': u'https://dh.aks.ac.kr/~gwangju/icon/icon-doc.jpg', 'id': u'bib-(\uc804)\uad11\uc8fc_\uc131\uac70\uc0ac\uc9c0_\uc624\uce35\uc11d\ud0d1', 'infoUrl': None, 'label': u'\ucc38\uace0\ubb38\ud5cc) (\uc804)\uad11\uc8fc \uc131\uac70\uc0ac\uc9c0 \uc624\uce35\uc11d\ud0d1'}, {'class': u'Index', 'iconUrl': u'https://dh.aks.ac.kr/~gwangju/icon/icon-doc.jpg', 'id': u'bib-\uad11\uc8fc_\uc9c0\uc0b0\ub3d9_\uc624\uce35\uc11d\ud0d1', 'infoUrl': None, 'label': u'\ucc38\uace0\ubb38\ud5cc) \uad11\uc8fc \uc9c0\uc0b0\ub3d9 \uc624\uce35\uc11d\ud0d1'}], database='gwangju', project='gwangju', account='guest', password='guest', subject='riss-A104825900')
    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"