<type 'exceptions.UnboundLocalError'>
Python 2.7.12: /usr/bin/python
Mon Jul 22 00:37:01 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-A103030463', NetworkLimit = 100
 /home/sandbox/public_html/cgi-bin/Story01.py in displayData(database='gwangju', project='gwangju', account='guest', password='guest', node='riss-A103030463', 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-A103030463', 'infoUrl': u'http://www.riss.kr/link?id=A103030463', 'label': u'\ub17c\ubb38) \ud0c1\uacbd\ubc31,\u300c\uace0\ub824\uc2dc\ub300\uc758 \ud638\ub0a8\uc9c0\uc5ed \uc2e0\ub77c\uacc4 \uc11d\ud0d1 \uc5f0\uad6c\u300d, \u300e\ubb38\ud654\uc7ac\u300fVol.49, \uad6d\ub9bd\ubb38\ud654\uc7ac\uc5f0\uad6c\uc18c, 2016'}, {'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-A103030463'}, {'attribute': None, 'relation': u'isReferencedFrom', 'source': u'bib-\uad11\uc8fc_\uc9c0\uc0b0\ub3d9_\uc624\uce35\uc11d\ud0d1', 'target': u'riss-A103030463'}], database = 'gwangju', project = 'gwangju', account = 'guest', password = 'guest', node = 'riss-A103030463'
 /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-A103030463', 'infoUrl': u'http://www.riss.kr/link?id=A103030463', 'label': u'\ub17c\ubb38) \ud0c1\uacbd\ubc31,\u300c\uace0\ub824\uc2dc\ub300\uc758 \ud638\ub0a8\uc9c0\uc5ed \uc2e0\ub77c\uacc4 \uc11d\ud0d1 \uc5f0\uad6c\u300d, \u300e\ubb38\ud654\uc7ac\u300fVol.49, \uad6d\ub9bd\ubb38\ud654\uc7ac\uc5f0\uad6c\uc18c, 2016'}, {'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-A103030463'}, {'attribute': None, 'relation': u'isReferencedFrom', 'source': u'bib-\uad11\uc8fc_\uc9c0\uc0b0\ub3d9_\uc624\uce35\uc11d\ud0d1', 'target': u'riss-A103030463'}], database='gwangju', project='gwangju', account='guest', password='guest', node='riss-A103030463')
    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-A103030463', 'infoUrl': u'http://www.riss.kr/link?id=A103030463', 'label': u'\ub17c\ubb38) \ud0c1\uacbd\ubc31,\u300c\uace0\ub824\uc2dc\ub300\uc758 \ud638\ub0a8\uc9c0\uc5ed \uc2e0\ub77c\uacc4 \uc11d\ud0d1 \uc5f0\uad6c\u300d, \u300e\ubb38\ud654\uc7ac\u300fVol.49, \uad6d\ub9bd\ubb38\ud654\uc7ac\uc5f0\uad6c\uc18c, 2016'}, {'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-A103030463'
 /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-A103030463', 'infoUrl': u'http://www.riss.kr/link?id=A103030463', 'label': u'\ub17c\ubb38) \ud0c1\uacbd\ubc31,\u300c\uace0\ub824\uc2dc\ub300\uc758 \ud638\ub0a8\uc9c0\uc5ed \uc2e0\ub77c\uacc4 \uc11d\ud0d1 \uc5f0\uad6c\u300d, \u300e\ubb38\ud654\uc7ac\u300fVol.49, \uad6d\ub9bd\ubb38\ud654\uc7ac\uc5f0\uad6c\uc18c, 2016'}, {'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-A103030463')
    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"