Thank you very much.
2009/8/30 Cameron Simpson c...@zip.com.au
On 29Aug2009 17:27, Sergio Charpinel Jr. sergiocharpi...@gmail.com
wrote:
| Hi,
| I have this statement cursor.execute(SELECT * from session_attribute
WHERE
| sid=%s, ( user ))
| and I'm receiving this error :
|
| TypeError:
Hi,
I have this statement cursor.execute(SELECT * from session_attribute WHERE
sid=%s, ( user ))
and I'm receiving this error :
TypeError: not all arguments converted during string formatting
What is wrong ?
--
Sergio Roberto Charpinel Jr.
--
http://mail.python.org/mailman/listinfo/python-list
I have this statement cursor.execute(SELECT * from session_attribute WHERE
sid=%s, ( user ))
and I'm receiving this error :
TypeError: not all arguments converted during string formatting
Two possibilities occur to me:
1) the 2nd parameter to execute() usually needs to be a tuple (or
maybe a
On 29Aug2009 17:27, Sergio Charpinel Jr. sergiocharpi...@gmail.com wrote:
| Hi,
| I have this statement cursor.execute(SELECT * from session_attribute WHERE
| sid=%s, ( user ))
| and I'm receiving this error :
|
| TypeError: not all arguments converted during string formatting
|
| What is wrong