Skip to Content
Menu
This question has been flagged
1744 Views

Hi all,

every 2nd time I try to generate a pdf the following error message appears in the server log:

Odoo 11.0-20180715 (Community Edition)

2019-02-16 17:15:24,641 57 ERROR bsb_odoo werkzeug: Error on request:
Traceback (most recent call last):
  File "/opt/bitnami/odoo/venv/lib/python3.6/site-packages/werkzeug/serving.py", line 205, in run_wsgi
    execute(self.server.app)
  File "/opt/bitnami/odoo/venv/lib/python3.6/site-packages/werkzeug/serving.py", line 193, in execute
    application_iter = app(environ, start_response)
  File "/opt/bitnami/odoo/odoo/service/server.py", line 250, in app
    return self.app(e, s)
  File "/opt/bitnami/odoo/odoo/service/wsgi_server.py", line 166, in application
    return application_unproxied(environ, start_response)
  File "/opt/bitnami/odoo/odoo/service/wsgi_server.py", line 154, in application_unproxied
    result = handler(environ, start_response)
  File "/opt/bitnami/odoo/odoo/http.py", line 1318, in __call__
    return self.dispatch(environ, start_response)
  File "/opt/bitnami/odoo/odoo/http.py", line 1292, in __call__
    return self.app(environ, start_wrapped)
  File "/opt/bitnami/odoo/venv/lib/python3.6/site-packages/werkzeug/wsgi.py", line 599, in __call__
    return self.app(environ, start_response)
  File "/opt/bitnami/odoo/odoo/http.py", line 1490, in dispatch
    result = ir_http._dispatch()
  File "/opt/bitnami/odoo/odoo/addons/auth_signup/models/ir_http.py", line 19, in _dispatch
    return super(Http, cls)._dispatch()
  File "/opt/bitnami/odoo/odoo/addons/web_editor/models/ir_http.py", line 22, in _dispatch
    return super(IrHttp, cls)._dispatch()
  File "/opt/bitnami/odoo/odoo/addons/http_routing/models/ir_http.py", line 393, in _dispatch
    result = super(IrHttp, cls)._dispatch()
  File "/opt/bitnami/odoo/odoo/addons/utm/models/ir_http.py", line 26, in _dispatch
    response = super(IrHttp, cls)._dispatch()
  File "/opt/bitnami/odoo/odoo/addons/base/ir/ir_http.py", line 212, in _dispatch
    return cls._handle_exception(e)
  File "/opt/bitnami/odoo/odoo/addons/utm/models/ir_http.py", line 31, in _handle_exception
    response = super(IrHttp, cls)._handle_exception(exc)
  File "/opt/bitnami/odoo/odoo/addons/base/ir/ir_http.py", line 182, in _handle_exception
    return request._handle_exception(exception)
  File "/opt/bitnami/odoo/odoo/http.py", line 770, in _handle_exception
    return super(HttpRequest, self)._handle_exception(exception)
  File "/opt/bitnami/odoo/odoo/http.py", line 310, in _handle_exception
    raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
  File "/opt/bitnami/odoo/odoo/tools/pycompat.py", line 87, in reraise
    raise value
  File "/opt/bitnami/odoo/odoo/addons/base/ir/ir_http.py", line 208, in _dispatch
    result = request.dispatch()
  File "/opt/bitnami/odoo/odoo/http.py", line 829, in dispatch
    r = self._call_function(**self.params)
  File "/opt/bitnami/odoo/odoo/http.py", line 342, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/opt/bitnami/odoo/odoo/service/model.py", line 97, in wrapper
    return f(dbname, *args, **kwargs)
  File "/opt/bitnami/odoo/odoo/http.py", line 335, in checked_call
    result = self.endpoint(*a, **kw)
  File "/opt/bitnami/odoo/odoo/http.py", line 936, in __call__
    return self.method(*args, **kw)
  File "/opt/bitnami/odoo/odoo/http.py", line 515, in response_wrap
    response = f(*args, **kw)
TypeError: report_download() missing 2 required positional arguments: 'data' and 'token'

Any Ideas whats happening here or how to solve that?

Thx
Stephan

Avatar
Discard