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.

0

openerp.modules.module: Couldn't load module web

By
Vervoort Michel
on 4/2/14, 7:03 AM 2,503 views

Hello,

I installed openerp 7 on a debian (VM on VM workstation). All was working fine untill i removed my snapshots on that VM After removing my snapshots i occure following error when visiting the web interface:

No handler found.

Looking at the log file shows me it couldn't load the module 'web'

2014-03-30 14:48:24,195 2260 INFO ? openerp: database hostname: localhost 2014-03-30 14:48:24,195 2260 INFO ? openerp: database port: 5432 2014-03-30 14:48:24,195 2260 INFO ? openerp: database user: openerp 2014-03-30 14:48:25,971 2260 CRITICAL ? openerp.modules.module: Couldn't load module web 2014-03-30 14:48:25,971 2260 CRITICAL ? openerp.modules.module: The report "report.voucher.cash_receipt.drcr" already exists! 2014-03-30 14:48:25,971 2260 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 "/usr/lib/pymodules/python2.7/openerp/service/__init__.py", line 60, in load_server_wide_modules openerp.modules.module.load_openerp_module(m) File "/usr/lib/pymodules/python2.7/openerp/modules/module.py", line 415, in load_openerp_module getattr(sys.modules['openerp.addons.' + module_name], info['post_load'])() File "/usr/lib/pymodules/python2.7/openerp/addons/web/http.py", line 628, in wsgi_postload openerp.wsgi.register_wsgi_handler(Root()) File "/usr/lib/pymodules/python2.7/openerp/addons/web/http.py", line 517, in __init__ self.load_addons() File "/usr/lib/pymodules/python2.7/openerp/addons/web/http.py", line 580, in load_addons m = __import__('openerp.addons.' + module) File "/usr/lib/pymodules/python2.7/openerp/modules/module.py", line 133, in load_module mod = imp.load_module('openerp.addons.' + module_part, f, path, descr) File "/usr/lib/pymodules/python2.7/openerp/addons/account_voucher~1/__init__.py", line 24, in <module> import report File "/usr/lib/pymodules/python2.7/openerp/addons/account_voucher~1/report/__init__.py", line 22, in <module> import account_voucher File "/usr/lib/pymodules/python2.7/openerp/addons/account_voucher~1/report/account_voucher.py", line 72, in <module> parser=report_voucher,header="external" File "/usr/lib/pymodules/python2.7/openerp/report/report_sxw.py", line 390, in __init__ report_rml.__init__(self, name, table, rml, '') File "/usr/lib/pymodules/python2.7/openerp/report/interface.py", line 65, in __init__ super(report_rml, self).__init__(name) File "/usr/lib/pymodules/python2.7/openerp/report/interface.py", line 45, in __init__ assert not self.exists(name), 'The report "%s" already exists!' % name AssertionError: The report "report.voucher.cash_receipt.drcr" already exists! 2014-03-30 14:48:26,071 2260 INFO ? openerp.service.wsgi_server: HTTP service (werkzeug) running on 0.0.0.0:8069 2014-03-30 14:48:26,072 2260 INFO ? openerp: OpenERP server is running, waiting for connections... 2014-03-30 14:48:29,071 2260 INFO ? werkzeug: 192.168.1.103 - - [30/Mar/2014 14:48:29] "GET /?ts=1396390980714 HTTP/1.1" 404 - 2014-03-30 14:48:31,659 2260 INFO ? werkzeug: 192.168.1.103 - - [30/Mar/2014 14:48:31] "GET /?ts=1396390980714 HTTP/1.1" 404 - 2014-03-30 14:48:39,309 2260 INFO ? werkzeug: 192.168.1.103 - - [30/Mar/2014 14:48:39] "GET / HTTP/1.1" 404 - 2014-03-30 22:25:01,538 2200 INFO ? openerp: OpenERP version 7.0-20140315-002917 2014-03-30 22:25:01,644 2200 INFO ? openerp: addons paths: /usr/lib/pymodules/python2.7/openerp/addons 2014-03-30 22:25:01,644 2200 INFO ? openerp: database hostname: localhost 2014-03-30 22:25:01,645 2200 INFO ? openerp: database port: 5432 2014-03-30 22:25:01,645 2200 INFO ? openerp: database user: openerp 2014-03-30 22:25:04,402 2200 CRITICAL ? openerp.modules.module: Couldn't load module web 2014-03-30 22:25:04,402 2200 CRITICAL ? openerp.modules.module: The report "report.voucher.cash_receipt.drcr" already exists! 2014-03-30 22:25:04,402 2200 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 "/usr/lib/pymodules/python2.7/openerp/service/__init__.py", line 60, in load_server_wide_modules openerp.modules.module.load_openerp_module(m) File "/usr/lib/pymodules/python2.7/openerp/modules/module.py", line 415, in load_openerp_module getattr(sys.modules['openerp.addons.' + module_name], info['post_load'])() File "/usr/lib/pymodules/python2.7/openerp/addons/web/http.py", line 628, in wsgi_postload openerp.wsgi.register_wsgi_handler(Root()) File "/usr/lib/pymodules/python2.7/openerp/addons/web/http.py", line 517, in __init__ self.load_addons() File "/usr/lib/pymodules/python2.7/openerp/addons/web/http.py", line 580, in load_addons m = __import__('openerp.addons.' + module) File "/usr/lib/pymodules/python2.7/openerp/modules/module.py", line 133, in load_module mod = imp.load_module('openerp.addons.' + module_part, f, path, descr) File "/usr/lib/pymodules/python2.7/openerp/addons/account_voucher~1/__init__.py", line 24, in <module> import report File "/usr/lib/pymodules/python2.7/openerp/addons/account_voucher~1/report/__init__.py", line 22, in <module> import account_voucher File "/usr/lib/pymodules/python2.7/openerp/addons/account_voucher~1/report/account_voucher.py", line 72, in <module> parser=report_voucher,header="external" File "/usr/lib/pymodules/python2.7/openerp/report/report_sxw.py", line 390, in __init__ report_rml.__init__(self, name, table, rml, '') File "/usr/lib/pymodules/python2.7/openerp/report/interface.py", line 65, in __init__ super(report_rml, self).__init__(name) File "/usr/lib/pymodules/python2.7/openerp/report/interface.py", line 45, in __init__ assert not self.exists(name), 'The report "%s" already exists!' % name AssertionError: The report "report.voucher.cash_receipt.drcr" already exists! 2014-03-30 22:25:04,511 2200 INFO ? openerp.service.wsgi_server: HTTP service (werkzeug) running on 0.0.0.0:8069 2014-03-30 22:25:04,512 2200 INFO ? openerp: OpenERP server is running, waiting for connections... 2014-03-30 22:25:09,179 2200 INFO ? werkzeug: 192.168.1.103 - - [30/Mar/2014 22:25:09] "GET / HTTP/1.1" 404 - 2014-03-30 22:36:00,698 2200 INFO ? openerp.service: Initiating shutdown 2014-03-30 22:36:00,698 2200 INFO ? openerp.service: Hit CTRL-C again or send a second signal to force the shutdown. 2014-03-30 22:36:37,794 3483 INFO ? openerp: OpenERP version 7.0-20140401-231338 2014-03-30 22:36:37,794 3483 INFO ? openerp: addons paths: /usr/lib/pymodules/python2.7/openerp/addons 2014-03-30 22:36:37,794 3483 INFO ? openerp: database hostname: localhost 2014-03-30 22:36:37,794 3483 INFO ? openerp: database port: 5432 2014-03-30 22:36:37,794 3483 INFO ? openerp: database user: openerp 2014-03-30 22:36:38,468 3483 CRITICAL ? openerp.modules.module: Couldn't load module web 2014-03-30 22:36:38,468 3483 CRITICAL ? openerp.modules.module: The report "report.voucher.cash_receipt.drcr" already exists! 2014-03-30 22:36:38,468 3483 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 "/usr/lib/pymodules/python2.7/openerp/service/__init__.py", line 60, in load_server_wide_modules openerp.modules.module.load_openerp_module(m) File "/usr/lib/pymodules/python2.7/openerp/modules/module.py", line 415, in load_openerp_module getattr(sys.modules['openerp.addons.' + module_name], info['post_load'])() File "/usr/lib/pymodules/python2.7/openerp/addons/web/http.py", line 628, in wsgi_postload openerp.wsgi.register_wsgi_handler(Root()) File "/usr/lib/pymodules/python2.7/openerp/addons/web/http.py", line 517, in __init__ self.load_addons() File "/usr/lib/pymodules/python2.7/openerp/addons/web/http.py", line 580, in load_addons m = __import__('openerp.addons.' + module) File "/usr/lib/pymodules/python2.7/openerp/modules/module.py", line 133, in load_module mod = imp.load_module('openerp.addons.' + module_part, f, path, descr) File "/usr/lib/pymodules/python2.7/openerp/addons/account_voucher~1/__init__.py", line 24, in <module> import report File "/usr/lib/pymodules/python2.7/openerp/addons/account_voucher~1/report/__init__.py", line 22, in <module> import account_voucher File "/usr/lib/pymodules/python2.7/openerp/addons/account_voucher~1/report/account_voucher.py", line 72, in <module> parser=report_voucher,header="external" File "/usr/lib/pymodules/python2.7/openerp/report/report_sxw.py", line 390, in __init__ report_rml.__init__(self, name, table, rml, '') File "/usr/lib/pymodules/python2.7/openerp/report/interface.py", line 65, in __init__ super(report_rml, self).__init__(name) File "/usr/lib/pymodules/python2.7/openerp/report/interface.py", line 45, in __init__ assert not self.exists(name), 'The report "%s" already exists!' % name AssertionError: The report "report.voucher.cash_receipt.drcr" already exists! 2014-03-30 22:36:38,476 3483 INFO ? openerp.service.wsgi_server: HTTP service (werkzeug) running on 0.0.0.0:8069 2014-03-30 22:36:38,477 3483 INFO ? openerp: OpenERP server is running, waiting for connections... 2014-03-30 22:36:39,717 3483 INFO ? werkzeug: 192.168.1.103 - - [30/Mar/2014 22:36:39] "GET / HTTP/1.1" 404 - 2014-03-30 22:36:47,340 3483 INFO ? werkzeug: 192.168.1.103 - - [30/Mar/2014 22:36:47] "GET / HTTP/1.1" 404 - 2014-03-30 22:36:48,113 3483 INFO ? werkzeug: 192.168.1.103 - - [30/Mar/2014 22:36:48] "GET / HTTP/1.1" 404 - 2014-03-30 22:36:52,924 3483 INFO ? werkzeug: 192.168.1.103 - - [30/Mar/2014 22:36:52] "GET / HTTP/1.1" 404 - 2014-03-30 22:43:54,583 3483 INFO ? werkzeug: 192.168.1.103 - - [30/Mar/2014 22:43:54] "GET / HTTP/1.1" 404 - 2014-03-30 22:43:54,634 3483 INFO ? werkzeug: 192.168.1.103 - - [30/Mar/2014 22:43:54] "GET /favicon.ico HTTP/1.1" 404 - 2014-03-30 22:43:54,659 3483 INFO ? werkzeug: 192.168.1.103 - - [30/Mar/2014 22:43:54] "GET /favicon.ico HTTP/1.1" 404 - 2014-03-30 22:49:46,150 3483 INFO ? werkzeug: 192.168.1.103 - - [30/Mar/2014 22:49:46] "GET / HTTP/1.1" 404 - 2014-03-30 23:09:58,739 3483 INFO ? werkzeug: 192.168.1.103 - - [30/Mar/2014 23:09:58] "GET / HTTP/1.1" 404 - 2014-03-30 23:10:38,729 3483 INFO ? werkzeug: 192.168.1.103 - - [30/Mar/2014 23:10:38] "GET / HTTP/1.1" 404 - 2014-03-30 23:10:50,735 3483 INFO ? werkzeug: 192.168.1.103 - - [30/Mar/2014 23:10:50] "GET / HTTP/1.1" 404 - 2014-03-30 23:10:53,056 3483 INFO ? werkzeug: 192.168.1.103 - - [30/Mar/2014 23:10:53] "GET / HTTP/1.1" 404 - 2014-03-30 23:10:54,434 3483 INFO ? werkzeug: 192.168.1.103 - - [30/Mar/2014 23:10:54] "GET / HTTP/1.1" 404 - 2014-03-30 23:10:55,273 3483 INFO ? werkzeug: 192.168.1.103 - - [30/Mar/2014 23:10:55] "GET / HTTP/1.1" 404 - 2014-03-30 23:11:04,908 3483 INFO ? werkzeug: 192.168.1.103 - - [30/Mar/2014 23:11:04] "GET / HTTP/1.1" 404 - 2014-03-30 23:32:17,552 3984 INFO ? openerp: OpenERP version 7.0-20140401-231338 2014-03-30 23:32:17,552 3984 INFO ? openerp: addons paths: /usr/lib/pymodules/python2.7/openerp/addons 2014-03-30 23:32:17,552 3984 INFO ? openerp: database hostname: localhost 2014-03-30 23:32:17,552 3984 INFO ? openerp: database port: 5432 2014-03-30 23:32:17,552 3984 INFO ? openerp: database user: openerp 2014-03-30 23:32:17,633 3984 CRITICAL ? openerp.modules.module: Couldn't load module web 2014-03-30 23:32:17,633 3984 CRITICAL ? openerp.modules.module: The report "report.voucher.cash_receipt.drcr" already exists! 2014-03-30 23:32:17,633 3984 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 "/usr/lib/pymodules/python2.7/openerp/service/__init__.py", line 60, in load_server_wide_modules openerp.modules.module.load_openerp_module(m) File "/usr/lib/pymodules/python2.7/openerp/modules/module.py", line 415, in load_openerp_module getattr(sys.modules['openerp.addons.' + module_name], info['post_load'])() File "/usr/lib/pymodules/python2.7/openerp/addons/web/http.py", line 628, in wsgi_postload openerp.wsgi.register_wsgi_handler(Root()) File "/usr/lib/pymodules/python2.7/openerp/addons/web/http.py", line 517, in __init__ self.load_addons() File "/usr/lib/pymodules/python2.7/openerp/addons/web/http.py", line 580, in load_addons m = __import__('openerp.addons.' + module) File "/usr/lib/pymodules/python2.7/openerp/modules/module.py", line 133, in load_module mod = imp.load_module('openerp.addons.' + module_part, f, path, descr) File "/usr/lib/pymodules/python2.7/openerp/addons/account_voucher~1/__init__.py", line 24, in <module> import report File "/usr/lib/pymodules/python2.7/openerp/addons/account_voucher~1/report/__init__.py", line 22, in <module> import account_voucher File "/usr/lib/pymodules/python2.7/openerp/addons/account_voucher~1/report/account_voucher.py", line 72, in <module> parser=report_voucher,header="external" File "/usr/lib/pymodules/python2.7/openerp/report/report_sxw.py", line 390, in __init__ report_rml.__init__(self, name, table, rml, '') File "/usr/lib/pymodules/python2.7/openerp/report/interface.py", line 65, in __init__ super(report_rml, self).__init__(name) File "/usr/lib/pymodules/python2.7/openerp/report/interface.py", line 45, in __init__ assert not self.exists(name), 'The report "%s" already exists!' % name AssertionError: The report "report.voucher.cash_receipt.drcr" already exists! 2014-03-30 23:32:17,636 3984 INFO ? openerp.service.wsgi_server: HTTP service (werkzeug) running on 0.0.0.0:8069 2014-03-30 23:32:17,636 3984 INFO ? openerp: OpenERP server is running, waiting for connections... 2014-03-30 23:32:45,723 3984 INFO ? werkzeug: 192.168.1.103 - - [30/Mar/2014 23:32:45] "GET / HTTP/1.1" 404 - 2014-03-30 23:32:48,085 3984 INFO ? werkzeug: 192.168.1.103 - - [30/Mar/2014 23:32:48] "GET / HTTP/1.1" 404 -

