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/pbab0rnfutty/public_html/cgi-bin/UITemplateCode.py in matchStats(self=<UITemplateCode.UITemplateCode object>, matchId=112785, ModeBuffer='X') |
596 fileData = fileData.replace("{OGDescription}", desc)
|
597 # Change file Metadata
|
=> 598 overViewH2h = self.overView(matchId,ModeBuffer)
|
599 fileData = fileData.replace('{OverView_H2H}', overViewH2h['H2H'])
|
600 fileData = fileData.replace('{OverView_GroundDetails}', overViewH2h['Ground'])
|
| overViewH2h undefined, self = <UITemplateCode.UITemplateCode object>, self.overView = <bound method UITemplateCode.overView of <UITemplateCode.UITemplateCode object>>, matchId = 112785, ModeBuffer = 'X' |
| /home/pbab0rnfutty/public_html/cgi-bin/UITemplateCode.py in overView(self=<UITemplateCode.UITemplateCode object>, matchId=112785, ModeBuffer='X') |
607 def overView(self,matchId,ModeBuffer):
|
608 UITemplate = self.UITemplate
|
=> 609 overViewData = self.UIMatchesList.overView(matchId,ModeBuffer)
|
610 i = 0
|
611 UIOverViewHTML = {}
|
| overViewData undefined, self = <UITemplateCode.UITemplateCode object>, self.UIMatchesList = <UIMatchesList.UIMatchesList object>, self.UIMatchesList.overView = <bound method UIMatchesList.overView of <UIMatchesList.UIMatchesList object>>, matchId = 112785, ModeBuffer = 'X' |
| /home/pbab0rnfutty/public_html/cgi-bin/UIMatchesList.py in overView(self=<UIMatchesList.UIMatchesList object>, matchId=112785, ModeBuffer='X') |
926 mycursor.execute(selectQuery, (str(matchId), 'OV'))
|
927 myresult = mycursor.fetchone()
|
=> 928 jsonResults = json.loads(myresult[1])
|
929 # print(json.dumps({'results': jsonResults}))
|
930 return jsonResults
|
| jsonResults = {}, global json = <module 'json' from '/home/pbab0rnfutty/.local/lib/python3.4/json/__init__.py'>, json.loads = <function loads>, myresult = None |