Skip to Content
Menu
This question has been flagged
2 Replies
3710 Views
OpenERP Server Error

Client Traceback (most recent call last):
  File "/opt/openerp/.server/openerp/addons/web/http.py", line 204, in dispatch
    response["result"] = method(self, **self.params)
  File "/opt/openerp/.server/openerp/addons/web/controllers/main.py", line 866, in authenticate
    req.session.authenticate(db, login, password, env)
  File "/opt/openerp/.server/openerp/addons/web/session.py", line 115, in authenticate
    uid = self.proxy('common').authenticate(db, login, password, env)
  File "/opt/openerp/.server/openerp/addons/web/session.py", line 30, in proxy_method
    result = self.session.send(self.service_name, method, *args)
  File "/opt/openerp/.server/openerp/addons/web/session.py", line 103, in send
    raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)


Server Traceback (most recent call last):
  File "/opt/openerp/.server/openerp/addons/web/session.py", line 89, in send
    return openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/opt/openerp/.server/openerp/netsvc.py", line 306, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/opt/openerp/.server/openerp/service/web_services.py", line 439, in dispatch
    return fn(*params)
  File "/opt/openerp/.server/openerp/service/web_services.py", line 450, in exp_authenticate
    res_users = pooler.get_pool(db).get('res.users')
  File "/opt/openerp/.server/openerp/pooler.py", line 49, in get_pool
    return get_db_and_pool(db_name, force_demo, status, update_module)[1]
  File "/opt/openerp/.server/openerp/pooler.py", line 33, in get_db_and_pool
    registry = RegistryManager.get(db_name, force_demo, status, update_module)
  File "/opt/openerp/.server/openerp/modules/registry.py", line 203, in get
    update_module)
  File "/opt/openerp/.server/openerp/modules/registry.py", line 233, in new
    openerp.modules.load_modules(registry.db, force_demo, status, update_module)
  File "/opt/openerp/.server/openerp/modules/loading.py", line 351, in load_modules
    force, status, report, loaded_modules, update_module)
  File "/opt/openerp/.server/openerp/modules/loading.py", line 256, in load_marked_modules
    loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
  File "/opt/openerp/.server/openerp/modules/loading.py", line 188, in load_module_graph
    load_data(module_name, idref, mode)
  File "/opt/openerp/.server/openerp/modules/loading.py", line 76, in <lambda>
    load_data = lambda *args: _load_data(cr, *args, kind='data')
  File "/opt/openerp/.server/openerp/modules/loading.py", line 118, in _load_data
    tools.convert_csv_import(cr, module_name, pathname, fp.read(), idref, mode, noupdate)
  File "/opt/openerp/.server/openerp/tools/convert.py", line 934, 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 account failed: file account/security/ir.model.access.csv could not be processed:
 Line 48 : No matching record found for external id 'base.model_res_currency' in field 'Object'
Avatar
Discard
Best Answer

To be able to log in , delete the related module from the addons folder (you can restore it later).

Avatar
Discard
Author

Thanks for the speedy help. in the addon folder there is account module. in that module, modified the openerp.py file, i disabled the line referring the ir.model.access.csv in dependency.

#'security/ir.model.access.csv',

it solved the issue.

now, i can log in to the module.

Thank you very much

Best Answer

It looks like your module is trying to load data from a .csv file, where in line 48 a currency is referenced by an external ID which is not available in the database.

Avatar
Discard
Author

Thanks for your kind reply. i disabled the csv file in account module, openerp.py file like this,

#'security/ir.model.access.csv',

it solved the issue.

thank you very much

Related Posts Replies Views Activity
2
May 22
31143
0
Mar 19
2685
0
Jan 19
3632
4
Feb 24
10710
0
Jan 18
2776