Odoo Help


Replace the addons folder

on 7/10/14, 11:56 AM 1,796 views


I would like to know if it's possible to replace the addons folder by another one recovered from another machine. Because, when I do that, I get the following errors:

pydev debugger: starting
2014-07-10 12:36:47,354 2403352 INFO ? openerp: OpenERP version 7.0-20131220-002431
2014-07-10 12:36:47,355 2403352 INFO ? openerp: addons paths: C:\Users\Admin\workspace\openerp-7.0\openerp\addons
2014-07-10 12:36:47,355 2403352 INFO ? openerp: database hostname: localhost
2014-07-10 12:36:47,355 2403352 INFO ? openerp: database port: 5432
2014-07-10 12:36:47,355 2403352 INFO ? openerp: database user: openpg
2014-07-10 12:36:47,676 2403352 CRITICAL ? openerp.modules.module: Couldn't load module web
2014-07-10 12:36:47,677 2403352 CRITICAL ? openerp.modules.module: The report "report.account.analytic.journal" already exists!
2014-07-10 12:36:47,677 2403352 ERROR ? openerp.service: Failed to load server-wide module `web`.
The `web` module is provided by the addons found in the `openerp-web` project.
Maybe you forgot to add those addons in your addons_path configuration.
Traceback (most recent call last):
  File "C:\Users\Admin\workspace\openerp-7.0\openerp\service\__init__.py", line 60, in load_server_wide_modules
  File "C:\Users\Admin\workspace\openerp-7.0\openerp\modules\module.py", line 415, in load_openerp_module
    getattr(sys.modules['openerp.addons.' + module_name], info['post_load'])()
  File "C:\Users\Admin\workspace\openerp-7.0\openerp\addons\web\http.py", line 628, in wsgi_postload
  File "C:\Users\Admin\workspace\openerp-7.0\openerp\addons\web\http.py", line 517, in __init__
  File "C:\Users\Admin\workspace\openerp-7.0\openerp\addons\web\http.py", line 580, in load_addons
    m = __import__('openerp.addons.' + module)
  File "C:\Users\Admin\workspace\openerp-7.0\openerp\modules\module.py", line 133, in load_module
    mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
  File "C:\Users\Admin\workspace\openerp-7.0\openerp\addons\account\__init__.py", line 25, in <module>
    import project
  File "C:\Users\Admin\workspace\openerp-7.0\openerp\addons\account\project\__init__.py", line 23, in <module>
    import report
  File "C:\Users\Admin\workspace\openerp-7.0\openerp\addons\account\project\report\__init__.py", line 22, in <module>
    import analytic_journal
  File "C:\Users\Admin\workspace\openerp-7.0\openerp\addons\account\project\report\analytic_journal.py", line 61, in <module>
    report_sxw.report_sxw('report.account.analytic.journal', 'account.analytic.journal', 'addons/account/project/report/analytic_journal.rml',parser=account_analytic_journal,header="internal")
  File "C:\Users\Admin\workspace\openerp-7.0\openerp\report\report_sxw.py", line 392, in __init__
    report_rml.__init__(self, name, table, rml, '')
  File "C:\Users\Admin\workspace\openerp-7.0\openerp\report\interface.py", line 65, in __init__
    super(report_rml, self).__init__(name)
  File "C:\Users\Admin\workspace\openerp-7.0\openerp\report\interface.py", line 45, in __init__
    assert not self.exists(name), 'The report "%s" already exists!' % name
AssertionError: The report "report.account.analytic.journal" already exists!
2014-07-10 12:36:47,690 2403352 INFO ? openerp.service.wsgi_server: HTTP service (werkzeug) running on
2014-07-10 12:36:47,697 2403352 INFO ? openerp: OpenERP server is running, waiting for connections...

Thank you,


Ludo - 21South

--Ludo - 21South--
| 2 2 5
Zwijndrecht, Netherlands
--Ludo - 21South--


Ludo - 21South
On 7/11/14, 10:32 AM

This error shows that your OpenERP is trying to add a report which already exists, namely "report.account.analytic.journal". 

You could try to uncomment that report and retry. An alternative is to remove the report from the database so it can be "regenerated".

On 7/10/14, 1:03 PM


"2014-07-10 12:36:47,355 2403352 INFO ? openerp: addons paths: C:\Users\Admin\workspace\openerp-7.0\openerp\addons":

Addons directory where the web module seems to miss , you must add in your config file:

addons_paths: C:\Users\Admin\workspace\openerp-7.0\openerp\addons, C:\Users\Admin\workspace\openerp-7.0\addons

On 7/11/14, 6:50 AM

Thank yout but i still have the same error.

Here is the content of the openerp-server.conf file:

; This is the password that allows database operations:
; admin_passwd = admin
db_host = False
db_port = False
db_user = openpg
db_password = openpgpwd
addons_paths: C:\Users\Admin\workspace\openerp-7.0\openerp\addons, C:\Users\Admin\workspace\openerp-7.0\addons
pg_path = C:\Program Files (x86)\OpenERP 7.0-20131016-232725\PostgreSQL\bin

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

1 follower(s)


Asked: 7/10/14, 11:56 AM
Seen: 1796 times
Last updated: 3/16/15, 8:10 AM