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/Story02.py in displayData(database='aksphoto', project='jp11', account='guest', password='guest', node='\xec\x9e\xa5\xeb\xa6\x89-\xe8\x8e\x8a\xe9\x99\xb5') |
325 db.close()
|
326
|
=> 327 displayNetwork( nodelist, edgelist, database, project, account, password, node )
|
328
|
329
|
global displayNetwork = <function displayNetwork>, nodelist = [{'InfoUrl': None, 'class': 'Ghost', 'iconUrl': './icon/ghost.png', 'id': u'\uc7a5\ub989-\u838a\u9675', 'label': '\xec\x9e\xa5\xeb\xa6\x89-\xe8\x8e\x8a\xe9\x99\xb5 Not Exist!'}, {'class': u'WebResource', 'iconUrl': u'http://dh.aks.ac.kr/~aksphoto/files/chaLogo.png', 'id': u'D00-0196-0000', 'infoUrl': u'http://www.heritage.go.kr/heri/cul/culSelectDetail.do?ccbaCpno=1333201960000', 'label': u'(\uc0ac\uc801 \uc81c196\ud638)\uc601\uc6d4 \uc7a5\ub989'}], edgelist = [{'attribute': None, 'relation': u'hasWebResource', 'source': u'\uc7a5\ub989-\u838a\u9675', 'target': u'D00-0196-0000'}], database = 'aksphoto', project = 'jp11', account = 'guest', password = 'guest', node = '\xec\x9e\xa5\xeb\xa6\x89-\xe8\x8e\x8a\xe9\x99\xb5' |
/home/sandbox/public_html/cgi-bin/Story02.py in displayNetwork(nodelist=[{'InfoUrl': None, 'class': 'Ghost', 'iconUrl': './icon/ghost.png', 'id': u'\uc7a5\ub989-\u838a\u9675', 'label': '\xec\x9e\xa5\xeb\xa6\x89-\xe8\x8e\x8a\xe9\x99\xb5 Not Exist!'}, {'class': u'WebResource', 'iconUrl': u'http://dh.aks.ac.kr/~aksphoto/files/chaLogo.png', 'id': u'D00-0196-0000', 'infoUrl': u'http://www.heritage.go.kr/heri/cul/culSelectDetail.do?ccbaCpno=1333201960000', 'label': u'(\uc0ac\uc801 \uc81c196\ud638)\uc601\uc6d4 \uc7a5\ub989'}], edgelist=[{'attribute': None, 'relation': u'hasWebResource', 'source': u'\uc7a5\ub989-\u838a\u9675', 'target': u'D00-0196-0000'}], database='aksphoto', project='jp11', account='guest', password='guest', node='\xec\x9e\xa5\xeb\xa6\x89-\xe8\x8e\x8a\xe9\x99\xb5') |
205 if not line: break
|
206 if( '#YourData' == line.strip()):
|
=> 207 printNodes( nodelist, database, project, account, password, node )
|
208 printLinks( edgelist, node, account )
|
209 else:
|
global printNodes = <function printNodes>, nodelist = [{'InfoUrl': None, 'class': 'Ghost', 'iconUrl': './icon/ghost.png', 'id': u'\uc7a5\ub989-\u838a\u9675', 'label': '\xec\x9e\xa5\xeb\xa6\x89-\xe8\x8e\x8a\xe9\x99\xb5 Not Exist!'}, {'class': u'WebResource', 'iconUrl': u'http://dh.aks.ac.kr/~aksphoto/files/chaLogo.png', 'id': u'D00-0196-0000', 'infoUrl': u'http://www.heritage.go.kr/heri/cul/culSelectDetail.do?ccbaCpno=1333201960000', 'label': u'(\uc0ac\uc801 \uc81c196\ud638)\uc601\uc6d4 \uc7a5\ub989'}], database = 'aksphoto', project = 'jp11', account = 'guest', password = 'guest', node = '\xec\x9e\xa5\xeb\xa6\x89-\xe8\x8e\x8a\xe9\x99\xb5' |
/home/sandbox/public_html/cgi-bin/Story02.py in printNodes(nodelist=[{'InfoUrl': None, 'class': 'Ghost', 'iconUrl': './icon/ghost.png', 'id': u'\uc7a5\ub989-\u838a\u9675', 'label': '\xec\x9e\xa5\xeb\xa6\x89-\xe8\x8e\x8a\xe9\x99\xb5 Not Exist!'}, {'class': u'WebResource', 'iconUrl': u'http://dh.aks.ac.kr/~aksphoto/files/chaLogo.png', 'id': u'D00-0196-0000', 'infoUrl': u'http://www.heritage.go.kr/heri/cul/culSelectDetail.do?ccbaCpno=1333201960000', 'label': u'(\uc0ac\uc801 \uc81c196\ud638)\uc601\uc6d4 \uc7a5\ub989'}], database='aksphoto', project='jp11', account='guest', password='guest', subject='\xec\x9e\xa5\xeb\xa6\x89-\xe8\x8e\x8a\xe9\x99\xb5') |
73 subjectClass = item['class']
|
74 print " label: ' {0} ',".format(label)
|
=> 75 if( item['infoUrl'] != None ): #has infoUrl
|
76 print " url: '{0}',".format(item['infoUrl'])
|
77 print " target: '_blank',"
|
item = {'InfoUrl': None, 'class': 'Ghost', 'iconUrl': './icon/ghost.png', 'id': u'\uc7a5\ub989-\u838a\u9675', 'label': '\xec\x9e\xa5\xeb\xa6\x89-\xe8\x8e\x8a\xe9\x99\xb5 Not Exist!'}, builtin None = None |