Thanks for any advise

1

Med Said BARA

--Med Said BARA--
2664
| 5 5 7
Algeria
--Med Said BARA--
Med Said BARA
On 4/2/14, 8:37 PM

Hi;

As stated in the log, your problem comes probably from the module "account_voucher_report"

From the log: CRITICAL ? openerp.modules.module: The report "report.voucher.cash_receipt.drcr" already exists!

To be sure, just delete this folder from addons (you can restore it later), and see if the server start.

0
Vervoort Michel
On 4/3/14, 8:37 AM

Hi Said,

Thanks for your response. I have 2 folders account_voucher and account_voucher~1. When i remove account_voucher i can access the webinterface. Should i remove the 2nd one too? And how can i restore it.

Thx again you are a life saver :)

First you must find which one of the both is installed. For this, see what is the color of each one in the modules list (list view not the Kanban view). (Color = , Black installed, Red Not Installed, Blue Pending State to Install, Grey Pending State to Remove).

Med Said BARA
on 4/3/14, 9:13 AM

To simplify, it seems that the two modules are identical, in this case, just uninstall the one with ~1 if he is already installed, and delete his folder; and install the other one;

Med Said BARA
on 4/3/14, 9:24 AM

removed the ~1 and all working normal again

Vervoort Michel
on 4/5/14, 10:46 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: 4/2/14, 7:03 AM
Seen: 2503 times
Last updated: 3/16/15, 8:10 AM