Skip to Content
Menu
This question has been flagged
6 Replies
6214 Views

when  try install any module  return this error ?

i'm used Version: 11.0.20171118-2 on Ubuntu 14.04

 Traceback (most recent call last): File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20171118-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.post20171118-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.post20171118-py3.6.egg/odoo/tools/pycompat.py", line 87, in reraise raise value File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20171118-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.post20171118-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.post20171118-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.post20171118-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.post20171118-py3.6.egg/odoo/http.py", line 927, in

_call_

return self.method(*args, **kw) File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20171118-py3.6.egg/odoo/http.py", line 512, in response_wrap response = f(*args, **kw) File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20171118-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.post20171118-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.post20171118-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.post20171118-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.post20171118-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.post20171118-py3.6.egg/odoo/addons/base/module/module.py", line 438, in button_immediate_install return self._button_immediate_function(type(self).button_install) File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20171118-py3.6.egg/odoo/addons/base/module/module.py", line 531, in _button_immediate_function modules.registry.Registry.new(self._cr.dbname, update_module=True) File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20171118-py3.6.egg/odoo/modules/registry.py", line 84, in new odoo.modules.load_modules(registry._db, force_demo, status, update_module) File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20171118-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.post20171118-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.post20171118-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.post20171118-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.post20171118-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.post20171118-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)

Avatar
Discard
Best Answer

Make sure to restart odoo-server after installing pysftp 

No matching record found for external id 'model_db_backup' in field 
here is github issue for more info about the problem.
Avatar
Discard
Best Answer

Hi Momen,

I'm the creator of the auto_backups module. I can see that you're using bitnami which isn't used by a lot of people. Can you please create a new bug report on my Github issue tracker in which you add more information? You can do this at https://github.com/Yenthe666/auto_backup/issues

It looks like your bitnami is having issues with accessing and/or using the security file. Alternatively you could comment out this file in the manifest.py file in order to see if the module then installs. The auto backup features are always available for the super admin anyways so this might be a workaround (for now).


Regards,
Yenthe

Avatar
Discard
Best Answer

Please do not only copy/paste your traceback, but read it before asking a question. Obviously the module auto_backup is corrupt, fix this before you try to install further modules.

Avatar
Discard
Author Best Answer

This problem appears when I try install any module

Avatar
Discard

Go to the apps and search the module, auto_backup , some times this module may be in cancel install state, if so just click the cancel install button.

As I said, you can't install further modules, if one is broken, no matter which one.