question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Installation error on Odoo 11

See original GitHub issue

It’s not possible to get it work on Odoo 11 (11.0-20171218):

Error:
Odoo Server Error

Traceback (most recent call last):
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20171218-py3.6.egg/odoo/http.py", line 646, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20171218-py3.6.egg/odoo/http.py", line 307, in _handle_exception
    raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20171218-py3.6.egg/odoo/tools/pycompat.py", line 87, in reraise
    raise value
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20171218-py3.6.egg/odoo/http.py", line 683, in dispatch
    result = self._call_function(**self.params)
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20171218-py3.6.egg/odoo/http.py", line 339, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20171218-py3.6.egg/odoo/service/model.py", line 97, in wrapper
    return f(dbname, *args, **kwargs)
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20171218-py3.6.egg/odoo/http.py", line 332, in checked_call
    result = self.endpoint(*a, **kw)
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20171218-py3.6.egg/odoo/http.py", line 927, in __call__
    return self.method(*args, **kw)
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20171218-py3.6.egg/odoo/http.py", line 512, in response_wrap
    response = f(*args, **kw)
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20171218-py3.6.egg/odoo/addons/web/controllers/main.py", line 928, in call_button
    action = self._call_kw(model, method, args, {})
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20171218-py3.6.egg/odoo/addons/web/controllers/main.py", line 916, in _call_kw
    return call_kw(request.env[model], method, args, kwargs)
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20171218-py3.6.egg/odoo/api.py", line 689, in call_kw
    return call_kw_multi(method, model, args, kwargs)
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20171218-py3.6.egg/odoo/api.py", line 680, in call_kw_multi
    result = method(recs, *args, **kwargs)
  File "<decorator-gen-42>", line 2, in button_immediate_install
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20171218-py3.6.egg/odoo/addons/base/module/module.py", line 71, in check_and_log
    return method(self, *args, **kwargs)
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20171218-py3.6.egg/odoo/addons/base/module/module.py", line 446, in button_immediate_install
    return self._button_immediate_function(type(self).button_install)
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20171218-py3.6.egg/odoo/addons/base/module/module.py", line 539, in _button_immediate_function
    modules.registry.Registry.new(self._cr.dbname, update_module=True)
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20171218-py3.6.egg/odoo/modules/registry.py", line 85, in new
    odoo.modules.load_modules(registry._db, force_demo, status, update_module)
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20171218-py3.6.egg/odoo/modules/loading.py", line 343, in load_modules
    loaded_modules, update_module)
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20171218-py3.6.egg/odoo/modules/loading.py", line 242, in load_marked_modules
    loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20171218-py3.6.egg/odoo/modules/loading.py", line 156, in load_module_graph
    _load_data(cr, module_name, idref, mode, kind='data')
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20171218-py3.6.egg/odoo/modules/loading.py", line 94, in _load_data
    tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20171218-py3.6.egg/odoo/tools/convert.py", line 782, in convert_file
    convert_csv_import(cr, module, pathname, fp.read(), idref, mode, noupdate)
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20171218-py3.6.egg/odoo/tools/convert.py", line 829, in convert_csv_import
    raise Exception(_('Module loading %s failed: file %s could not be processed:\n %s') % (module, fname, warning_msg))
Exception: Module loading auto_backup failed: file auto_backup/security/ir.model.access.csv could not be processed:
 No matching record found for external id 'model_db_backup' in field 'Object'
Missing required value for the field 'Object' (model_id)
No matching record found for external id 'model_db_backup' in field 'Object'
Missing required value for the field 'Object' (model_id)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
3mrdevcommented, May 8, 2020

@docilweb @rubybinhvn Solution is restarting your odoo-server after installing pysftp see #166

0reactions
rubybinhvncommented, Aug 12, 2018

Lỗi: Odoo Server Error

