LInking cgi error
CheapSkate
gua81 at XXXyahoo.com
Thu Sep 26 04:24:18 EDT 2002
This thing worked before.... I dont know why it didn't work now.
this code is in the other page with the link:
'<a href="parser.cgi?link=%s/%s">%s</a>'% (dirname, filename, filename)
This code is the one that crash:
all_values=cgi.FieldStorage()
kkk=all_values["link"].value
start_parse(kkk)
when I run it, it gives this error:
Traceback (most recent call last):
File "parser.cgi", line 53, in ?
direc=all_values["link"].value
File "/usr/local/lib/python2.1/cgi.py", line 550, in __getitem__
raise KeyError, key
KeyError: link
More information about the Python-list
mailing list