<type 'exceptions.UnboundLocalError'>
Python 2.7.12: /usr/bin/python
Mon Jul 22 00:36:59 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-M11512759', NetworkLimit = 100
 /home/sandbox/public_html/cgi-bin/Story01.py in displayData(database='gwangju', project='gwangju', account='guest', password='guest', node='riss-M11512759', 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-book.jpg', 'id': u'RISS-M11512759', 'infoUrl': u'http://www.riss.kr/link?id=M11512759', 'label': u'\ub2e8\ud589\ubcf8) \ubc15\ud61c\uac15 \ub4f1, \u300e\uadf8\ub54c \uadf8 \uc790\ub9ac \uadf8 \uc0ac\ub78c\ub4e4\u300f, \uc5ec\uc720\ub2f9, 2007'}, {'class': u'Index', 'iconUrl': u'https://dh.aks.ac.kr/~gwangju/icon/icon-doc.jpg', 'id': u'bib-5.18\uae30\ub150\uacf5\uc6d0', 'infoUrl': None, 'label': u'\ucc38\uace0\ubb38\ud5cc) 5.18\uae30\ub150\uacf5\uc6d0'}, {'class': u'Index', 'iconUrl': u'https://dh.aks.ac.kr/~gwangju/icon/icon-doc.jpg', 'id': u'bib-\uad11\uc8fc_\ubc30\uace0\ud508\ub2e4\ub9ac', 'infoUrl': None, 'label': u'\ucc38\uace0\ubb38\ud5cc) \uad11\uc8fc \ubc30\uace0\ud508\ub2e4\ub9ac'}, {'class': u'Index', 'iconUrl': u'https://dh.aks.ac.kr/~gwangju/icon/icon-doc.jpg', 'id': u'bib-\uad11\uc8fc\uc2dc\ubbfc\ud68c\uad00', 'infoUrl': None, 'label': u'\ucc38\uace0\ubb38\ud5cc) \uad11\uc8fc\uc2dc\ubbfc\ud68c\uad00'}], edgelist = [{'attribute': None, 'relation': u'isReferencedFrom', 'source': u'bib-5.18\uae30\ub150\uacf5\uc6d0', 'target': u'RISS-M11512759'}, {'attribute': None, 'relation': u'isReferencedFrom', 'source': u'bib-\uad11\uc8fc_\ubc30\uace0\ud508\ub2e4\ub9ac', 'target': u'riss-M11512759'}, {'attribute': None, 'relation': u'isReferencedFrom', 'source': u'bib-\uad11\uc8fc\uc2dc\ubbfc\ud68c\uad00', 'target': u'riss-M11512759'}], database = 'gwangju', project = 'gwangju', account = 'guest', password = 'guest', node = 'riss-M11512759'
 /home/sandbox/public_html/cgi-bin/Story01.py in displayNetwork(nodelist=[{'class': u'Bibliography', 'iconUrl': u'https://dh.aks.ac.kr/~gwangju/icon/icon-book.jpg', 'id': u'RISS-M11512759', 'infoUrl': u'http://www.riss.kr/link?id=M11512759', 'label': u'\ub2e8\ud589\ubcf8) \ubc15\ud61c\uac15 \ub4f1, \u300e\uadf8\ub54c \uadf8 \uc790\ub9ac \uadf8 \uc0ac\ub78c\ub4e4\u300f, \uc5ec\uc720\ub2f9, 2007'}, {'class': u'Index', 'iconUrl': u'https://dh.aks.ac.kr/~gwangju/icon/icon-doc.jpg', 'id': u'bib-5.18\uae30\ub150\uacf5\uc6d0', 'infoUrl': None, 'label': u'\ucc38\uace0\ubb38\ud5cc) 5.18\uae30\ub150\uacf5\uc6d0'}, {'class': u'Index', 'iconUrl': u'https://dh.aks.ac.kr/~gwangju/icon/icon-doc.jpg', 'id': u'bib-\uad11\uc8fc_\ubc30\uace0\ud508\ub2e4\ub9ac', 'infoUrl': None, 'label': u'\ucc38\uace0\ubb38\ud5cc) \uad11\uc8fc \ubc30\uace0\ud508\ub2e4\ub9ac'}, {'class': u'Index', 'iconUrl': u'https://dh.aks.ac.kr/~gwangju/icon/icon-doc.jpg', 'id': u'bib-\uad11\uc8fc\uc2dc\ubbfc\ud68c\uad00', 'infoUrl': None, 'label': u'\ucc38\uace0\ubb38\ud5cc) \uad11\uc8fc\uc2dc\ubbfc\ud68c\uad00'}], edgelist=[{'attribute': None, 'relation': u'isReferencedFrom', 'source': u'bib-5.18\uae30\ub150\uacf5\uc6d0', 'target': u'RISS-M11512759'}, {'attribute': None, 'relation': u'isReferencedFrom', 'source': u'bib-\uad11\uc8fc_\ubc30\uace0\ud508\ub2e4\ub9ac', 'target': u'riss-M11512759'}, {'attribute': None, 'relation': u'isReferencedFrom', 'source': u'bib-\uad11\uc8fc\uc2dc\ubbfc\ud68c\uad00', 'target': u'riss-M11512759'}], database='gwangju', project='gwangju', account='guest', password='guest', node='riss-M11512759')
    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-book.jpg', 'id': u'RISS-M11512759', 'infoUrl': u'http://www.riss.kr/link?id=M11512759', 'label': u'\ub2e8\ud589\ubcf8) \ubc15\ud61c\uac15 \ub4f1, \u300e\uadf8\ub54c \uadf8 \uc790\ub9ac \uadf8 \uc0ac\ub78c\ub4e4\u300f, \uc5ec\uc720\ub2f9, 2007'}, {'class': u'Index', 'iconUrl': u'https://dh.aks.ac.kr/~gwangju/icon/icon-doc.jpg', 'id': u'bib-5.18\uae30\ub150\uacf5\uc6d0', 'infoUrl': None, 'label': u'\ucc38\uace0\ubb38\ud5cc) 5.18\uae30\ub150\uacf5\uc6d0'}, {'class': u'Index', 'iconUrl': u'https://dh.aks.ac.kr/~gwangju/icon/icon-doc.jpg', 'id': u'bib-\uad11\uc8fc_\ubc30\uace0\ud508\ub2e4\ub9ac', 'infoUrl': None, 'label': u'\ucc38\uace0\ubb38\ud5cc) \uad11\uc8fc \ubc30\uace0\ud508\ub2e4\ub9ac'}, {'class': u'Index', 'iconUrl': u'https://dh.aks.ac.kr/~gwangju/icon/icon-doc.jpg', 'id': u'bib-\uad11\uc8fc\uc2dc\ubbfc\ud68c\uad00', 'infoUrl': None, 'label': u'\ucc38\uace0\ubb38\ud5cc) \uad11\uc8fc\uc2dc\ubbfc\ud68c\uad00'}], database = 'gwangju', project = 'gwangju', account = 'guest', password = 'guest', node = 'riss-M11512759'
 /home/sandbox/public_html/cgi-bin/Story01.py in printNodes(nodelist=[{'class': u'Bibliography', 'iconUrl': u'https://dh.aks.ac.kr/~gwangju/icon/icon-book.jpg', 'id': u'RISS-M11512759', 'infoUrl': u'http://www.riss.kr/link?id=M11512759', 'label': u'\ub2e8\ud589\ubcf8) \ubc15\ud61c\uac15 \ub4f1, \u300e\uadf8\ub54c \uadf8 \uc790\ub9ac \uadf8 \uc0ac\ub78c\ub4e4\u300f, \uc5ec\uc720\ub2f9, 2007'}, {'class': u'Index', 'iconUrl': u'https://dh.aks.ac.kr/~gwangju/icon/icon-doc.jpg', 'id': u'bib-5.18\uae30\ub150\uacf5\uc6d0', 'infoUrl': None, 'label': u'\ucc38\uace0\ubb38\ud5cc) 5.18\uae30\ub150\uacf5\uc6d0'}, {'class': u'Index', 'iconUrl': u'https://dh.aks.ac.kr/~gwangju/icon/icon-doc.jpg', 'id': u'bib-\uad11\uc8fc_\ubc30\uace0\ud508\ub2e4\ub9ac', 'infoUrl': None, 'label': u'\ucc38\uace0\ubb38\ud5cc) \uad11\uc8fc \ubc30\uace0\ud508\ub2e4\ub9ac'}, {'class': u'Index', 'iconUrl': u'https://dh.aks.ac.kr/~gwangju/icon/icon-doc.jpg', 'id': u'bib-\uad11\uc8fc\uc2dc\ubbfc\ud68c\uad00', 'infoUrl': None, 'label': u'\ucc38\uace0\ubb38\ud5cc) \uad11\uc8fc\uc2dc\ubbfc\ud68c\uad00'}], database='gwangju', project='gwangju', account='guest', password='guest', subject='riss-M11512759')
    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"