Skip to Content
Menu
This question has been flagged
1823 Views

Hello,


To be honest, I'm quite new to Odoo, so I would appreciate any help from you.

STEPS TO REPRODUCE:
1) Installed VirtualBox with Debian as OS.
2) Installed Postgres & odoov12. (Everything works till this point I can access http://localhost:8069)
3) Connected to psql server:
#createdb -O user db_name
#pg_restore -d db_name /path_to_file/bn_16.dump
After a file it gets stuck and following message appears.

ISSUE: Internal server error 500 after pg_restore.

ODOO_LOG:
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_http.py", line 208, in _dispatch
result = request.dispatch()
File "/usr/lib/python3/dist-packages/odoo/http.py", line 835, in dispatch
r = self._call_function(**self.params)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 346, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 98, in wrapper
return f(dbname, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 342, in checked_call
result.flatten()
File "/usr/lib/python3/dist-packages/odoo/http.py", line 1270, in flatten
self.response.append(self.render())
File "/usr/lib/python3/dist-packages/odoo/http.py", line 1263, in render
return env["ir.ui.view"].render_template(self.template, self.qcontext)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_ui_view.py", line 1338, in render_template
return self.browse(self.get_view_id(template)).render(values, engine)
File "/usr/lib/python3/dist-packages/odoo/addons/website/models/ir_ui_view.py", line 322, in render
return super(View, self).render(values, engine=engine, minimal_qcontext=minimal_qcontext)
File "/usr/lib/python3/dist-packages/odoo/addons/web_editor/models/ir_ui_view.py", line 29, in render
return super(IrUiView, self).render(values=values, engine=engine, minimal_qcontext=minimal_qcontext)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_ui_view.py", line 1347, in render
return self.env[engine].render(self.id, qcontext)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_qweb.py", line 59, in render
result = super(IrQWeb, self).render(id_or_xml_id, values=values, **context)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/qweb.py", line 275, in render
self.compile(template, options)(self, body.append, values or {})
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/qweb.py", line 350, in _compiled_fn
raise e
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/qweb.py", line 348, in _compiled_fn
return compiled(self, append, new, options, log)
File "", line 1, in template_162_5
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/qweb.py", line 350, in _compiled_fn
raise e
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/qweb.py", line 348, in _compiled_fn
return compiled(self, append, new, options, log)
File "", line 1, in template_web_login_layout_10
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/qweb.py", line 355, 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: 'website' object has no attribute 'broadcast_message_ids'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/qweb.py", line 348, in _compiled_fn
return compiled(self, append, new, options, log)
File "", line 1, in template_website_layout_66
File "", line 2, in body_call_content_65
AttributeError: 'website' object has no attribute 'broadcast_message_ids'

Error to render compiling AST
AttributeError: 'website' object has no attribute 'broadcast_message_ids'
Template: website.layout
Path: /templates/t/t/div/header/div
Node:













STEPS I TRIED:
1) Followed this post:
https://www.odoo.com/forum/help-1/error-500-internal-server-error-after-reinstalling-odoo-on-windows-125477

2) After pg_resotre I can find most of the db in the server and all data is there.


Should the psql version of dump match the current psql version?

Thanks in advance.

Avatar
Discard
Related Posts Replies Views Activity
2
Nov 24
263
1
Oct 24
331
4
Oct 24
324
2
Oct 24
361
2
Dec 24
667