Odoo Help

Welcome!

This community 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.

1

Error when installing apps

By
Christophe dos Santos
on 5/2/13, 3:49 PM 2,724 views

I'm working with the V7 and I have an OpenERP Server Error when I install some apps like Purchase, Warehouse Management, etc. Can someone help please?

The error is below:


OpenERP Server Error

Client Traceback (most recent call last): File "C:\Program Files (x86)\OpenERP 7.0-20130501-232419\Server\server\openerp\addons\web\http.py", line 204, in dispatch File "C:\Program Files (x86)\OpenERP 7.0-20130501-232419\Server\server\openerp\addons\web\controllers\main.py", line 1133, in call_button File "C:\Program Files (x86)\OpenERP 7.0-20130501-232419\Server\server\openerp\addons\web\controllers\main.py", line 1121, in _call_kw File "C:\Program Files (x86)\OpenERP 7.0-20130501-232419\Server\server\openerp\addons\web\session.py", line 43, in proxy File "C:\Program Files (x86)\OpenERP 7.0-20130501-232419\Server\server\openerp\addons\web\session.py", line 31, in proxy_method File "C:\Program Files (x86)\OpenERP 7.0-20130501-232419\Server\server\openerp\addons\web\session.py", line 104, in send

Server Traceback (most recent call last): File "C:\Program Files (x86)\OpenERP 7.0-20130501-232419\Server\server\openerp\addons\web\session.py", line 90, in send File "C:\Program Files (x86)\OpenERP 7.0-20130501-232419\Server\server.\openerp\netsvc.py", line 293, in dispatch_rpc File "C:\Program Files (x86)\OpenERP 7.0-20130501-232419\Server\server.\openerp\service\web_services.py", line 626, in dispatch File "C:\Program Files (x86)\OpenERP 7.0-20130501-232419\Server\server.\openerp\osv\osv.py", line 188, in execute_kw File "C:\Program Files (x86)\OpenERP 7.0-20130501-232419\Server\server.\openerp\osv\osv.py", line 131, in wrapper File "C:\Program Files (x86)\OpenERP 7.0-20130501-232419\Server\server.\openerp\osv\osv.py", line 197, in execute File "C:\Program Files (x86)\OpenERP 7.0-20130501-232419\Server\server.\openerp\osv\osv.py", line 185, in execute_cr File "C:\Program Files (x86)\OpenERP 7.0-20130501-232419\Server\server\openerp\addons\base\module\module.py", line 424, in button_immediate_install File "C:\Program Files (x86)\OpenERP 7.0-20130501-232419\Server\server\openerp\addons\base\module\module.py", line 475, in _button_immediate_function File "C:\Program Files (x86)\OpenERP 7.0-20130501-232419\Server\server.\openerp\pooler.py", line 39, in restart_pool File "C:\Program Files (x86)\OpenERP 7.0-20130501-232419\Server\server.\openerp\modules\registry.py", line 218, in new File "C:\Program Files (x86)\OpenERP 7.0-20130501-232419\Server\server.\openerp\modules\loading.py", line 348, in load_modules File "C:\Program Files (x86)\OpenERP 7.0-20130501-232419\Server\server.\openerp\modules\loading.py", line 259, in load_marked_modules File "C:\Program Files (x86)\OpenERP 7.0-20130501-232419\Server\server.\openerp\modules\loading.py", line 162, in load_module_graph File "C:\Program Files (x86)\OpenERP 7.0-20130501-232419\Server\server.\openerp\modules\module.py", line 405, in load_openerp_module File "C:\Program Files (x86)\OpenERP 7.0-20130501-232419\Server\server.\openerp\modules\module.py", line 133, in load_module File "C:\Program Files (x86)\OpenERP 7.0-20130501-232419\Server\server\openerp\addons\stock__init__.py", line 25, in <module> File "C:\Program Files (x86)\OpenERP 7.0-20130501-232419\Server\server\openerp\addons\stock\report__init__.py", line 23, in <module> File "C:\Program Files (x86)\OpenERP 7.0-20130501-232419\Server\server\openerp\addons\stock\report\picking.py", line 40, in <module> File "C:\Program Files (x86)\OpenERP 7.0-20130501-232419\Server\server.\openerp\report\report_sxw.py", line 392, in __init__ File "C:\Program Files (x86)\OpenERP 7.0-20130501-232419\Server\server.\openerp\report\interface.py", line 65, in __init__ File "C:\Program Files (x86)\OpenERP 7.0-20130501-232419\Server\server.\openerp\report\interface.py", line 45, in __init__

