IRC logs of #tryton for Wednesday, 2011-10-12 #tryton log beginning Wed Oct 12 00:00:01 CEST 2011
andreasgrabGood morning. i have problems with my first report. Error: 'ascii' codec can#t decode byte 0x8b in position 83: ordinal not in range(128)10:09
andreasgrabAlso: raise UndefinedError(key, owner=owner)10:10
andreasgrabUndefinedError: "company" not defined10:10
andreasgrabany tips?10:10
hoRnandreasgrab: this happens on rendering the report as oo-document?10:11
andreasgrabcedk: yes, but i use libre office10:12
cedkandreasgrab: it looks like you try to put non-utf-8 str10:13
andreasgrabcedk: don't understand. My systemsettings are german but no "umlaute" anywere10:14
cedkandreasgrab: need to see the all traceback10:15
andreasgrabERROR:common.message:Traceback (most recent call last):10:15
andreasgrab  File "/trytond/protocols/", line 100, in _marshaled_dispatch10:15
andreasgrab    response['result'] = dispatch_method(method, params)10:15
andreasgrab  File "/trytond/protocols/", line 139, in _dispatch10:15
andreasgrab    res = dispatch(*args)10:15
andreasgrab  File "/trytond/protocols/", line 154, in dispatch10:15
andreasgrab    res = getattr(obj, method)(*args, **kargs)10:15
cedkandreasgrab: no copy paste !10:15
andreasgrab  File "/trytond/report/", line 134, in execute10:15
andreasgrab    type, data = self.parse(action_report, objects, datas, {})10:15
andreasgrab  File "/trytond/report/", line 258, in parse10:15
andreasgrab    data = rel_report(**localcontext).render()10:15
andreasgrab  File "/relatorio/templates/", line 36, in render10:15
andreasgrab    return self.serializer(
andreasgrab  File "/relatorio/templates/", line 753, in __call__10:15
andreasgrab    for kind, data, pos in stream:10:15
andreasgrab  File "/genshi/", line 288, in _ensure10:15
cedkandreasgrab: I can not read it !10:15
andreasgrab    for event in stream:10:15
andreasgrab  File "/genshi/filters/", line 683, in __call__10:15
andreasgrab    for kind, data, pos in stream:10:16
andreasgrab  File "/genshi/template/", line 605, in _include10:16
andreasgrab    for event in stream:10:16
andreasgrab  File "/genshi/template/", line 327, in _match10:16
andreasgrab    for event in stream:10:16
andreasgrab  File "/genshi/template/", line 585, in _flatten10:16
andreasgrab    stream = _apply_directives(data[1], data[0], ctxt, vars)10:16
andreasgrab  File "/genshi/template/", line 262, in _apply_directives10:16
andreasgrab    stream = directives[0](iter(stream), directives[1:], ctxt, **vars)10:16
andreasgrab  File "/genshi/template/", line 400, in __call__10:16
andreasgrab    value = _eval_expr(self.expr, ctxt, vars)10:16
andreasgrab  File "/genshi/template/", line 277, in _eval_expr10:16
andreasgrab    retval = expr.evaluate(ctxt)10:16
andreasgrab  File "/genshi/template/", line 178, in evaluate10:16
andreasgrab    return eval(self.code, _globals, {'__data__': data})10:16
andreasgrab  File "/genshi/template/", line 309, in lookup_name10:16
andreasgrab    val = cls.undefined(name)10:16
andreasgrab  File "/genshi/template/", line 410, in undefined10:16
andreasgrab    raise UndefinedError(key, owner=owner)10:16
andreasgrabUndefinedError: "company" not defined10:16
andreasgrabcedk: sorry, how to do? line by line?10:17
cedkandreasgrab: use a bin paster10:18
andreasgrabhoRn: thanks!10:19
udonoandreasgrab: hi, try to use instead of company in the report10:19
andreasgrabudono: i don't even use company imho but myabe anywhere in a template?10:20
cedkandreasgrab: you are using "company" that is not defined10:21
cedkandreasgrab: if it is not in your report, it is in the header perhaps10:22
cedkandreasgrab: if you are using the company header, you must use the CompanyReport instead of Report10:23
andreasgrabcedk: thanks i will try10:25
-!- andreasgrab(~andreas@2001:15c0:662b:6:223:18ff:fe99:3e8f) has left #tryton13:33
-!- udono( has left #tryton14:55
hoRna searcher on a function field with cannot handle a between search - but the widget has this option. How to handle this?14:56
cedkhoRn: < >15:14
hoRncedk: ?15:18
cedkhoRn: [('field', <, value1), ('field', >, value2)]15:23
hoRncedk: yes - I know. need to rethink my question....15:25
cedkhoRn: the searched is there to resolve one clause15:26
hoRncedk: yes - so my searcher seems wrong15:27
hoRncedk: my fault - dumb question again :-! - searcher totally wrong15:30
-!- ciupicri(~ciupicri@unaffiliated/ciupicri) has joined #tryton17:09

Generated by 2.11.0 by Marius Gedminas - find it at!