Re: mod-python error

2006-03-15 Thread Joseph Barillari
That looks like an SQL error, rather than an MP error. I'd try calling it without MP present (with the same arguments, of course...). Joe On Wed, Mar 15, 2006 at 10:34:00PM +, Patty wrote: > Hi, > I'm really hoping someone can help me understand what is wrong with this piece > of code. > Tha

Re: mod-python error

2006-03-15 Thread Graham Dumpleton
Following may or may not be relevant. BTW, have you tried your sample code outside of context of mod_python. Ie., extract out main bit and run it as command line script. Patty wrote .. > This is the piece of code: > > # Connect to the database > conn = MySQLdb.connect(host = "localhost", user =

mod-python error

2006-03-15 Thread Patty
Hi, I'm really hoping someone can help me understand what is wrong with this piece of code. Thanks, Patty This is how I call my function: http://hostname/mptest/ask.py/ask?host=ahost&target=atarget *** This is the piece o