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 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 = '3D-\xea\xb2\xbd\xeb\xb3\xb5\xea\xb6\x81_\xeb\xa7\x8c\xed\x99\x94\xeb\x8b\xb9_\xeb\xb6\x81\xed\x96\x89\xea\xb0\x81', NetworkLimit = 100 |
/home/sandbox/public_html/cgi-bin/Story01.py in displayData(database='hanyang2022', project='hanyang2022', account='guest', password='guest', node='3D-\xea\xb2\xbd\xeb\xb3\xb5\xea\xb6\x81_\xeb\xa7\x8c\xed\x99\x94\xeb\x8b\xb9_\xeb\xb6\x81\xed\x96\x89\xea\xb0\x81', 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-\uacbd\ubcf5\uad81_\ub9cc\ud654\ub2f9_\ubd81\ud589\uac01', 'infoUrl': u'http://dh.aks.ac.kr/~sandbox/cgi-bin/3dm/ModelVi...rl=dh.aks.ac.kr/~hanyang/glb/\uac74\ubb3c/\uacbd\ubcf5\uad81/\uacbd\ubcf5\uad81\ub9cc\ud654\ub2f9\ubd81\ud589\uac01.glb', 'label': u'\uacbd\ubcf5\uad81 \ub9cc\ud654\ub2f9 \ubd81\ud589\uac01 3D \ubaa8\ub378'}, {'class': u'Architecture', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/architecture.png', 'id': u'\uacbd\ubcf5\uad81_\ub9cc\ud654\ub2f9', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uacbd\ubcf5\uad81_\ub9cc\ud654\ub2f9', 'label': u'\uacbd\ubcf5\uad81 \ub9cc\ud654\ub2f9'}], edgelist = [{'attribute': None, 'relation': u'isShownBy', 'source': u'\uacbd\ubcf5\uad81_\ub9cc\ud654\ub2f9', 'target': u'3d-\uacbd\ubcf5\uad81_\ub9cc\ud654\ub2f9_\ubd81\ud589\uac01'}], database = 'hanyang2022', project = 'hanyang2022', account = 'guest', password = 'guest', node = '3D-\xea\xb2\xbd\xeb\xb3\xb5\xea\xb6\x81_\xeb\xa7\x8c\xed\x99\x94\xeb\x8b\xb9_\xeb\xb6\x81\xed\x96\x89\xea\xb0\x81' |
/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-\uacbd\ubcf5\uad81_\ub9cc\ud654\ub2f9_\ubd81\ud589\uac01', 'infoUrl': u'http://dh.aks.ac.kr/~sandbox/cgi-bin/3dm/ModelVi...rl=dh.aks.ac.kr/~hanyang/glb/\uac74\ubb3c/\uacbd\ubcf5\uad81/\uacbd\ubcf5\uad81\ub9cc\ud654\ub2f9\ubd81\ud589\uac01.glb', 'label': u'\uacbd\ubcf5\uad81 \ub9cc\ud654\ub2f9 \ubd81\ud589\uac01 3D \ubaa8\ub378'}, {'class': u'Architecture', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/architecture.png', 'id': u'\uacbd\ubcf5\uad81_\ub9cc\ud654\ub2f9', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uacbd\ubcf5\uad81_\ub9cc\ud654\ub2f9', 'label': u'\uacbd\ubcf5\uad81 \ub9cc\ud654\ub2f9'}], edgelist=[{'attribute': None, 'relation': u'isShownBy', 'source': u'\uacbd\ubcf5\uad81_\ub9cc\ud654\ub2f9', 'target': u'3d-\uacbd\ubcf5\uad81_\ub9cc\ud654\ub2f9_\ubd81\ud589\uac01'}], database='hanyang2022', project='hanyang2022', account='guest', password='guest', node='3D-\xea\xb2\xbd\xeb\xb3\xb5\xea\xb6\x81_\xeb\xa7\x8c\xed\x99\x94\xeb\x8b\xb9_\xeb\xb6\x81\xed\x96\x89\xea\xb0\x81') |
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-\uacbd\ubcf5\uad81_\ub9cc\ud654\ub2f9_\ubd81\ud589\uac01', 'infoUrl': u'http://dh.aks.ac.kr/~sandbox/cgi-bin/3dm/ModelVi...rl=dh.aks.ac.kr/~hanyang/glb/\uac74\ubb3c/\uacbd\ubcf5\uad81/\uacbd\ubcf5\uad81\ub9cc\ud654\ub2f9\ubd81\ud589\uac01.glb', 'label': u'\uacbd\ubcf5\uad81 \ub9cc\ud654\ub2f9 \ubd81\ud589\uac01 3D \ubaa8\ub378'}, {'class': u'Architecture', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/architecture.png', 'id': u'\uacbd\ubcf5\uad81_\ub9cc\ud654\ub2f9', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uacbd\ubcf5\uad81_\ub9cc\ud654\ub2f9', 'label': u'\uacbd\ubcf5\uad81 \ub9cc\ud654\ub2f9'}], database = 'hanyang2022', project = 'hanyang2022', account = 'guest', password = 'guest', node = '3D-\xea\xb2\xbd\xeb\xb3\xb5\xea\xb6\x81_\xeb\xa7\x8c\xed\x99\x94\xeb\x8b\xb9_\xeb\xb6\x81\xed\x96\x89\xea\xb0\x81' |
/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-\uacbd\ubcf5\uad81_\ub9cc\ud654\ub2f9_\ubd81\ud589\uac01', 'infoUrl': u'http://dh.aks.ac.kr/~sandbox/cgi-bin/3dm/ModelVi...rl=dh.aks.ac.kr/~hanyang/glb/\uac74\ubb3c/\uacbd\ubcf5\uad81/\uacbd\ubcf5\uad81\ub9cc\ud654\ub2f9\ubd81\ud589\uac01.glb', 'label': u'\uacbd\ubcf5\uad81 \ub9cc\ud654\ub2f9 \ubd81\ud589\uac01 3D \ubaa8\ub378'}, {'class': u'Architecture', 'iconUrl': u'http://dh.aks.ac.kr/hanyang2/icon/architecture.png', 'id': u'\uacbd\ubcf5\uad81_\ub9cc\ud654\ub2f9', 'infoUrl': u'http://dh.aks.ac.kr/hanyang2/wiki/index.php/\uacbd\ubcf5\uad81_\ub9cc\ud654\ub2f9', 'label': u'\uacbd\ubcf5\uad81 \ub9cc\ud654\ub2f9'}], database='hanyang2022', project='hanyang2022', account='guest', password='guest', subject='3D-\xea\xb2\xbd\xeb\xb3\xb5\xea\xb6\x81_\xeb\xa7\x8c\xed\x99\x94\xeb\x8b\xb9_\xeb\xb6\x81\xed\x96\x89\xea\xb0\x81') |
225
|
226 #add show-all-story-nodes button
|
=> 227 if( subjectClass == 'Story' ) :
|
228 print " nodesArray.push({"
|
229 print " id: 'switch1',"
|
subjectClass undefined |