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 displayData(database='hanyang2022', project='hanyang2022', account='guest', password='guest', node='\xec\xa3\xbd\xec\x82\xb0\xeb\xa7\x88 ', 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-\uc8fd\uc0b0\ub9c8', 'infoUrl': u'http://dh.aks.ac.kr/~sandbox/cgi-bin/3dm/ModelView2.py?url=dh.aks.ac.kr/hanyang2/glb/\ubb3c\ud488/3D-\uc8fd\uc0b0\ub9c8.glb', 'label': u'\uc8fd\uc0b0\ub9c8 3D \ubaa8\ub378'}, {'class': u'Object', 'iconUrl': None, 'id': u'\uc8fd\uc0b0\ub9c8', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uc8fd\uc0b0\ub9c8', 'label': u'\uc8fd\uc0b0\ub9c8(\u7af9\u6563\u99ac)'}, {'class': u'Object', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/image/2021/\uc8fd\uc548\ub9c8.jpg', 'id': u'\uc8fd\uc548\ub9c8', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uc8fd\uc548\ub9c8', 'label': u'\uc8fd\uc548\ub9c8(\u7af9\u978d\u99ac)'}], edgelist = [{'attribute': None, 'relation': u'hasReferenceNote', 'source': u'3d-\uc8fd\uc0b0\ub9c8', 'target': u'\uc8fd\uc0b0\ub9c8'}, {'attribute': None, 'relation': u'isShownBy', 'source': u'\uc8fd\uc0b0\ub9c8', 'target': u'3d-\uc8fd\uc0b0\ub9c8'}, {'attribute': None, 'relation': u'isRelatedTo', 'source': u'\uc8fd\uc548\ub9c8', 'target': u'\uc8fd\uc0b0\ub9c8'}], database = 'hanyang2022', project = 'hanyang2022', account = 'guest', password = 'guest', node = '\xec\xa3\xbd\xec\x82\xb0\xeb\xa7\x88 ' |
/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-\uc8fd\uc0b0\ub9c8', 'infoUrl': u'http://dh.aks.ac.kr/~sandbox/cgi-bin/3dm/ModelView2.py?url=dh.aks.ac.kr/hanyang2/glb/\ubb3c\ud488/3D-\uc8fd\uc0b0\ub9c8.glb', 'label': u'\uc8fd\uc0b0\ub9c8 3D \ubaa8\ub378'}, {'class': u'Object', 'iconUrl': None, 'id': u'\uc8fd\uc0b0\ub9c8', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uc8fd\uc0b0\ub9c8', 'label': u'\uc8fd\uc0b0\ub9c8(\u7af9\u6563\u99ac)'}, {'class': u'Object', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/image/2021/\uc8fd\uc548\ub9c8.jpg', 'id': u'\uc8fd\uc548\ub9c8', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uc8fd\uc548\ub9c8', 'label': u'\uc8fd\uc548\ub9c8(\u7af9\u978d\u99ac)'}], edgelist=[{'attribute': None, 'relation': u'hasReferenceNote', 'source': u'3d-\uc8fd\uc0b0\ub9c8', 'target': u'\uc8fd\uc0b0\ub9c8'}, {'attribute': None, 'relation': u'isShownBy', 'source': u'\uc8fd\uc0b0\ub9c8', 'target': u'3d-\uc8fd\uc0b0\ub9c8'}, {'attribute': None, 'relation': u'isRelatedTo', 'source': u'\uc8fd\uc548\ub9c8', 'target': u'\uc8fd\uc0b0\ub9c8'}], database='hanyang2022', project='hanyang2022', account='guest', password='guest', node='\xec\xa3\xbd\xec\x82\xb0\xeb\xa7\x88 ') |
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-\uc8fd\uc0b0\ub9c8', 'infoUrl': u'http://dh.aks.ac.kr/~sandbox/cgi-bin/3dm/ModelView2.py?url=dh.aks.ac.kr/hanyang2/glb/\ubb3c\ud488/3D-\uc8fd\uc0b0\ub9c8.glb', 'label': u'\uc8fd\uc0b0\ub9c8 3D \ubaa8\ub378'}, {'class': u'Object', 'iconUrl': None, 'id': u'\uc8fd\uc0b0\ub9c8', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uc8fd\uc0b0\ub9c8', 'label': u'\uc8fd\uc0b0\ub9c8(\u7af9\u6563\u99ac)'}, {'class': u'Object', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/image/2021/\uc8fd\uc548\ub9c8.jpg', 'id': u'\uc8fd\uc548\ub9c8', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uc8fd\uc548\ub9c8', 'label': u'\uc8fd\uc548\ub9c8(\u7af9\u978d\u99ac)'}], database = 'hanyang2022', project = 'hanyang2022', account = 'guest', password = 'guest', node = '\xec\xa3\xbd\xec\x82\xb0\xeb\xa7\x88 ' |
/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-\uc8fd\uc0b0\ub9c8', 'infoUrl': u'http://dh.aks.ac.kr/~sandbox/cgi-bin/3dm/ModelView2.py?url=dh.aks.ac.kr/hanyang2/glb/\ubb3c\ud488/3D-\uc8fd\uc0b0\ub9c8.glb', 'label': u'\uc8fd\uc0b0\ub9c8 3D \ubaa8\ub378'}, {'class': u'Object', 'iconUrl': None, 'id': u'\uc8fd\uc0b0\ub9c8', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uc8fd\uc0b0\ub9c8', 'label': u'\uc8fd\uc0b0\ub9c8(\u7af9\u6563\u99ac)'}, {'class': u'Object', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/image/2021/\uc8fd\uc548\ub9c8.jpg', 'id': u'\uc8fd\uc548\ub9c8', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uc8fd\uc548\ub9c8', 'label': u'\uc8fd\uc548\ub9c8(\u7af9\u978d\u99ac)'}], database='hanyang2022', project='hanyang2022', account='guest', password='guest', subject='\xec\xa3\xbd\xec\x82\xb0\xeb\xa7\x88 ') |
225
|
226 #add show-all-story-nodes button
|
=> 227 if( subjectClass == 'Story' ) :
|
228 print " nodesArray.push({"
|
229 print " id: 'switch1',"
|
subjectClass undefined |