[Cubicweb] ProgrammingError: (1064

Nicolas Chauvat nicolas.chauvat at logilab.fr
Sun Aug 2 17:19:51 CEST 2009


On Sun, Aug 02, 2009 at 10:34:09AM +0530, Dhaval Sharma wrote:
> The following error generally comes in anonymous login or when the current
> user's session is timed out and if you try to access links. Sometimes
> anonymous access shows indev view and sometimes the following error comes?
> 
> an error occured
> ProgrammingError: (1064, "You have an error in your SQL syntax; check the
> manual that corresponds to your MySQL server version for the right syntax to
> use near 'WHERE X.cw_eid=432)' at line 3")
> 
> (1064, "You have an error in your SQL syntax; check the manual that
> corresponds to your MySQL server version for the right syntax to use near
> 'WHERE X.cw_eid=432)' at line 3")
> ...
> query='SELECT X.cw_eid, X.cw_login, X.cw_firstname, X.cw_surname,
> X.cw_modification_date\nFROM created_by_relation AS rel_created_by0,
> cw_CWUser AS X\nWHERE rel_created_by0.eid_from=446 AND
> rel_created_by0.eid_to=X.cw_eid AND EXISTS(SELECT 1 WHERE X.cw_eid=432)',
> ListType=<type 'list'>, exc_info=<built-in function exc_info>,
> TupleType=<type 'tuple'>,

I do not have mysql installed. Is is the 'SELECT 1' that it finds
troubling ?

-- 
Nicolas Chauvat

logilab.fr - services en informatique scientifique et gestion de connaissances  



More information about the Cubicweb mailing list