IGNORE ABOVE POST!

CheapSkate gua81 at XXXyahoo.com
Thu Sep 26 04:29:54 EDT 2002


Sorry,
my mistake...
my web server took a while o refresh itself.

"CheapSkate" <gua81 at XXXyahoo.com> wrote in message
news:amug6m$ivm$1 at lust.ihug.co.nz...
> 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