Traceback (most recent call last): File “/bhtvn/bhtvn-server/odoo/http.py”, line 650, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File “/bhtvn/bhtvn-server/odoo/http.py”, line 310, in _handle_exception raise pycompat.reraise(type(exception), exception, sys.exc_info()[2]) File “/bhtvn/bhtvn-server/odoo/tools/pycompat.py”, line 87, in reraise raise value File “/bhtvn/bhtvn-server/odoo/http.py”, line 692, in dispatch result = self._call_function(**self.params) File “/bhtvn/bhtvn-server/odoo/http.py”, line 342, in _call_function return checked_call(self.db, *args, **kwargs) File “/bhtvn/bhtvn-server/odoo/service/model.py”, line 97, in wrapper return f(dbname, *args, **kwargs) File “/bhtvn/bhtvn-server/odoo/http.py”, line 335, in checked_call result = self.endpoint(*a, **kw) File “/bhtvn/bhtvn-server/odoo/http.py”, line 936, in call return self.method(*args, **kw) File “/bhtvn/bhtvn-server/odoo/http.py”, line 515, in response_wrap response = f(*args, **kw) File “/bhtvn/bhtvn-server/addons/web/controllers/main.py”, line 935, in call_button action = self._call_kw(model, method, args, {}) File “/bhtvn/bhtvn-server/addons/web/controllers/main.py”, line 923, in _call_kw return call_kw(request.env[model], method, args, kwargs) File “/bhtvn/bhtvn-server/odoo/api.py”, line 689, in call_kw return call_kw_multi(method, model, args, kwargs) File “/bhtvn/bhtvn-server/odoo/api.py”, line 680, in call_kw_multi result = method(recs, *args, **kwargs) File “<decorator-gen-40>”, line 2, in button_immediate_install File “/bhtvn/bhtvn-server/odoo/addons/base/module/module.py”, line 71, in check_and_log return method(self, *args, **kwargs) File “/bhtvn/bhtvn-server/odoo/addons/base/module/module.py”, line 448, in button_immediate_install return self._button_immediate_function(type(self).button_install) File “/bhtvn/bhtvn-server/odoo/addons/base/module/module.py”, line 541, in _button_immediate_function modules.registry.Registry.new(self._cr.dbname, update_module=True) File “/bhtvn/bhtvn-server/odoo/modules/registry.py”, line 85, in new odoo.modules.load_modules(registry._db, force_demo, status, update_module) File “/bhtvn/bhtvn-server/odoo/modules/loading.py”, line 371, in load_modules loaded_modules, update_module, models_to_check) File “/bhtvn/bhtvn-server/odoo/modules/loading.py”, line 265, in load_marked_modules perform_checks=perform_checks, models_to_check=models_to_check File “/bhtvn/bhtvn-server/odoo/modules/loading.py”, line 172, in load_module_graph _load_data(cr, module_name, idref, mode, kind=‘data’) File “/bhtvn/bhtvn-server/odoo/modules/loading.py”, line 95, in load_data tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report) File “/bhtvn/bhtvn-server/odoo/tools/convert.py”, line 785, in convert_file convert_csv_import(cr, module, pathname, fp.read(), idref, mode, noupdate) File “/bhtvn/bhtvn-server/odoo/tools/convert.py”, line 832, in convert_csv_import raise Exception((‘Module loading %s failed: file %s could not be processed:\n %s’) % (module, fname, warning_msg)) Exception: Module loading auto_backup failed: file auto_backup/security/ir.model.access.csv could not be processed: No matching record found for external id ‘model_db_backup’ in field ‘Object’ Missing required value for the field ‘Object’ (model_id) No matching record found for external id ‘model_db_backup’ in field ‘Object’ Missing required value for the field ‘Object’ (model_id)

Read more comments on GitHub >

github_iconTop Results From Across the Web

ERROR while installing Odoo 11
Hi, You have to install the decorator package. sudo pip3 install decorator. Thanks. Comment Share.
Read more >
Odoo 11 installation error
Odoo 11 installation error ... Please follow the installation directives in the official Odoo ... The best way is to install Odoo from...
Read more >
Error in Installing the Forum Module in Odoo 11 CE
I have a problem in installing the Forum Module in Odoo 11 CE, an error throw up as stated below, what is the...
Read more >
Installing odoo 11 in ubuntu 18.04 and getting this error
Installing odoo 11 in ubuntu 18.04 and getting this error ... File "/home/synconic/workspace/projects/odoo_11/odoo/modules/__init__.py", line 8, in <module>.
Read more >
odoo 11 error
To fix this you have to install the passlib python package or run the requirement.txt file. To install the package run this command...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found