Odoo Help


odoo-8 installation, when i run the server i am getting "AttributeError: 'module' object has no attribute 'wsgi' " error can any one help me please?

on 12/24/14, 1:57 AM 1,749 views

I am following the instructinons from http://getopenerp.com/install-odoo-v8-ubuntu-github/ link to install odoo-8.

I have followed all the steps. All packages installed perfectly. At the the end i am getting this error.

2014-12-24 06:25:32,650 4363 CRITICAL ? openerp.modules.module: Couldn't load module web
2014-12-24 06:25:32,651 4363 CRITICAL ? openerp.modules.module: 'module' object has no attribute 'wsgi'
2014-12-24 06:25:32,651 4363 ERROR ? openerp.service.server: 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 "/opt/openerp/odoo/openerp/service/server.py", line 850, in load_server_wide_modules
  File "/opt/openerp/odoo/openerp/modules/module.py", line 319, in load_openerp_module
    getattr(sys.modules['openerp.addons.' + module_name], info['post_load'])()
  File "/home/samba/odoo-7/addons/web/http.py", line 628, in wsgi_postload
AttributeError: 'module' object has no attribute 'wsgi'
2014-12-24 06:25:32,652 4363 INFO ? openerp.service.server: HTTP service (werkzeug) running on
2014-12-24 06:29:07,088 4363 INFO ? werkzeug: - - [24/Dec/2014 06:29:07] "GET / HTTP/1.1" 500 -
2014-12-24 06:29:07,121 4363 ERROR ? werkzeug: Error on request:
Traceback (most recent call last):
  File "/usr/share/pyshared/werkzeug/serving.py", line 159, in run_wsgi
  File "/usr/share/pyshared/werkzeug/serving.py", line 146, in execute
    application_iter = app(environ, start_response)
  File "/opt/openerp/odoo/openerp/service/server.py", line 281, in app
    return self.app(e, s)
  File "/opt/openerp/odoo/openerp/service/wsgi_server.py", line 216, in application
    return application_unproxied(environ, start_response)
  File "/opt/openerp/odoo/openerp/service/wsgi_server.py", line 202, in application_unproxied
    result = handler(environ, start_response)
  File "/opt/openerp/odoo/openerp/http.py", line 1238, in __call__
  File "/opt/openerp/odoo/openerp/http.py", line 1257, in load_addons
    m = __import__('openerp.addons.' + module)
  File "/opt/openerp/odoo/openerp/modules/module.py", line 77, in load_module
    mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
  File "/home/samba/odoo-7/addons/account/__init__.py", line 22, in <module>
    import partner
  File "/home/samba/odoo-7/addons/account/partner.py", line 107, in <module>
    class res_partner(osv.osv):
  File "/home/samba/odoo-7/addons/account/partner.py", line 204, in res_partner
TypeError: __init__() takes exactly 1 argument (9 given)


Got the solution it's because of addons path

on 12/24/14, 6:02 AM


| 6 5 7
Lodz, Poland

On 12/24/14, 6:48 AM

You install Odoo form "Odoo nightly" - http://nightly.odoo.com

First add this apt repository to your /etc/apt/sources.list file

deb http://nightly.odoo.com/8.0/nightly/deb/ ./

Then type:

$ sudo apt-get update
$ sudo apt-get install odoo

But you remember then "Odoo nightly" is updated every night.

You may prevent this by:

$sudo apt-mark hold odoo

and if you need

$sudo apt-mark unhold odoo

Thank you zbik, I have added deb http://nightly.openerp.com/8.0/deb/ ./ line to /etc/apt/sources.list file. When i run sudo apt-get update, it is showing below error. Ign http://extras.ubuntu.com precise/main Translation-en Err http://nightly.openerp.com ./ Packages 404 Not Found Ign http://nightly.openerp.com ./ Translation-en_IN Ign http://nightly.openerp.com ./ Translation-en W: Failed to fetch http://nightly.openerp.com/8.0/deb/./Packages 404 Not Found E: Some index files failed to download. They have been ignored, or old ones used instead.

on 12/26/14, 12:29 AM

I fixed reposotory link. Read the instructions on the page http://nightly.odoo.com

on 12/26/14, 4:32 AM

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: 12/24/14, 1:57 AM
Seen: 1749 times
Last updated: 3/16/15, 8:10 AM