eoc wrote:
>
> InterfaceError: (InterfaceError) Error binding parameter 1 - probably
> unsupported type. u'SELECT nav.id AS nav_id, nav.name AS nav_name,
> nav.path AS nav_path, nav.section AS nav_section, nav."before" AS
> nav_before, nav.type AS nav_type \nFROM nav \nWHERE nav.path = ? AND
> nav.section = ? AND nav.type = ?
> \n LIMIT 1 OFFSET 0' [u'john', ['section'], 'page']

I can't tell you whats wrong with the code, but the general thing going
wrong is the wrong kind of data being sent to the statement.  the binds
there should be strings, and in the log would look like:

['john', 'section', 'page']

so if theres something like query.filter(Foo.x == [some array]), you'd get
an erroneous result like that.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to