chat.freenode.net #tryton log beginning Wed Oct 12 00:00:01 CEST 2011 | ||
2011-10-12 10:09 <andreasgrab> Good morning. i have problems with my first report. Error: 'ascii' codec can#t decode byte 0x8b in position 83: ordinal not in range(128) | ||
2011-10-12 10:10 <andreasgrab> Also: raise UndefinedError(key, owner=owner) | ||
2011-10-12 10:10 <andreasgrab> UndefinedError: "company" not defined | ||
2011-10-12 10:10 <andreasgrab> any tips? | ||
2011-10-12 10:11 <hoRn> andreasgrab: this happens on rendering the report as oo-document? | ||
2011-10-12 10:12 <andreasgrab> cedk: yes, but i use libre office | ||
2011-10-12 10:13 <cedk> andreasgrab: it looks like you try to put non-utf-8 str | ||
2011-10-12 10:14 <andreasgrab> cedk: don't understand. My systemsettings are german but no "umlaute" anywere | ||
2011-10-12 10:15 <cedk> andreasgrab: need to see the all traceback | ||
2011-10-12 10:15 <andreasgrab> ERROR:common.message:Traceback (most recent call last): | ||
2011-10-12 10:15 <andreasgrab> File "/trytond/protocols/jsonrpc.py", line 100, in _marshaled_dispatch | ||
2011-10-12 10:15 <andreasgrab> response['result'] = dispatch_method(method, params) | ||
2011-10-12 10:15 <andreasgrab> File "/trytond/protocols/jsonrpc.py", line 139, in _dispatch | ||
2011-10-12 10:15 <andreasgrab> res = dispatch(*args) | ||
2011-10-12 10:15 <andreasgrab> File "/trytond/protocols/dispatcher.py", line 154, in dispatch | ||
2011-10-12 10:15 <andreasgrab> res = getattr(obj, method)(*args, **kargs) | ||
2011-10-12 10:15 <cedk> andreasgrab: no copy paste ! | ||
2011-10-12 10:15 <andreasgrab> File "/trytond/report/report.py", line 134, in execute | ||
2011-10-12 10:15 <andreasgrab> type, data = self.parse(action_report, objects, datas, {}) | ||
2011-10-12 10:15 <andreasgrab> File "/trytond/report/report.py", line 258, in parse | ||
2011-10-12 10:15 <andreasgrab> data = rel_report(**localcontext).render() | ||
2011-10-12 10:15 <andreasgrab> File "/relatorio/templates/base.py", line 36, in render | ||
2011-10-12 10:15 <andreasgrab> return self.serializer(self.events) | ||
2011-10-12 10:15 <andreasgrab> File "/relatorio/templates/opendocument.py", line 753, in __call__ | ||
2011-10-12 10:15 <andreasgrab> for kind, data, pos in stream: | ||
2011-10-12 10:15 <andreasgrab> File "/genshi/core.py", line 288, in _ensure | ||
2011-10-12 10:15 <cedk> andreasgrab: I can not read it ! | ||
2011-10-12 10:15 <andreasgrab> for event in stream: | ||
2011-10-12 10:15 <andreasgrab> File "/genshi/filters/i18n.py", line 683, in __call__ | ||
2011-10-12 10:16 <andreasgrab> for kind, data, pos in stream: | ||
2011-10-12 10:16 <andreasgrab> File "/genshi/template/base.py", line 605, in _include | ||
2011-10-12 10:16 <andreasgrab> for event in stream: | ||
2011-10-12 10:16 <andreasgrab> File "/genshi/template/markup.py", line 327, in _match | ||
2011-10-12 10:16 <andreasgrab> for event in stream: | ||
2011-10-12 10:16 <andreasgrab> File "/genshi/template/base.py", line 585, in _flatten | ||
2011-10-12 10:16 <andreasgrab> stream = _apply_directives(data[1], data[0], ctxt, vars) | ||
2011-10-12 10:16 <andreasgrab> File "/genshi/template/base.py", line 262, in _apply_directives | ||
2011-10-12 10:16 <andreasgrab> stream = directives[0](iter(stream), directives[1:], ctxt, **vars) | ||
2011-10-12 10:16 <andreasgrab> File "/genshi/template/directives.py", line 400, in __call__ | ||
2011-10-12 10:16 <andreasgrab> value = _eval_expr(self.expr, ctxt, vars) | ||
2011-10-12 10:16 <andreasgrab> File "/genshi/template/base.py", line 277, in _eval_expr | ||
2011-10-12 10:16 <andreasgrab> retval = expr.evaluate(ctxt) | ||
2011-10-12 10:16 <andreasgrab> File "/genshi/template/eval.py", line 178, in evaluate | ||
2011-10-12 10:16 <andreasgrab> return eval(self.code, _globals, {'__data__': data}) | ||
2011-10-12 10:16 <andreasgrab> File "/genshi/template/eval.py", line 309, in lookup_name | ||
2011-10-12 10:16 <andreasgrab> val = cls.undefined(name) | ||
2011-10-12 10:16 <andreasgrab> File "/genshi/template/eval.py", line 410, in undefined | ||
2011-10-12 10:16 <andreasgrab> raise UndefinedError(key, owner=owner) | ||
2011-10-12 10:16 <andreasgrab> UndefinedError: "company" not defined | ||
2011-10-12 10:17 <andreasgrab> cedk: sorry, how to do? line by line? | ||
2011-10-12 10:18 <cedk> andreasgrab: use a bin paster | ||
2011-10-12 10:18 <hoRn> andreasgrab: http://pastie.org/pastes/new | ||
2011-10-12 10:19 <andreasgrab> hoRn: thanks! | ||
2011-10-12 10:19 <udono> andreasgrab: hi, try to use user.company.name instead of company in the report | ||
2011-10-12 10:20 <andreasgrab> udono: i don't even use company imho but myabe anywhere in a template? | ||
2011-10-12 10:20 <andreasgrab> cedk: | ||
2011-10-12 10:20 <andreasgrab> cedk: http://pastie.org/2681660 | ||
2011-10-12 10:21 <cedk> andreasgrab: you are using "company" that is not defined | ||
2011-10-12 10:22 <cedk> andreasgrab: if it is not in your report, it is in the header perhaps | ||
2011-10-12 10:23 <cedk> andreasgrab: if you are using the company header, you must use the CompanyReport instead of Report | ||
2011-10-12 10:25 <andreasgrab> cedk: thanks i will try | ||
2011-10-12 13:33 -!- andreasgrab(~andreas@2001:15c0:662b:6:223:18ff:fe99:3e8f) has left #tryton | ||
2011-10-12 14:49 <hoRn> hi | ||
2011-10-12 14:55 -!- udono(~udono@ip-178-203-192-139.unitymediagroup.de) has left #tryton | ||
2011-10-12 14:56 <hoRn> a searcher on a function field with field.date cannot handle a between search - but the widget has this option. How to handle this? | ||
2011-10-12 15:14 <cedk> hoRn: < > | ||
2011-10-12 15:18 <hoRn> cedk: ? | ||
2011-10-12 15:23 <cedk> hoRn: [('field', <, value1), ('field', >, value2)] | ||
2011-10-12 15:25 <hoRn> cedk: yes - I know. need to rethink my question.... | ||
2011-10-12 15:26 <cedk> hoRn: the searched is there to resolve one clause | ||
2011-10-12 15:27 <hoRn> cedk: yes - so my searcher seems wrong | ||
2011-10-12 15:30 <hoRn> cedk: my fault - dumb question again :-! - searcher totally wrong | ||
2011-10-12 17:09 -!- ciupicri(~ciupicri@unaffiliated/ciupicri) has joined #tryton |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!