A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
| /kunden/homepages/5/d199348766/htdocs/vibe/site/index.cgi in Home(form=FieldStorage(None, None, []), username='') |
76
|
77 # Run each module and load it in the template
|
78 Proc.set("shoutbox", shoutbox.main(form, username))
|
79 Proc.set("stats", statsblock.main(form))
|
80 #Proc.set("announcement", announcement.main(form))
|
| global Proc = <htmltmpl.TemplateProcessor instance>, Proc.set = <bound method TemplateProcessor.set of <htmltmpl.TemplateProcessor instance>>, shoutbox = <module 'shoutbox' from '/homepages/5/d199348766/htdocs/vibe/site/shoutbox.pyc'>, shoutbox.main = <function main>, form = FieldStorage(None, None, []), username = '' |
| /homepages/5/d199348766/htdocs/vibe/site/shoutbox.py in main(form=FieldStorage(None, None, []), username='') |
50 cursor.execute("SELECT username, id from Students WHERE id = %s", shout["user"])
|
51 shoutinfo = cursor.fetchone()
|
52 shout["username"] = shoutinfo["username"]
|
53 if username == shout["username"]:
|
54 shout["bloguserid"] = "None"
|
| shout = {'comment': 'No.', 'user': 92L}, shoutinfo = None |