Re: can't get cgi values

2006-11-27 Thread robert
ronrsr wrote: > Thank you, all. that was very helpful, and did solve many of my > problems. I was addressing the dict with () rather than []. > > I'm still having one problem, though -- extracting the keywords. NOw, > if you check the value for Form below, you'll see there is more than > one key

Re: can't get cgi values

2006-11-27 Thread ronrsr
Thank you, all. that was very helpful, and did solve many of my problems. I was addressing the dict with () rather than []. I'm still having one problem, though -- extracting the keywords. NOw, if you check the value for Form below, you'll see there is more than one keyword entry. When I do: k

Re: can't get cgi values

2006-11-27 Thread ronrsr
Thank you, all. that was very helpful, and did solve many of my problems. I was addressing the dict with () rather than []. I'm still having one problem, though -- extracting the keywords. NOw, if you check the value for Form below, you'll see there is more than one keyword entry. When I do: k

Re: can't get cgi values

2006-11-27 Thread robert
ronrsr wrote: > I'm having trouble extracting cgi parameters in my code - this is a web > application, so I only know the line that's causing the problem. if exceptions try "import cgitb; cgitb.enable()" to get a traces directly in HTML for testing; otherwise read the server log (logs of httpd et

Re: can't get cgi values

2006-11-27 Thread Paul McGuire
form("citation").value Is form some form of dict? If so, then this should be something like: form["citation"] If not, then maybe value is a function, requiring ()'s to actually invoke it. -- Paul -- http://mail.python.org/mailman/listinfo/python-list

Re: can't get cgi values

2006-11-27 Thread Fredrik Lundh
ronrsr wrote: > I'm having trouble extracting cgi parameters in my code - this is a web > application, so I only know the line that's causing the problem. seen this: http://docs.python.org/lib/module-cgitb.html ? > temp = str(form("citation").value) did you perhaps mean form["citati

can't get cgi values

2006-11-27 Thread ronrsr
I'm having trouble extracting cgi parameters in my code - this is a web application, so I only know the line that's causing the problem. here's the info I know: form = FieldStorage(None, None, [MiniFieldStorage('zid', '17'), MiniFieldStorage('keywords', 'aAUA'), MiniFieldStorage('keywords', 'aBOS