Tryton - Issues



Author pokoli
Recipients ced, dominik, oscar, tkhyn, vezjakv
Date 2014-03-02.21:21:31
I executed more code and it fails in the test query, concrectly in [1]. I get
the following traceback:

Traceback (most recent call last):
  File "C:\Program Files\neso-3.0.0\", line 150, in <module>
    cursor2.execute(sql, params)
  File "trytond\trytond\backend\sqlite\database.pyc", line 342, in execute
OperationalError: near "%": syntax error

Which is quite strange for me. 

I also printed the generated query and params, which lead to: 

('SELECT "a"."name" FROM "sqlite_master" AS "a" WHERE (("a"."type" = %s) AND
("a"."name" IN (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s)))', ('table',
'ir_model', 'ir_model_field', 'ir_ui_view', 'ir_ui_menu', 'res_user',
'res_group', 'ir_module_module', 'ir_module_module_dependency',
'ir_translation', 'ir_lang'))

Let me know if more inputs are needed. 

Date User Action Args
2014-03-02 21:21:32pokolisetmessageid: <>
2014-03-02 21:21:32pokolisetrecipients: + ced, oscar, vezjakv, dominik, tkhyn
2014-03-02 21:21:32pokolilinkissue3589 messages
2014-03-02 21:21:31pokolicreate

Showing 10 items. Show all history (warning: this could be VERY long)