[Tutor] School Boy Error

John CORRY john.corry at ntlworld.com
Sun Apr 16 12:40:15 CEST 2006


Bri,
 
Print stat gives
 
Insert into cost_grid values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,
?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,
?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,
?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,)
Traceback (most recent call last):
  File "C:\Python24\Lib\site-packages\databasemanager.py", line 31, in ?
    c.execute(stat, sql_list)
TypeError: parameters must be a list of tuples
 
Unfortunately sql_list gives the same error.
 
Thanks,
 
John.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20060416/4303956f/attachment.htm 


More information about the Tutor mailing list