Advertisement
Guest User

Untitled

a guest
Mar 13th, 2018
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.83 KB | None | 0 0
  1. Traceback (most recent call last):
  2. File "/trytond/wsgi.py", line 71, in dispatch_request
  3. return endpoint(request, **request.view_args)
  4. File "/trytond/protocols/dispatcher.py", line 41, in rpc
  5. request, database_name, *request.rpc_params)
  6. File "/trytond/wsgi.py", line 42, in auth_required
  7. return wrapped(*args, **kwargs)
  8. File "/trytond/protocols/wrappers.py", line 122, in wrapper
  9. return func(request, pool, *args, **kwargs)
  10. File "/trytond/protocols/dispatcher.py", line 167, in _dispatch
  11. result = rpc.result(meth(*c_args, **c_kwargs))
  12. File "/trytond/report/report.py", line 175, in execute
  13. oext, content = cls._execute(records, data, action_report)
  14. File "/trytond/report/report.py", line 183, in _execute
  15. return cls.convert(action, cls.render(action, report_context))
  16. File "/trytond/report/report.py", line 277, in render
  17. data = rel_report(**report_context).render()
  18. File "/relatorio/templates/base.py", line 34, in render
  19. return self.serializer(self.events)
  20. File "/relatorio/templates/opendocument.py", line 984, in __call__
  21. for kind, data, pos in stream:
  22. File "/site-packages/Genshi-0.7-py2.7-linux-x86_64.egg/genshi/core.py", line 289, in _ensure
  23. for event in stream:
  24. File "/site-packages/Genshi-0.7-py2.7-linux-x86_64.egg/genshi/filters/i18n.py", line 690, in __call__
  25. for kind, data, pos in stream:
  26. File "/site-packages/Genshi-0.7-py2.7-linux-x86_64.egg/genshi/template/base.py", line 618, in _include
  27. for event in stream:
  28. File "/site-packages/Genshi-0.7-py2.7-linux-x86_64.egg/genshi/template/markup.py", line 326, in _match
  29. for event in stream:
  30. File "/site-packages/Genshi-0.7-py2.7-linux-x86_64.egg/genshi/template/base.py", line 558, in _flatten
  31. for kind, data, pos in stream:
  32. File "/site-packages/Genshi-0.7-py2.7-linux-x86_64.egg/genshi/template/directives.py", line 169, in _generate
  33. attrs = _eval_expr(self.expr, ctxt, vars)
  34. File "/site-packages/Genshi-0.7-py2.7-linux-x86_64.egg/genshi/template/base.py", line 289, in _eval_expr
  35. retval = expr.evaluate(ctxt)
  36. File "/site-packages/Genshi-0.7-py2.7-linux-x86_64.egg/genshi/template/eval.py", line 177, in evaluate
  37. return eval(self.code, _globals, {'__data__': data})
  38. File "<string>", line 341, in <Expression u'__relatorio_guess_type(__relatorio_store_cache(140396456419200, format_currency(depreciation.value_increase, user.language, currency=company.currency)))'>
  39. File "/site-packages/Genshi-0.7-py2.7-linux-x86_64.egg/genshi/template/eval.py", line 317, in lookup_attr
  40. val = getattr(obj, key)
  41. File "/cached_property.py", line 26, in __get__
  42. value = obj.__dict__[self.func.__name__] = self.func(obj)
  43. File "/trytond/modules/account_asset/asset.py", line 931, in value_increase
  44. value += self.asset_lines[0].acquired_value
  45. IndexError: tuple index out of range
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement