Błąd podczas importu kopii zapasowej

Potrzebujesz pomocy z C, C++, perl, python, itp.
mimoto
Posty: 40
Rejestracja: 14 września 2016, 18:45

Błąd podczas importu kopii zapasowej

Post autor: mimoto » 24 sierpnia 2020, 20:56

Witam.
Podczas importu bazy danych mam błąd braku zainstalowanych dwóch modułów.
Aplikacja odoo. Mam wykonaną instalację w katalogu opt.

Kod: Zaznacz cały

2020-08-24 18:50:18,014 9463 INFO test werkzeug: 188.146.37.183 - - [24/Aug/2020 18:50:18] "GET /web?db=test HTTP/1.1" 500 - 19 0.028 0.220
2020-08-24 18:50:18,037 9463 ERROR test werkzeug: Error on request:
Traceback (most recent call last):
  File "/opt/odoo/odoo-venv/lib/python3.7/site-packages/werkzeug/serving.py", line 270, in run_wsgi
    execute(self.server.app)
  File "/opt/odoo/odoo-venv/lib/python3.7/site-packages/werkzeug/serving.py", line 258, in execute
    application_iter = app(environ, start_response)
  File "/opt/odoo/odoo13/odoo/service/server.py", line 439, in app
    return self.app(e, s)
  File "/opt/odoo/odoo13/odoo/service/wsgi_server.py", line 142, in application
    return application_unproxied(environ, start_response)
  File "/opt/odoo/odoo13/odoo/service/wsgi_server.py", line 117, in application_unproxied
    result = odoo.http.root(environ, start_response)
  File "/opt/odoo/odoo13/odoo/http.py", line 1287, in __call__
    return self.dispatch(environ, start_response)
  File "/opt/odoo/odoo13/odoo/http.py", line 1257, in __call__
    return self.app(environ, start_wrapped)
  File "/opt/odoo/odoo-venv/lib/python3.7/site-packages/werkzeug/wsgi.py", line 766, in __call__
    return self.app(environ, start_response)
  File "/opt/odoo/odoo13/odoo/http.py", line 1457, in dispatch
    result = ir_http._dispatch()
  File "/opt/odoo/odoo13/addons/auth_signup/models/ir_http.py", line 19, in _dispatch
    return super(Http, cls)._dispatch()
  File "/opt/odoo/odoo13/addons/web_editor/models/ir_http.py", line 21, in _dispatch
    return super(IrHttp, cls)._dispatch()
  File "/opt/odoo/odoo13/addons/utm/models/ir_http.py", line 29, in _dispatch
    response = super(IrHttp, cls)._dispatch()
  File "/opt/odoo/odoo13/addons/http_routing/models/ir_http.py", line 519, in _dispatch
    result = super(IrHttp, cls)._dispatch()
  File "/opt/odoo/odoo13/odoo/addons/base/models/ir_http.py", line 238, in _dispatch
    return cls._handle_exception(e)
  File "/opt/odoo/odoo13/addons/utm/models/ir_http.py", line 34, in _handle_exception
    response = super(IrHttp, cls)._handle_exception(exc)
  File "/opt/odoo/odoo13/addons/http_routing/models/ir_http.py", line 610, in _handle_exception
    return super(IrHttp, cls)._handle_exception(exception)
  File "/opt/odoo/odoo13/odoo/addons/base/models/ir_http.py", line 206, in _handle_exception
    return request._handle_exception(exception)
  File "/opt/odoo/odoo13/odoo/http.py", line 750, in _handle_exception
    return super(HttpRequest, self)._handle_exception(exception)
  File "/opt/odoo/odoo13/odoo/http.py", line 310, in _handle_exception
    raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
  File "/opt/odoo/odoo13/odoo/tools/pycompat.py", line 14, in reraise
    raise value
  File "/opt/odoo/odoo13/odoo/addons/base/models/ir_http.py", line 234, in _dispatch
    result = request.dispatch()
  File "/opt/odoo/odoo13/odoo/http.py", line 809, in dispatch
    r = self._call_function(**self.params)
  File "/opt/odoo/odoo13/odoo/http.py", line 350, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/opt/odoo/odoo13/odoo/service/model.py", line 94, in wrapper
    return f(dbname, *args, **kwargs)
  File "/opt/odoo/odoo13/odoo/http.py", line 342, in checked_call
    result.flatten()
  File "/opt/odoo/odoo13/odoo/http.py", line 1236, in flatten
    self.response.append(self.render())
  File "/opt/odoo/odoo13/odoo/http.py", line 1229, in render
    return env["ir.ui.view"].render_template(self.template, self.qcontext)
  File "/opt/odoo/odoo13/odoo/addons/base/models/ir_ui_view.py", line 1177, in render_template
    return self.browse(self.get_view_id(template)).render(values, engine)
  File "/opt/odoo/odoo13/addons/web_editor/models/ir_ui_view.py", line 27, in render
    return super(IrUiView, self).render(values=values, engine=engine, minimal_qcontext=minimal_qcontext)
  File "/opt/odoo/odoo13/odoo/addons/base/models/ir_ui_view.py", line 1185, in render
    return self.env[engine].render(self.id, qcontext)
  File "/opt/odoo/odoo13/odoo/addons/base/models/ir_qweb.py", line 58, in render
    result = super(IrQWeb, self).render(id_or_xml_id, values=values, **context)
  File "/opt/odoo/odoo13/odoo/addons/base/models/qweb.py", line 260, in render
    self.compile(template, options)(self, body.append, values or {})
  File "/opt/odoo/odoo13/odoo/addons/base/models/qweb.py", line 339, in _compiled_fn
    raise QWebException("Error to render compiling AST", e, path, node and etree.tostring(node[0], encoding='unicode'), name)
odoo.addons.base.models.qweb.QWebException: 'res.users' object has no attribute 'chatter_position'
Traceback (most recent call last):
  File "/opt/odoo/odoo13/odoo/addons/base/models/qweb.py", line 332, in _compiled_fn
    return compiled(self, append, new, options, log)
  File "<template>", line 1, in template_web_webclient_bootstrap_139
  File "<template>", line 2, in body_call_content_137
AttributeError: 'res.users' object has no attribute 'chatter_position'

Error to render compiling AST
AttributeError: 'res.users' object has no attribute 'chatter_position'
Template: web.webclient_bootstrap
Path: /t/t/t[3]
Node: <t t-set="body_classname" t-value="'o_web_client' + ' o_chatter_position_' + (request.env.user.chatter_position or 'normal')"/> - - -
2020-08-24 18:50:18,281 9463 INFO test werkzeug: 188.146.37.183 - - [24/Aug/2020 18:50:18] "GET /favicon.ico HTTP/1.1" 404 - 11 0.011 0.022
Z tego co widzę, chodzi o moduł base. Nie wiem jak to naprawić.

Pozdrawiam.

hepa
Posty: 53
Rejestracja: 07 maja 2018, 19:56

Re: Błąd podczas importu kopii zapasowej

Post autor: hepa » 03 września 2020, 16:24

może ja tam się nie znam,
ale szukaj bardziej pod tą nazwą:

Kod: Zaznacz cały

Error to render compiling AST

ODPOWIEDZ