<type 'exceptions.UnboundLocalError'>
Python 2.7.12: /usr/bin/python
Sat Nov 2 07:41:05 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 = 'hanyang2022', project = 'hanyang2022', account = 'guest', pwd = 'guest', node = '\xec\xb9\xa0\xec\x9e\xa5\xeb\xb3\xb5_\xec\x83\x81\xec\x9d\x98 ', NetworkLimit = 100
 /home/sandbox/public_html/cgi-bin/Story01.py in displayData(database='hanyang2022', project='hanyang2022', account='guest', password='guest', node='\xec\xb9\xa0\xec\x9e\xa5\xeb\xb3\xb5_\xec\x83\x81\xec\x9d\x98 ', 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'Multimedia', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/3DModel.png', 'id': u'3d-\uce60\uc7a5\ubcf5_\uc0c1\uc758', 'infoUrl': u'http://dh.aks.ac.kr/~sandbox/cgi-bin/3dm/ModelVi...py?url=dh.aks.ac.kr/hanyang2/glb/\ubcf5\uc2dd/3D-\uce60\uc7a5\ubcf5_\uc0c1\uc758.glb', 'label': u'\uce60\uc7a5\ubcf5 \uc0c1\uc758 3D \ubaa8\ub378'}, {'class': u'Clothing', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/\ubcf5\uc2dd/xs/\uc655\uc138\uc790\uc758_\ucc45\ubcf5-\uc7a5\ubcf5_\uae40\uc544\ub78c_xs.png', 'id': u'\uad00\ub840\uc804_\uce5c\uc655\uc758_\ub300\ub840\ubcf5', 'infoUrl': u'http://dh.aks.ac.kr/~sandbox/cgi-bin/SemanticWik...b=hanyang2022&project=hanyang2022&key=\uad00\ub840\uc804_\uce5c\uc655\uc758_\ub300\ub840\ubcf5', 'label': u'\uad00\ub840 \uc804 \uce5c\uc655\uc758 \ub300\ub840\ubcf5(\u5927\u79ae\u670d)'}, {'class': u'Clothing', 'iconUrl': u'http://dh.aks.ac.kr/~tutor/Images/TC/RC/xs/RC156_xs.png', 'id': u'\uc655\uc138\uc790\uc758_\ub300\ub840\ubcf5', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uc655\uc138\uc790\uc758_\ub300\ub840\ubcf5', 'label': u'\uc655\uc138\uc790\uc758 \ub300\ub840\ubcf5(\u5927\u79ae\u670d)'}, {'class': u'Clothing', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/encyves/\uc655\uc138\uc790\uc758_\ub300\ub840\ubcf5_\uae40\uc544\ub78c.png', 'id': u'\uc655\uc138\uc790\uc758_\ub300\ub840\ubcf5-\uc81c\ub840', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uc655\uc138\uc790\uc758_\ub300\ub840\ubcf5-\uc81c\ub840', 'label': u'\uc655\uc138\uc790\uc758 \ub300\ub840\ubcf5-\uc81c\ub840(\u5927\u79ae\u670d-\u796d\u79ae)'}, {'class': u'Clothing', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/\ubcf5\uc2dd/xs/\uc655\uc138\uc790\uc758_\ub300\ub840\ubcf5_\uae40\uc544\ub78c_xs.png', 'id': u'\uce5c\uc655\uc758_\ub300\ub840\ubcf5', 'infoUrl': u'http://dh.aks.ac.kr/~sandbox/cgi-bin/SemanticWik...py?db=hanyang2022&project=hanyang2022&key=\uce5c\uc655\uc758_\ub300\ub840\ubcf5', 'label': u'\uce5c\uc655\uc758 \ub300\ub840\ubcf5(\u5927\u79ae\u670d)'}, {'class': u'Clothing', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/image/2021/\uce60\uc7a5\ubcf5_\uc0c1\uc758.png', 'id': u'\uce60\uc7a5\ubcf5_\uc0c1\uc758', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uce60\uc7a5\ubcf5_\uc0c1\uc758', 'label': u'\uce60\uc7a5\ubcf5 \uc0c1\uc758(\u4e03\u7ae0\u670d \u4e0a\u8863)'}, {'class': u'Index', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/bibIndex.png', 'id': u'bib-\uce60\uc7a5\ubcf5_\uc0c1\uc758', 'infoUrl': None, 'label': u'\ucc38\uace0\ubb38\ud5cc'}, {'class': u'Index', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/webResource.png', 'id': u'ref-\uce60\uc7a5\ubcf5_\uc0c1\uc758', 'infoUrl': None, 'label': u'WWW \ucc38\uc870 \uc790\uc6d0'}], edgelist = [{'attribute': None, 'relation': u'hasReferenceNote', 'source': u'3d-\uce60\uc7a5\ubcf5_\uc0c1\uc758', 'target': u'\uce60\uc7a5\ubcf5_\uc0c1\uc758'}, {'attribute': None, 'relation': u'hasPart', 'source': u'\uad00\ub840\uc804_\uce5c\uc655\uc758_\ub300\ub840\ubcf5', 'target': u'\uce60\uc7a5\ubcf5_\uc0c1\uc758'}, {'attribute': None, 'relation': u'hasPart', 'source': u'\uc655\uc138\uc790\uc758_\ub300\ub840\ubcf5', 'target': u'\uce60\uc7a5\ubcf5_\uc0c1\uc758'}, {'attribute': None, 'relation': u'hasPart', 'source': u'\uc655\uc138\uc790\uc758_\ub300\ub840\ubcf5-\uc81c\ub840', 'target': u'\uce60\uc7a5\ubcf5_\uc0c1\uc758'}, {'attribute': None, 'relation': u'hasPart', 'source': u'\uce5c\uc655\uc758_\ub300\ub840\ubcf5', 'target': u'\uce60\uc7a5\ubcf5_\uc0c1\uc758'}, {'attribute': None, 'relation': u'isShownBy', 'source': u'\uce60\uc7a5\ubcf5_\uc0c1\uc758', 'target': u'3d-\uce60\uc7a5\ubcf5_\uc0c1\uc758'}, {'attribute': None, 'relation': u'bibliography', 'source': u'\uce60\uc7a5\ubcf5_\uc0c1\uc758', 'target': u'bib-\uce60\uc7a5\ubcf5_\uc0c1\uc758'}, {'attribute': None, 'relation': u'onlineReference', 'source': u'\uce60\uc7a5\ubcf5_\uc0c1\uc758', 'target': u'ref-\uce60\uc7a5\ubcf5_\uc0c1\uc758'}], database = 'hanyang2022', project = 'hanyang2022', account = 'guest', password = 'guest', node = '\xec\xb9\xa0\xec\x9e\xa5\xeb\xb3\xb5_\xec\x83\x81\xec\x9d\x98 '
 /home/sandbox/public_html/cgi-bin/Story01.py in displayNetwork(nodelist=[{'class': u'Multimedia', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/3DModel.png', 'id': u'3d-\uce60\uc7a5\ubcf5_\uc0c1\uc758', 'infoUrl': u'http://dh.aks.ac.kr/~sandbox/cgi-bin/3dm/ModelVi...py?url=dh.aks.ac.kr/hanyang2/glb/\ubcf5\uc2dd/3D-\uce60\uc7a5\ubcf5_\uc0c1\uc758.glb', 'label': u'\uce60\uc7a5\ubcf5 \uc0c1\uc758 3D \ubaa8\ub378'}, {'class': u'Clothing', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/\ubcf5\uc2dd/xs/\uc655\uc138\uc790\uc758_\ucc45\ubcf5-\uc7a5\ubcf5_\uae40\uc544\ub78c_xs.png', 'id': u'\uad00\ub840\uc804_\uce5c\uc655\uc758_\ub300\ub840\ubcf5', 'infoUrl': u'http://dh.aks.ac.kr/~sandbox/cgi-bin/SemanticWik...b=hanyang2022&project=hanyang2022&key=\uad00\ub840\uc804_\uce5c\uc655\uc758_\ub300\ub840\ubcf5', 'label': u'\uad00\ub840 \uc804 \uce5c\uc655\uc758 \ub300\ub840\ubcf5(\u5927\u79ae\u670d)'}, {'class': u'Clothing', 'iconUrl': u'http://dh.aks.ac.kr/~tutor/Images/TC/RC/xs/RC156_xs.png', 'id': u'\uc655\uc138\uc790\uc758_\ub300\ub840\ubcf5', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uc655\uc138\uc790\uc758_\ub300\ub840\ubcf5', 'label': u'\uc655\uc138\uc790\uc758 \ub300\ub840\ubcf5(\u5927\u79ae\u670d)'}, {'class': u'Clothing', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/encyves/\uc655\uc138\uc790\uc758_\ub300\ub840\ubcf5_\uae40\uc544\ub78c.png', 'id': u'\uc655\uc138\uc790\uc758_\ub300\ub840\ubcf5-\uc81c\ub840', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uc655\uc138\uc790\uc758_\ub300\ub840\ubcf5-\uc81c\ub840', 'label': u'\uc655\uc138\uc790\uc758 \ub300\ub840\ubcf5-\uc81c\ub840(\u5927\u79ae\u670d-\u796d\u79ae)'}, {'class': u'Clothing', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/\ubcf5\uc2dd/xs/\uc655\uc138\uc790\uc758_\ub300\ub840\ubcf5_\uae40\uc544\ub78c_xs.png', 'id': u'\uce5c\uc655\uc758_\ub300\ub840\ubcf5', 'infoUrl': u'http://dh.aks.ac.kr/~sandbox/cgi-bin/SemanticWik...py?db=hanyang2022&project=hanyang2022&key=\uce5c\uc655\uc758_\ub300\ub840\ubcf5', 'label': u'\uce5c\uc655\uc758 \ub300\ub840\ubcf5(\u5927\u79ae\u670d)'}, {'class': u'Clothing', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/image/2021/\uce60\uc7a5\ubcf5_\uc0c1\uc758.png', 'id': u'\uce60\uc7a5\ubcf5_\uc0c1\uc758', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uce60\uc7a5\ubcf5_\uc0c1\uc758', 'label': u'\uce60\uc7a5\ubcf5 \uc0c1\uc758(\u4e03\u7ae0\u670d \u4e0a\u8863)'}, {'class': u'Index', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/bibIndex.png', 'id': u'bib-\uce60\uc7a5\ubcf5_\uc0c1\uc758', 'infoUrl': None, 'label': u'\ucc38\uace0\ubb38\ud5cc'}, {'class': u'Index', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/webResource.png', 'id': u'ref-\uce60\uc7a5\ubcf5_\uc0c1\uc758', 'infoUrl': None, 'label': u'WWW \ucc38\uc870 \uc790\uc6d0'}], edgelist=[{'attribute': None, 'relation': u'hasReferenceNote', 'source': u'3d-\uce60\uc7a5\ubcf5_\uc0c1\uc758', 'target': u'\uce60\uc7a5\ubcf5_\uc0c1\uc758'}, {'attribute': None, 'relation': u'hasPart', 'source': u'\uad00\ub840\uc804_\uce5c\uc655\uc758_\ub300\ub840\ubcf5', 'target': u'\uce60\uc7a5\ubcf5_\uc0c1\uc758'}, {'attribute': None, 'relation': u'hasPart', 'source': u'\uc655\uc138\uc790\uc758_\ub300\ub840\ubcf5', 'target': u'\uce60\uc7a5\ubcf5_\uc0c1\uc758'}, {'attribute': None, 'relation': u'hasPart', 'source': u'\uc655\uc138\uc790\uc758_\ub300\ub840\ubcf5-\uc81c\ub840', 'target': u'\uce60\uc7a5\ubcf5_\uc0c1\uc758'}, {'attribute': None, 'relation': u'hasPart', 'source': u'\uce5c\uc655\uc758_\ub300\ub840\ubcf5', 'target': u'\uce60\uc7a5\ubcf5_\uc0c1\uc758'}, {'attribute': None, 'relation': u'isShownBy', 'source': u'\uce60\uc7a5\ubcf5_\uc0c1\uc758', 'target': u'3d-\uce60\uc7a5\ubcf5_\uc0c1\uc758'}, {'attribute': None, 'relation': u'bibliography', 'source': u'\uce60\uc7a5\ubcf5_\uc0c1\uc758', 'target': u'bib-\uce60\uc7a5\ubcf5_\uc0c1\uc758'}, {'attribute': None, 'relation': u'onlineReference', 'source': u'\uce60\uc7a5\ubcf5_\uc0c1\uc758', 'target': u'ref-\uce60\uc7a5\ubcf5_\uc0c1\uc758'}], database='hanyang2022', project='hanyang2022', account='guest', password='guest', node='\xec\xb9\xa0\xec\x9e\xa5\xeb\xb3\xb5_\xec\x83\x81\xec\x9d\x98 ')
    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'Multimedia', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/3DModel.png', 'id': u'3d-\uce60\uc7a5\ubcf5_\uc0c1\uc758', 'infoUrl': u'http://dh.aks.ac.kr/~sandbox/cgi-bin/3dm/ModelVi...py?url=dh.aks.ac.kr/hanyang2/glb/\ubcf5\uc2dd/3D-\uce60\uc7a5\ubcf5_\uc0c1\uc758.glb', 'label': u'\uce60\uc7a5\ubcf5 \uc0c1\uc758 3D \ubaa8\ub378'}, {'class': u'Clothing', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/\ubcf5\uc2dd/xs/\uc655\uc138\uc790\uc758_\ucc45\ubcf5-\uc7a5\ubcf5_\uae40\uc544\ub78c_xs.png', 'id': u'\uad00\ub840\uc804_\uce5c\uc655\uc758_\ub300\ub840\ubcf5', 'infoUrl': u'http://dh.aks.ac.kr/~sandbox/cgi-bin/SemanticWik...b=hanyang2022&project=hanyang2022&key=\uad00\ub840\uc804_\uce5c\uc655\uc758_\ub300\ub840\ubcf5', 'label': u'\uad00\ub840 \uc804 \uce5c\uc655\uc758 \ub300\ub840\ubcf5(\u5927\u79ae\u670d)'}, {'class': u'Clothing', 'iconUrl': u'http://dh.aks.ac.kr/~tutor/Images/TC/RC/xs/RC156_xs.png', 'id': u'\uc655\uc138\uc790\uc758_\ub300\ub840\ubcf5', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uc655\uc138\uc790\uc758_\ub300\ub840\ubcf5', 'label': u'\uc655\uc138\uc790\uc758 \ub300\ub840\ubcf5(\u5927\u79ae\u670d)'}, {'class': u'Clothing', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/encyves/\uc655\uc138\uc790\uc758_\ub300\ub840\ubcf5_\uae40\uc544\ub78c.png', 'id': u'\uc655\uc138\uc790\uc758_\ub300\ub840\ubcf5-\uc81c\ub840', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uc655\uc138\uc790\uc758_\ub300\ub840\ubcf5-\uc81c\ub840', 'label': u'\uc655\uc138\uc790\uc758 \ub300\ub840\ubcf5-\uc81c\ub840(\u5927\u79ae\u670d-\u796d\u79ae)'}, {'class': u'Clothing', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/\ubcf5\uc2dd/xs/\uc655\uc138\uc790\uc758_\ub300\ub840\ubcf5_\uae40\uc544\ub78c_xs.png', 'id': u'\uce5c\uc655\uc758_\ub300\ub840\ubcf5', 'infoUrl': u'http://dh.aks.ac.kr/~sandbox/cgi-bin/SemanticWik...py?db=hanyang2022&project=hanyang2022&key=\uce5c\uc655\uc758_\ub300\ub840\ubcf5', 'label': u'\uce5c\uc655\uc758 \ub300\ub840\ubcf5(\u5927\u79ae\u670d)'}, {'class': u'Clothing', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/image/2021/\uce60\uc7a5\ubcf5_\uc0c1\uc758.png', 'id': u'\uce60\uc7a5\ubcf5_\uc0c1\uc758', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uce60\uc7a5\ubcf5_\uc0c1\uc758', 'label': u'\uce60\uc7a5\ubcf5 \uc0c1\uc758(\u4e03\u7ae0\u670d \u4e0a\u8863)'}, {'class': u'Index', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/bibIndex.png', 'id': u'bib-\uce60\uc7a5\ubcf5_\uc0c1\uc758', 'infoUrl': None, 'label': u'\ucc38\uace0\ubb38\ud5cc'}, {'class': u'Index', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/webResource.png', 'id': u'ref-\uce60\uc7a5\ubcf5_\uc0c1\uc758', 'infoUrl': None, 'label': u'WWW \ucc38\uc870 \uc790\uc6d0'}], database = 'hanyang2022', project = 'hanyang2022', account = 'guest', password = 'guest', node = '\xec\xb9\xa0\xec\x9e\xa5\xeb\xb3\xb5_\xec\x83\x81\xec\x9d\x98 '
 /home/sandbox/public_html/cgi-bin/Story01.py in printNodes(nodelist=[{'class': u'Multimedia', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/3DModel.png', 'id': u'3d-\uce60\uc7a5\ubcf5_\uc0c1\uc758', 'infoUrl': u'http://dh.aks.ac.kr/~sandbox/cgi-bin/3dm/ModelVi...py?url=dh.aks.ac.kr/hanyang2/glb/\ubcf5\uc2dd/3D-\uce60\uc7a5\ubcf5_\uc0c1\uc758.glb', 'label': u'\uce60\uc7a5\ubcf5 \uc0c1\uc758 3D \ubaa8\ub378'}, {'class': u'Clothing', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/\ubcf5\uc2dd/xs/\uc655\uc138\uc790\uc758_\ucc45\ubcf5-\uc7a5\ubcf5_\uae40\uc544\ub78c_xs.png', 'id': u'\uad00\ub840\uc804_\uce5c\uc655\uc758_\ub300\ub840\ubcf5', 'infoUrl': u'http://dh.aks.ac.kr/~sandbox/cgi-bin/SemanticWik...b=hanyang2022&project=hanyang2022&key=\uad00\ub840\uc804_\uce5c\uc655\uc758_\ub300\ub840\ubcf5', 'label': u'\uad00\ub840 \uc804 \uce5c\uc655\uc758 \ub300\ub840\ubcf5(\u5927\u79ae\u670d)'}, {'class': u'Clothing', 'iconUrl': u'http://dh.aks.ac.kr/~tutor/Images/TC/RC/xs/RC156_xs.png', 'id': u'\uc655\uc138\uc790\uc758_\ub300\ub840\ubcf5', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uc655\uc138\uc790\uc758_\ub300\ub840\ubcf5', 'label': u'\uc655\uc138\uc790\uc758 \ub300\ub840\ubcf5(\u5927\u79ae\u670d)'}, {'class': u'Clothing', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/encyves/\uc655\uc138\uc790\uc758_\ub300\ub840\ubcf5_\uae40\uc544\ub78c.png', 'id': u'\uc655\uc138\uc790\uc758_\ub300\ub840\ubcf5-\uc81c\ub840', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uc655\uc138\uc790\uc758_\ub300\ub840\ubcf5-\uc81c\ub840', 'label': u'\uc655\uc138\uc790\uc758 \ub300\ub840\ubcf5-\uc81c\ub840(\u5927\u79ae\u670d-\u796d\u79ae)'}, {'class': u'Clothing', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/\ubcf5\uc2dd/xs/\uc655\uc138\uc790\uc758_\ub300\ub840\ubcf5_\uae40\uc544\ub78c_xs.png', 'id': u'\uce5c\uc655\uc758_\ub300\ub840\ubcf5', 'infoUrl': u'http://dh.aks.ac.kr/~sandbox/cgi-bin/SemanticWik...py?db=hanyang2022&project=hanyang2022&key=\uce5c\uc655\uc758_\ub300\ub840\ubcf5', 'label': u'\uce5c\uc655\uc758 \ub300\ub840\ubcf5(\u5927\u79ae\u670d)'}, {'class': u'Clothing', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/image/2021/\uce60\uc7a5\ubcf5_\uc0c1\uc758.png', 'id': u'\uce60\uc7a5\ubcf5_\uc0c1\uc758', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uce60\uc7a5\ubcf5_\uc0c1\uc758', 'label': u'\uce60\uc7a5\ubcf5 \uc0c1\uc758(\u4e03\u7ae0\u670d \u4e0a\u8863)'}, {'class': u'Index', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/bibIndex.png', 'id': u'bib-\uce60\uc7a5\ubcf5_\uc0c1\uc758', 'infoUrl': None, 'label': u'\ucc38\uace0\ubb38\ud5cc'}, {'class': u'Index', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/webResource.png', 'id': u'ref-\uce60\uc7a5\ubcf5_\uc0c1\uc758', 'infoUrl': None, 'label': u'WWW \ucc38\uc870 \uc790\uc6d0'}], database='hanyang2022', project='hanyang2022', account='guest', password='guest', subject='\xec\xb9\xa0\xec\x9e\xa5\xeb\xb3\xb5_\xec\x83\x81\xec\x9d\x98 ')
    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"