AssertionError: The report "report.stock.picking.list" already exists!

Thanks in advance.

is this installation from scratch, an upgrade or trying to install a new module (own developed or from downloaded internet)? The answers to this question might be useful.

patrick
on 5/2/13, 8:07 PM
1

patrick

--patrick--
1958
| 5 4 7
Baarn, Netherlands
--patrick--
patrick
On 5/2/13, 8:06 PM

The message is about a report already existing, while trying to install the original.

This might be caused by the installation of a non-default module (created by you or downloaded from internet), which installes the same report (report.stock.picking.list).

Another cause is a previous installation which didn't succeed completely, but somehow did install the report.

I tried to develop a new module without success because I encounter lot of bugs, I uninstall the OpenERP Server and I install it again and know I have this error. I will try to uninstall it more clearly.

Else IT, Christophe dos Santos
on 5/3/13, 8:13 AM

Thank you! That's the right answer.

Else IT, Christophe dos Santos
on 5/3/13, 10:53 AM
0
David Marclay
On 10/10/13, 4:28 PM

I can actually experience the same exception on a fresh install of V7.0 with standard apps. Here is a way to reproduce:

  1. create a new database
  2. install the Sales Management app
  3. install the CRM app
  4. enable Manage multiple companies in General Settings and click Save

Complete traceback is as follows:

2013-10-10 18:15:48,170 17342 ERROR db openerp.netsvc: The report "report.stock.picking.list" already exists!
Traceback (most recent call last):
  File "/home/openerp/server/openerp/netsvc.py", line 292, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/home/openerp/server/openerp/service/web_services.py", line 626, in dispatch
    res = fn(db, uid, *params)
  File "/home/openerp/server/openerp/osv/osv.py", line 188, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/home/openerp/server/openerp/osv/osv.py", line 131, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/openerp/server/openerp/osv/osv.py", line 197, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/openerp/server/openerp/osv/osv.py", line 185, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/openerp/server/openerp/addons/base/res/res_config.py", line 573, in execute
    action = self._install_modules(cr, uid, to_install, context=context)
  File "/home/openerp/server/openerp/addons/base/res/res_config.py", line 51, in _install_modules
    result = ir_module.button_immediate_install(cr, uid, to_install_ids, context=context)
  File "/home/openerp/server/openerp/addons/base/module/module.py", line 424, in button_immediate_install
    return self._button_immediate_function(cr, uid, ids, self.button_install, context=context)
  File "/home/openerp/server/openerp/addons/base/module/module.py", line 475, in _button_immediate_function
    _, pool = pooler.restart_pool(cr.dbname, update_module=True)
  File "/home/openerp/server/openerp/pooler.py", line 39, in restart_pool
    registry = RegistryManager.new(db_name, force_demo, status, update_module)
  File "/home/openerp/server/openerp/modules/registry.py", line 218, in new
    openerp.modules.load_modules(registry.db, force_demo, status, update_module)
  File "/home/openerp/server/openerp/modules/loading.py", line 354, in load_modules
    loaded_modules, update_module)
  File "/home/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 "/home/openerp/server/openerp/modules/loading.py", line 159, in load_module_graph
    load_openerp_module(package.name)
  File "/home/openerp/server/openerp/modules/module.py", line 405, in load_openerp_module
    __import__('openerp.addons.' + module_name)
  File "/home/openerp/server/openerp/modules/module.py", line 133, in load_module
    mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
  File "/home/openerp/server/openerp/addons/stock/__init__.py", line 25, in <module>
    import report
  File "/home/openerp/server/openerp/addons/stock/report/__init__.py", line 23, in <module>
    import picking
  File "/home/openerp/server/openerp/addons/stock/report/picking.py", line 42, in <module>
    parser=picking)
  File "/home/openerp/server/openerp/report/report_sxw.py", line 392, in __init__
    report_rml.__init__(self, name, table, rml, '')
  File "/home/openerp/server/openerp/report/interface.py", line 65, in __init__
    super(report_rml, self).__init__(name)
  File "/home/openerp/server/openerp/report/interface.py", line 45, in __init__
    assert not self.exists(name), 'The report "%s" already exists!' % name
AssertionError: The report "report.stock.picking.list" already exists!

this is a duplicate of this bug: http://help.openerp.com/question/23478/error-the-report-reportstockpickinglist-already-exists/

MartinHerweg
on 10/15/13, 3:37 PM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 5/2/13, 3:49 PM
Seen: 2724 times
Last updated: 3/16/15, 8:10 AM