Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (radiadoresv2) radiadores@debian:~/virtualenv/radiadoresv2/trytond/bin$ ./trytond -c trytond.conf --verbose
- 13762 140402655278848 [2016-12-14 16:37:07,539] INFO trytond.config using trytond.conf as configuration files
- 13762 140402655278848 [2016-12-14 16:37:08,295] WARNING py.warnings /home/radiadores/.virtualenvs/radiadoresv2/local/lib/python2.7/site-packages/relatorio/templates/__init__.py:29: UserWarning: Unable to load plugin 'chart'
- warnings.warn("Unable to load plugin '%s'" % name)
- 13762 140402655278848 [2016-12-14 16:37:08,351] INFO trytond.modules ir:registering classes
- 13762 140402655278848 [2016-12-14 16:37:08,352] INFO trytond.modules res:registering classes
- 13762 140402655278848 [2016-12-14 16:37:08,352] INFO trytond.modules tests:registering classes
- 13762 140402655278848 [2016-12-14 16:37:08,360] INFO werkzeug * Running on http://0.0.0.0:8000/ (Press CTRL+C to quit)
- 13762 140402560108288 [2016-12-14 16:37:21,269] INFO werkzeug 127.0.0.1 - - [14/Dec/2016 16:37:21] "POST / HTTP/1.1" 200 -
- 13762 140402560108288 [2016-12-14 16:37:21,299] INFO trytond.backend.postgresql.database connect to "radiadoresv2"
- 13762 140402560108288 [2016-12-14 16:37:21,319] INFO trytond.pool init pool for "radiadoresv2"
- 13762 140402560108288 [2016-12-14 16:37:21,389] INFO trytond.modules ir
- 13762 140402560108288 [2016-12-14 16:37:21,391] INFO trytond.modules res
- 13762 140402560108288 [2016-12-14 16:37:21,392] INFO trytond.pool setup pool for "radiadoresv2"
- 13762 140402560108288 [2016-12-14 16:37:21,723] INFO trytond.modules all modules loaded
- 13762 140402560108288 [2016-12-14 16:37:21,739] INFO werkzeug 127.0.0.1 - - [14/Dec/2016 16:37:21] "POST /radiadoresv2/ HTTP/1.1" 200 -
- ##DEBUG##
- SELECT "a"."id" AS "id", "a"."create_uid" AS "create_uid", "a"."create_date" AS "create_date", "a"."language" AS "language", "a"."write_uid" AS "write_uid", "a"."write_date" AS "write_date", CAST(EXTRACT(%s FROM COALESCE("a"."write_date", "a"."create_date")) AS VARCHAR) AS "_timestamp" FROM "ir_configuration" AS "a" WHERE %s ORDER BY "a"."id" ASC LIMIT 1
- ##DEBUG##
- ##DEBUG##
- SELECT "a"."id" AS "id", "a"."create_uid" AS "create_uid", "a"."create_date" AS "create_date", "a"."language" AS "language", "a"."write_uid" AS "write_uid", "a"."write_date" AS "write_date", CAST(EXTRACT(%s FROM COALESCE("a"."write_date", "a"."create_date")) AS VARCHAR) AS "_timestamp" FROM "ir_configuration" AS "a" WHERE %s ORDER BY "a"."id" ASC LIMIT 1
- ##DEBUG##
- ##DEBUG##
- SELECT "a"."id" AS "id", "a"."create_uid" AS "create_uid", "a"."create_date" AS "create_date", "a"."write_uid" AS "write_uid", "a"."user" AS "user", "a"."write_date" AS "write_date", "a"."group" AS "group", CAST(EXTRACT(%s FROM COALESCE("a"."write_date", "a"."create_date")) AS VARCHAR) AS "_timestamp" FROM "res_user-res_group" AS "a" LEFT JOIN "res_group" AS "b" ON ("b"."id" = "a"."group") LEFT JOIN "ir_translation" AS "c" ON ((((("c"."res_id" = "b"."id") AND ("c"."name" = %s)) AND ("c"."lang" = %s)) AND ("c"."type" = %s)) AND ("c"."fuzzy" = %s)) WHERE (("a"."user" IN (%s)) AND ("a"."group" IS NOT NULL)) ORDER BY COALESCE(NULLIF("c"."value", %s), "b"."name") ASC
- ##DEBUG##
- ##DEBUG##
- SELECT "a"."id" AS "id", "a"."create_uid" AS "create_uid", "a"."on_create" AS "on_create", "a"."create_date" AS "create_date", "a"."on_delete" AS "on_delete", "a"."on_time" AS "on_time", "a"."action_model" AS "action_model", "a"."write_uid" AS "write_uid", "a"."model" AS "model", "a"."write_date" AS "write_date", "a"."on_write" AS "on_write", "a"."active" AS "active", "a"."action_function" AS "action_function", "a"."limit_number" AS "limit_number", "a"."condition" AS "condition", CAST(EXTRACT(%s FROM COALESCE("a"."write_date", "a"."create_date")) AS VARCHAR) AS "_timestamp" FROM "ir_trigger" AS "a" LEFT JOIN "ir_model" AS "b" ON ("b"."id" = "a"."model") LEFT JOIN "ir_translation" AS "c" ON ((((("c"."res_id" = "a"."id") AND ("c"."name" = %s)) AND ("c"."lang" = %s)) AND ("c"."type" = %s)) AND ("c"."fuzzy" = %s)) WHERE ((("b"."model" = %s)) AND ("a"."on_create" = %s) AND ("a"."active" = %s)) ORDER BY COALESCE(NULLIF("c"."value", %s), "a"."name") ASC, "a"."id" ASC
- ##DEBUG##
- 13762 140402560108288 [2016-12-14 16:37:26,038] INFO trytond.protocols.dispatcher successful login 'admin' from 127.0.0.1 using http on database 'radiadoresv2'
- 13762 140402560108288 [2016-12-14 16:37:26,039] INFO werkzeug 127.0.0.1 - - [14/Dec/2016 16:37:26] "POST /radiadoresv2/ HTTP/1.1" 200 -
- ##DEBUG##
- SELECT "a"."id" AS "id", "a"."create_uid" AS "create_uid", "a"."create_date" AS "create_date", "a"."key" AS "key", "a"."write_uid" AS "write_uid", "a"."write_date" AS "write_date", CAST(EXTRACT(%s FROM COALESCE("a"."write_date", "a"."create_date")) AS VARCHAR) AS "_timestamp" FROM "ir_session" AS "a" WHERE ((("a"."create_uid" = %s)) AND ((("a"."create_uid" = %s)))) ORDER BY "a"."id" ASC
- ##DEBUG##
- 13762 140402560108288 [2016-12-14 16:37:26,091] INFO trytond.protocols.dispatcher <class 'trytond.res.user.res.user'>.get_preferences(*(True, {}), **{}) from admin@127.0.0.1//radiadoresv2/
- ##DEBUG##
- SELECT "a"."id" AS "id", "a"."create_uid" AS "create_uid", "a"."create_date" AS "create_date", "a"."write_uid" AS "write_uid", "a"."user" AS "user", "a"."write_date" AS "write_date", "a"."group" AS "group", CAST(EXTRACT(%s FROM COALESCE("a"."write_date", "a"."create_date")) AS VARCHAR) AS "_timestamp" FROM "res_user-res_group" AS "a" LEFT JOIN "res_group" AS "b" ON ("b"."id" = "a"."group") LEFT JOIN "ir_translation" AS "c" ON ((((("c"."res_id" = "b"."id") AND ("c"."name" = %s)) AND ("c"."lang" = %s)) AND ("c"."type" = %s)) AND ("c"."fuzzy" = %s)) WHERE (("a"."user" IN (%s)) AND ("a"."group" IS NOT NULL)) ORDER BY COALESCE(NULLIF("c"."value", %s), "b"."name") ASC
- ##DEBUG##
- ##DEBUG##
- SELECT "a"."id" AS "id", "a"."create_uid" AS "create_uid", "a"."create_date" AS "create_date", "a"."key" AS "key", "a"."write_uid" AS "write_uid", "a"."write_date" AS "write_date", CAST(EXTRACT(%s FROM COALESCE("a"."write_date", "a"."create_date")) AS VARCHAR) AS "_timestamp" FROM "ir_session" AS "a" WHERE (("a"."key" = %s)) ORDER BY "a"."id" ASC
- ##DEBUG##
- ##DEBUG##
- SELECT "a"."id" AS "id", "a"."create_uid" AS "create_uid", "a"."create_date" AS "create_date", "a"."language" AS "language", "a"."write_uid" AS "write_uid", "a"."write_date" AS "write_date", CAST(EXTRACT(%s FROM COALESCE("a"."write_date", "a"."create_date")) AS VARCHAR) AS "_timestamp" FROM "ir_configuration" AS "a" WHERE %s ORDER BY "a"."id" ASC LIMIT 1
- ##DEBUG##
- ##DEBUG##
- SELECT "a"."id" AS "id", "a"."create_uid" AS "create_uid", "a"."create_date" AS "create_date", "a"."language" AS "language", "a"."write_uid" AS "write_uid", "a"."write_date" AS "write_date", CAST(EXTRACT(%s FROM COALESCE("a"."write_date", "a"."create_date")) AS VARCHAR) AS "_timestamp" FROM "ir_configuration" AS "a" WHERE %s ORDER BY "a"."id" ASC LIMIT 1
- ##DEBUG##
- 13762 140402560108288 [2016-12-14 16:37:26,185] INFO werkzeug 127.0.0.1 - - [14/Dec/2016 16:37:26] "POST /radiadoresv2/ HTTP/1.1" 200 -
- ##DEBUG##
- SELECT "a"."id" AS "id", "a"."create_uid" AS "create_uid", "a"."create_date" AS "create_date", "a"."key" AS "key", "a"."write_uid" AS "write_uid", "a"."write_date" AS "write_date", CAST(EXTRACT(%s FROM COALESCE("a"."write_date", "a"."create_date")) AS VARCHAR) AS "_timestamp" FROM "ir_session" AS "a" WHERE ((("a"."create_uid" = %s)) AND ((("a"."create_uid" = %s)))) ORDER BY "a"."id" ASC
- ##DEBUG##
- 13762 140402560108288 [2016-12-14 16:37:26,194] INFO trytond.protocols.dispatcher <class 'trytond.res.user.res.user'>.get_preferences(*(False, {u'language_direction': u'ltr', u'language': None, u'groups': [1]}), **{}) from admin@127.0.0.1//radiadoresv2/
- ##DEBUG##
- SELECT "a"."id" AS "id", "a"."create_uid" AS "create_uid", "a"."create_date" AS "create_date", "a"."language" AS "language", "a"."write_uid" AS "write_uid", "a"."write_date" AS "write_date", CAST(EXTRACT(%s FROM COALESCE("a"."write_date", "a"."create_date")) AS VARCHAR) AS "_timestamp" FROM "ir_configuration" AS "a" WHERE %s ORDER BY "a"."id" ASC LIMIT 1
- ##DEBUG##
- ##DEBUG##
- SELECT "a"."id" AS "id", "a"."create_uid" AS "create_uid", "a"."create_date" AS "create_date", "a"."language" AS "language", "a"."write_uid" AS "write_uid", "a"."write_date" AS "write_date", CAST(EXTRACT(%s FROM COALESCE("a"."write_date", "a"."create_date")) AS VARCHAR) AS "_timestamp" FROM "ir_configuration" AS "a" WHERE %s ORDER BY "a"."id" ASC LIMIT 1
- ##DEBUG##
- ##DEBUG##
- SELECT "a"."id" AS "id", "a"."create_uid" AS "create_uid", "a"."create_date" AS "create_date", "a"."write_uid" AS "write_uid", "a"."user" AS "user", "a"."write_date" AS "write_date", "a"."group" AS "group", CAST(EXTRACT(%s FROM COALESCE("a"."write_date", "a"."create_date")) AS VARCHAR) AS "_timestamp" FROM "res_user-res_group" AS "a" LEFT JOIN "res_group" AS "b" ON ("b"."id" = "a"."group") LEFT JOIN "ir_translation" AS "c" ON ((((("c"."res_id" = "b"."id") AND ("c"."name" = %s)) AND ("c"."lang" = %s)) AND ("c"."type" = %s)) AND ("c"."fuzzy" = %s)) WHERE (("a"."user" IN (%s)) AND ("a"."group" IS NOT NULL)) ORDER BY COALESCE(NULLIF("c"."value", %s), "b"."name") ASC
- ##DEBUG##
- ##DEBUG##
- SELECT "a"."id" AS "id", "a"."create_uid" AS "create_uid", "a"."create_date" AS "create_date", "a"."language" AS "language", "a"."write_uid" AS "write_uid", "a"."write_date" AS "write_date", CAST(EXTRACT(%s FROM COALESCE("a"."write_date", "a"."create_date")) AS VARCHAR) AS "_timestamp" FROM "ir_configuration" AS "a" WHERE %s ORDER BY "a"."id" ASC LIMIT 1
- ##DEBUG##
- ##DEBUG##
- SELECT "a"."id" AS "id", "a"."create_uid" AS "create_uid", "a"."create_date" AS "create_date", "a"."language" AS "language", "a"."write_uid" AS "write_uid", "a"."write_date" AS "write_date", CAST(EXTRACT(%s FROM COALESCE("a"."write_date", "a"."create_date")) AS VARCHAR) AS "_timestamp" FROM "ir_configuration" AS "a" WHERE %s ORDER BY "a"."id" ASC LIMIT 1
- ##DEBUG##
- ##DEBUG##
- SELECT "a"."id" AS "id", "a"."create_uid" AS "create_uid", "a"."create_date" AS "create_date", "a"."write_uid" AS "write_uid", "a"."user" AS "user", "a"."write_date" AS "write_date", "a"."group" AS "group", CAST(EXTRACT(%s FROM COALESCE("a"."write_date", "a"."create_date")) AS VARCHAR) AS "_timestamp" FROM "res_user-res_group" AS "a" LEFT JOIN "res_group" AS "b" ON ("b"."id" = "a"."group") LEFT JOIN "ir_translation" AS "c" ON ((((("c"."res_id" = "b"."id") AND ("c"."name" = %s)) AND ("c"."lang" = %s)) AND ("c"."type" = %s)) AND ("c"."fuzzy" = %s)) WHERE (("a"."user" IN (%s)) AND ("a"."group" IS NOT NULL)) ORDER BY COALESCE(NULLIF("c"."value", %s), "b"."name") ASC
- ##DEBUG##
- ##DEBUG##
- SELECT "a"."id" AS "id", "a"."create_uid" AS "create_uid", "a"."create_date" AS "create_date", "a"."sequence" AS "sequence", "a"."write_uid" AS "write_uid", "a"."write_date" AS "write_date", "a"."active" AS "active", "a"."act_window" AS "act_window", "a"."view" AS "view", CAST(EXTRACT(%s FROM COALESCE("a"."write_date", "a"."create_date")) AS VARCHAR) AS "_timestamp" FROM "ir_action_act_window_view" AS "a" WHERE (("a"."act_window" IN (%s)) AND ("a"."active" = %s)) ORDER BY "a"."sequence" ASC, "a"."id" ASC
- ##DEBUG##
- ##DEBUG##
- SELECT "a"."id" AS "id", "a"."count" AS "count", "a"."create_uid" AS "create_uid", "a"."domain" AS "domain", "a"."create_date" AS "create_date", "a"."sequence" AS "sequence", "a"."write_uid" AS "write_uid", "a"."write_date" AS "write_date", "a"."active" AS "active", "a"."act_window" AS "act_window", CAST(EXTRACT(%s FROM COALESCE("a"."write_date", "a"."create_date")) AS VARCHAR) AS "_timestamp" FROM "ir_action_act_window_domain" AS "a" WHERE (("a"."act_window" IN (%s)) AND ("a"."active" = %s)) ORDER BY "a"."sequence" ASC, "a"."id" ASC
- ##DEBUG##
- 13762 140402560108288 [2016-12-14 16:37:26,341] ERROR trytond.protocols.dispatcher <class 'trytond.res.user.res.user'>.get_preferences(*(False, {u'language_direction': u'ltr', u'language': None, u'groups': [1]}), **{}) from admin@127.0.0.1//radiadoresv2/
- Traceback (most recent call last):
- File "/home/radiadores/.virtualenvs/radiadoresv2/trytond/trytond/protocols/dispatcher.py", line 160, in _dispatch
- result = rpc.result(meth(*c_args, **c_kwargs))
- File "/home/radiadores/.virtualenvs/radiadoresv2/trytond/trytond/res/user.py", line 383, in get_preferences
- preferences = cls._get_preferences(user, context_only=context_only)
- File "/home/radiadores/.virtualenvs/radiadoresv2/trytond/trytond/res/user.py", line 360, in _get_preferences
- res[field] = getattr(user, field)
- File "/home/radiadores/.virtualenvs/radiadoresv2/trytond/trytond/model/fields/field.py", line 261, in __get__
- return inst.__getattr__(self.name)
- File "/home/radiadores/.virtualenvs/radiadoresv2/trytond/trytond/model/modelstorage.py", line 1364, in __getattr__
- read_data = self.read(list(ids), ffields.keys())
- File "/home/radiadores/.virtualenvs/radiadoresv2/trytond/trytond/res/user.py", line 242, in read
- result = super(User, cls).read(ids, fields_names=fields_names)
- File "/home/radiadores/.virtualenvs/radiadoresv2/trytond/trytond/model/modelsql.py", line 773, in read
- getter_results = field.get(ids, cls, field_list, values=result)
- File "/home/radiadores/.virtualenvs/radiadoresv2/trytond/trytond/model/fields/function.py", line 91, in get
- return dict((name, call(name)) for name in names)
- File "/home/radiadores/.virtualenvs/radiadoresv2/trytond/trytond/model/fields/function.py", line 91, in <genexpr>
- return dict((name, call(name)) for name in names)
- File "/home/radiadores/.virtualenvs/radiadoresv2/trytond/trytond/model/fields/function.py", line 85, in call
- return dict((r.id, method(r, name)) for r in records)
- File "/home/radiadores/.virtualenvs/radiadoresv2/trytond/trytond/model/fields/function.py", line 85, in <genexpr>
- return dict((r.id, method(r, name)) for r in records)
- File "/home/radiadores/.virtualenvs/radiadoresv2/trytond/trytond/res/user.py", line 183, in get_pyson_menu
- Action.get_action_values(self.menu.type, [self.menu.id])[0])
- File "/home/radiadores/.virtualenvs/radiadoresv2/trytond/trytond/ir/action.py", line 97, in get_action_values
- return Action.read(action_ids, list(columns))
- File "/home/radiadores/.virtualenvs/radiadoresv2/trytond/trytond/model/modelsql.py", line 754, in read
- getter_result = field.get(ids, cls, fname, values=result)
- File "/home/radiadores/.virtualenvs/radiadoresv2/trytond/trytond/model/fields/one2many.py", line 98, in get
- targets.append(Relation.search(clause, order=self.order))
- File "/home/radiadores/.virtualenvs/radiadoresv2/trytond/trytond/model/modelsql.py", line 1178, in search
- cursor.execute(*select)
- ProgrammingError: la columna «a.id» debe aparecer en la cláusula GROUP BY o ser usada en una función de agregación
- LINE 1: SELECT "a"."id" AS "id", "a"."count" AS "count", "a"."create...
- ^
- 13762 140402560108288 [2016-12-14 16:37:26,350] INFO werkzeug 127.0.0.1 - - [14/Dec/2016 16:37:26] "POST /radiadoresv2/ HTTP/1.1" 200 -
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement