<type 'exceptions.UnboundLocalError'>
Python 2.7.12: /usr/bin/python
Fri Nov 1 19:20:17 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 = 's_neccrow', project = 'DKHKKHS', account = 'guest', pwd = 'guest', node = '\xe8\xb2\x82\xe7\x9a\xae(\xec\xb4\x88\xed\x94\xbc)', NetworkLimit = 100
 /home/sandbox/public_html/cgi-bin/Story01.py in displayData(database='s_neccrow', project='DKHKKHS', account='guest', password='guest', node='\xe8\xb2\x82\xe7\x9a\xae(\xec\xb4\x88\xed\x94\xbc)', 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'\uc77c\uc790', 'iconUrl': None, 'id': u'260\ub144~\xa0264\ub144 \ucd94\uc815\xa0', 'infoUrl': None, 'label': u'260\ub144~\xa0264\ub144 \ucd94\uc815\xa0'}, {'class': u'\uc778\ubb3c', 'iconUrl': None, 'id': u'\u8085\u614e(\uc219\uc2e0)', 'infoUrl': None, 'label': u'\u8085\u614e(\uc219\uc2e0)'}, {'class': u'\uc778\ubb3c', 'iconUrl': None, 'id': u'\u9b4f \u666f\u5143', 'infoUrl': None, 'label': u'\u9b4f \u666f\u5143'}, {'class': u'\ubb34\uae30', 'iconUrl': None, 'id': u'\u8c82\u76ae(\ucd08\ud53c) ', 'infoUrl': None, 'label': u'\u8c82\u76ae(\ucd08\ud53c) '}], edgelist = [{'attribute': None, 'relation': u'\uc870\uacf5\ud558\ub2e4', 'source': u'\u8085\u614e(\uc219\uc2e0)', 'target': u'\u9b4f \u666f\u5143'}, {'attribute': None, 'relation': u'\uc870\uacf5\ub300\uc0c1', 'source': u'\u8085\u614e(\uc219\uc2e0)', 'target': u'\u8c82\u76ae(\ucd08\ud53c) '}, {'attribute': None, 'relation': u'\uc870\uacf5\uc77c', 'source': u'\u8c82\u76ae(\ucd08\ud53c) ', 'target': u'260\ub144~\xa0264\ub144 \ucd94\uc815\xa0'}, {'attribute': None, 'relation': u'\uc870\uacf5\ubc1b\ub2e4', 'source': u'\u8c82\u76ae(\ucd08\ud53c) ', 'target': u'\u9b4f \u666f\u5143'}], database = 's_neccrow', project = 'DKHKKHS', account = 'guest', password = 'guest', node = '\xe8\xb2\x82\xe7\x9a\xae(\xec\xb4\x88\xed\x94\xbc)'
 /home/sandbox/public_html/cgi-bin/Story01.py in displayNetwork(nodelist=[{'class': u'\uc77c\uc790', 'iconUrl': None, 'id': u'260\ub144~\xa0264\ub144 \ucd94\uc815\xa0', 'infoUrl': None, 'label': u'260\ub144~\xa0264\ub144 \ucd94\uc815\xa0'}, {'class': u'\uc778\ubb3c', 'iconUrl': None, 'id': u'\u8085\u614e(\uc219\uc2e0)', 'infoUrl': None, 'label': u'\u8085\u614e(\uc219\uc2e0)'}, {'class': u'\uc778\ubb3c', 'iconUrl': None, 'id': u'\u9b4f \u666f\u5143', 'infoUrl': None, 'label': u'\u9b4f \u666f\u5143'}, {'class': u'\ubb34\uae30', 'iconUrl': None, 'id': u'\u8c82\u76ae(\ucd08\ud53c) ', 'infoUrl': None, 'label': u'\u8c82\u76ae(\ucd08\ud53c) '}], edgelist=[{'attribute': None, 'relation': u'\uc870\uacf5\ud558\ub2e4', 'source': u'\u8085\u614e(\uc219\uc2e0)', 'target': u'\u9b4f \u666f\u5143'}, {'attribute': None, 'relation': u'\uc870\uacf5\ub300\uc0c1', 'source': u'\u8085\u614e(\uc219\uc2e0)', 'target': u'\u8c82\u76ae(\ucd08\ud53c) '}, {'attribute': None, 'relation': u'\uc870\uacf5\uc77c', 'source': u'\u8c82\u76ae(\ucd08\ud53c) ', 'target': u'260\ub144~\xa0264\ub144 \ucd94\uc815\xa0'}, {'attribute': None, 'relation': u'\uc870\uacf5\ubc1b\ub2e4', 'source': u'\u8c82\u76ae(\ucd08\ud53c) ', 'target': u'\u9b4f \u666f\u5143'}], database='s_neccrow', project='DKHKKHS', account='guest', password='guest', node='\xe8\xb2\x82\xe7\x9a\xae(\xec\xb4\x88\xed\x94\xbc)')
    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'\uc77c\uc790', 'iconUrl': None, 'id': u'260\ub144~\xa0264\ub144 \ucd94\uc815\xa0', 'infoUrl': None, 'label': u'260\ub144~\xa0264\ub144 \ucd94\uc815\xa0'}, {'class': u'\uc778\ubb3c', 'iconUrl': None, 'id': u'\u8085\u614e(\uc219\uc2e0)', 'infoUrl': None, 'label': u'\u8085\u614e(\uc219\uc2e0)'}, {'class': u'\uc778\ubb3c', 'iconUrl': None, 'id': u'\u9b4f \u666f\u5143', 'infoUrl': None, 'label': u'\u9b4f \u666f\u5143'}, {'class': u'\ubb34\uae30', 'iconUrl': None, 'id': u'\u8c82\u76ae(\ucd08\ud53c) ', 'infoUrl': None, 'label': u'\u8c82\u76ae(\ucd08\ud53c) '}], database = 's_neccrow', project = 'DKHKKHS', account = 'guest', password = 'guest', node = '\xe8\xb2\x82\xe7\x9a\xae(\xec\xb4\x88\xed\x94\xbc)'
 /home/sandbox/public_html/cgi-bin/Story01.py in printNodes(nodelist=[{'class': u'\uc77c\uc790', 'iconUrl': None, 'id': u'260\ub144~\xa0264\ub144 \ucd94\uc815\xa0', 'infoUrl': None, 'label': u'260\ub144~\xa0264\ub144 \ucd94\uc815\xa0'}, {'class': u'\uc778\ubb3c', 'iconUrl': None, 'id': u'\u8085\u614e(\uc219\uc2e0)', 'infoUrl': None, 'label': u'\u8085\u614e(\uc219\uc2e0)'}, {'class': u'\uc778\ubb3c', 'iconUrl': None, 'id': u'\u9b4f \u666f\u5143', 'infoUrl': None, 'label': u'\u9b4f \u666f\u5143'}, {'class': u'\ubb34\uae30', 'iconUrl': None, 'id': u'\u8c82\u76ae(\ucd08\ud53c) ', 'infoUrl': None, 'label': u'\u8c82\u76ae(\ucd08\ud53c) '}], database='s_neccrow', project='DKHKKHS', account='guest', password='guest', subject='\xe8\xb2\x82\xe7\x9a\xae(\xec\xb4\x88\xed\x94\xbc)')
    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"