<type 'exceptions.UnboundLocalError'>
Python 2.7.12: /usr/bin/python
Sat Nov 9 10:43:50 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 = 'hanyang2023', project = 'hanyang', account = 'guest', pwd = 'guest', node = '3D-\xec\xb1\x84\xea\xb5\xac', NetworkLimit = 100
 /home/sandbox/public_html/cgi-bin/Story01.py in displayData(database='hanyang2023', project='hanyang', account='guest', password='guest', node='3D-\xec\xb1\x84\xea\xb5\xac', 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-\ubcf4\uc0c1\ubc18', 'infoUrl': u'https://dh.aks.ac.kr/~sandbox/cgi-bin/3dm/ModelV...?url=dh.aks.ac.kr/hanyang2/glb/2022/\ubb3c\ud488/3D-\ubcf4\uc0c1\ubc18.glb', 'label': u'\ubcf4\uc0c1\ubc18 \ubc0f \ucc44\uad6c 3D \ubaa8\ub378'}, {'class': u'Multimedia', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/3DModel.png', 'id': u'3d-\ucc44\uad6c', 'infoUrl': u'https://dh.aks.ac.kr/~sandbox/cgi-bin/3dm/ModelV...y?url=dh.aks.ac.kr/hanyang2/glb/2022/\ubb3c\ud488/3D-\ucc44\uad6c.glb', 'label': u'\ucc44\uad6c 3D \ubaa8\ub378'}, {'class': u'Object', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/3D2022/\ubb3c\ud488/\ubb3c\ud488-044_\ubcf4\uc0c1\ubc18-\ucc44\uad6c.png', 'id': u'\ucc44\uad6c', 'infoUrl': u'https://dh.aks.ac.kr/~sandbox/cgi-bin/SemanticWikiPage.py?db=hanyang2023&project=hanyang&key=\ucc44\uad6c', 'label': u'\ucc44\uad6c(\u5f69\u6bec)'}], edgelist = [{'attribute': None, 'relation': u'hasPart', 'source': u'3d-\ubcf4\uc0c1\ubc18', 'target': u'3d-\ucc44\uad6c'}, {'attribute': None, 'relation': u'isShownBy', 'source': u'\ucc44\uad6c', 'target': u'3D-\ucc44\uad6c'}], database = 'hanyang2023', project = 'hanyang', account = 'guest', password = 'guest', node = '3D-\xec\xb1\x84\xea\xb5\xac'
 /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-\ubcf4\uc0c1\ubc18', 'infoUrl': u'https://dh.aks.ac.kr/~sandbox/cgi-bin/3dm/ModelV...?url=dh.aks.ac.kr/hanyang2/glb/2022/\ubb3c\ud488/3D-\ubcf4\uc0c1\ubc18.glb', 'label': u'\ubcf4\uc0c1\ubc18 \ubc0f \ucc44\uad6c 3D \ubaa8\ub378'}, {'class': u'Multimedia', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/3DModel.png', 'id': u'3d-\ucc44\uad6c', 'infoUrl': u'https://dh.aks.ac.kr/~sandbox/cgi-bin/3dm/ModelV...y?url=dh.aks.ac.kr/hanyang2/glb/2022/\ubb3c\ud488/3D-\ucc44\uad6c.glb', 'label': u'\ucc44\uad6c 3D \ubaa8\ub378'}, {'class': u'Object', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/3D2022/\ubb3c\ud488/\ubb3c\ud488-044_\ubcf4\uc0c1\ubc18-\ucc44\uad6c.png', 'id': u'\ucc44\uad6c', 'infoUrl': u'https://dh.aks.ac.kr/~sandbox/cgi-bin/SemanticWikiPage.py?db=hanyang2023&project=hanyang&key=\ucc44\uad6c', 'label': u'\ucc44\uad6c(\u5f69\u6bec)'}], edgelist=[{'attribute': None, 'relation': u'hasPart', 'source': u'3d-\ubcf4\uc0c1\ubc18', 'target': u'3d-\ucc44\uad6c'}, {'attribute': None, 'relation': u'isShownBy', 'source': u'\ucc44\uad6c', 'target': u'3D-\ucc44\uad6c'}], database='hanyang2023', project='hanyang', account='guest', password='guest', node='3D-\xec\xb1\x84\xea\xb5\xac')
    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-\ubcf4\uc0c1\ubc18', 'infoUrl': u'https://dh.aks.ac.kr/~sandbox/cgi-bin/3dm/ModelV...?url=dh.aks.ac.kr/hanyang2/glb/2022/\ubb3c\ud488/3D-\ubcf4\uc0c1\ubc18.glb', 'label': u'\ubcf4\uc0c1\ubc18 \ubc0f \ucc44\uad6c 3D \ubaa8\ub378'}, {'class': u'Multimedia', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/3DModel.png', 'id': u'3d-\ucc44\uad6c', 'infoUrl': u'https://dh.aks.ac.kr/~sandbox/cgi-bin/3dm/ModelV...y?url=dh.aks.ac.kr/hanyang2/glb/2022/\ubb3c\ud488/3D-\ucc44\uad6c.glb', 'label': u'\ucc44\uad6c 3D \ubaa8\ub378'}, {'class': u'Object', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/3D2022/\ubb3c\ud488/\ubb3c\ud488-044_\ubcf4\uc0c1\ubc18-\ucc44\uad6c.png', 'id': u'\ucc44\uad6c', 'infoUrl': u'https://dh.aks.ac.kr/~sandbox/cgi-bin/SemanticWikiPage.py?db=hanyang2023&project=hanyang&key=\ucc44\uad6c', 'label': u'\ucc44\uad6c(\u5f69\u6bec)'}], database = 'hanyang2023', project = 'hanyang', account = 'guest', password = 'guest', node = '3D-\xec\xb1\x84\xea\xb5\xac'
 /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-\ubcf4\uc0c1\ubc18', 'infoUrl': u'https://dh.aks.ac.kr/~sandbox/cgi-bin/3dm/ModelV...?url=dh.aks.ac.kr/hanyang2/glb/2022/\ubb3c\ud488/3D-\ubcf4\uc0c1\ubc18.glb', 'label': u'\ubcf4\uc0c1\ubc18 \ubc0f \ucc44\uad6c 3D \ubaa8\ub378'}, {'class': u'Multimedia', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/3DModel.png', 'id': u'3d-\ucc44\uad6c', 'infoUrl': u'https://dh.aks.ac.kr/~sandbox/cgi-bin/3dm/ModelV...y?url=dh.aks.ac.kr/hanyang2/glb/2022/\ubb3c\ud488/3D-\ucc44\uad6c.glb', 'label': u'\ucc44\uad6c 3D \ubaa8\ub378'}, {'class': u'Object', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/3D2022/\ubb3c\ud488/\ubb3c\ud488-044_\ubcf4\uc0c1\ubc18-\ucc44\uad6c.png', 'id': u'\ucc44\uad6c', 'infoUrl': u'https://dh.aks.ac.kr/~sandbox/cgi-bin/SemanticWikiPage.py?db=hanyang2023&project=hanyang&key=\ucc44\uad6c', 'label': u'\ucc44\uad6c(\u5f69\u6bec)'}], database='hanyang2023', project='hanyang', account='guest', password='guest', subject='3D-\xec\xb1\x84\xea\xb5\xac')
    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"