Odoo Help


Error once database restored

on 11/4/13, 5:51 AM 2,947 views

Good day

I am having a problem when restoring a database on a different server. At first the error told that the database base version was wrong. I then updated the database on the old server, backed it up again and restored it to the new server which are now the same version. This is the error i am now receiving...

OpenERP Server Error

Client Traceback (most recent call last): File "/opt/openerp/openerp7/openerp/addons/web/http.py", line 204, in dispatch response["result"] = method(self, **self.params) File "/opt/openerp/openerp7/openerp/addons/web/controllers/main.py", line 867, in authenticate req.session.authenticate(db, login, password, env) File "/opt/openerp/openerp7/openerp/addons/web/session.py", line 115, in authenticate uid = self.proxy('common').authenticate(db, login, password, env) File "/opt/openerp/openerp7/openerp/addons/web/session.py", line 30, in proxy_method result = self.session.send(self.service_name, method, *args) File "/opt/openerp/openerp7/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/openerp7/openerp/addons/web/session.py", line 89, in send return openerp.netsvc.dispatch_rpc(service_name, method, args) File "/opt/openerp/openerp7/openerp/netsvc.py", line 292, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "/opt/openerp/openerp7/openerp/service/web_services.py", line 433, in dispatch return fn(*params) File "/opt/openerp/openerp7/openerp/service/web_services.py", line 444, in exp_authenticate res_users = pooler.get_pool(db).get('res.users') File "/opt/openerp/openerp7/openerp/pooler.py", line 49, in get_pool return get_db_and_pool(db_name, force_demo, status, update_module)[1] File "/opt/openerp/openerp7/openerp/pooler.py", line 33, in get_db_and_pool registry = RegistryManager.get(db_name, force_demo, status, update_module) File "/opt/openerp/openerp7/openerp/modules/registry.py", line 192, in get update_module) File "/opt/openerp/openerp7/openerp/modules/registry.py", line 218, in new openerp.modules.load_modules(registry.db, force_demo, status, update_module) File "/opt/openerp/openerp7/openerp/modules/loading.py", line 350, in load_modules force, status, report, loaded_modules, update_module) File "/opt/openerp/openerp7/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/openerp7/openerp/modules/loading.py", line 159, in load_module_graph load_openerp_module(package.name) File "/opt/openerp/openerp7/openerp/modules/module.py", line 405, in load_openerp_module __import__('openerp.addons.' + module_name) File "/opt/openerp/openerp7/openerp/modules/module.py", line 133, in load_module mod = imp.load_module('openerp.addons.' + module_part, f, path, descr) File "/opt/openerp/openerp7/openerp/addons/mrp_operations/__init__.py", line 23, in <module> import report File "/opt/openerp/openerp7/openerp/addons/mrp_operations/report/__init__.py", line 22, in <module> import mrp_wc_barcode File "/opt/openerp/openerp7/openerp/addons/mrp_operations/report/mrp_wc_barcode.py", line 32, in <module> report_sxw.report_sxw('report.mrp.wc.barcode', 'mrp.workcenter', 'addons/mrp_operations/report/mrp_wc_barcode.rml',parser=workcenter_code,header=False) File "/opt/openerp/openerp7/openerp/report/report_sxw.py", line 392, in __init__ report_rml.__init__(self, name, table, rml, '') File "/opt/openerp/openerp7/openerp/report/interface.py", line 65, in __init__ super(report_rml, self).__init__(name) File "/opt/openerp/openerp7/openerp/report/interface.py", line 45, in __init__ assert not self.exists(name), 'The report "%s" already exists!' % name AssertionError: The report "report.mrp.wc.barcode" already exists!


Serpent Consulting Services Pvt. Ltd.

--Serpent Consulting Services Pvt. Ltd.--
Serpent Consulting Services Pvt. Ltd.
| 6 6 8
Gandhinagar, India
--Serpent Consulting Services Pvt. Ltd.--

Serpent Consulting Services Pvt. Ltd. Your Odoo/OpenERP Solution, just an email away!

Serpent Consulting Services Pvt. Ltd.
On 1/1/14, 11:16 AM


This is purely because your addons contain 2 py files containing the report service code twice.

Search 'report.mrp.wc.barcode' inside your addons-path, you may get the root.


About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 11/4/13, 5:51 AM
Seen: 2947 times
Last updated: 3/16/15, 8:10 AM