Couldn't load module web

Asked by Jibe

find it difficult to start openerp server. it keep given the following error

2012-09-04 03:14:40,644 4682 INFO ? openerp: OpenERP version 7.0alpha
2012-09-04 03:14:40,645 4682 INFO ? openerp: addons paths: /opt/openerp/trunk/addons/trunk,/opt/openerp/trunk/web/trunk/a
ddons
2012-09-04 03:14:40,645 4682 INFO ? openerp: database hostname: localhost
2012-09-04 03:14:40,646 4682 INFO ? openerp: database port: 5432
2012-09-04 03:14:40,646 4682 INFO ? openerp: database user: openerp
2012-09-04 03:14:40,647 4682 INFO ? openerp.service.netrpc_server: starting NET-RPC service on 0.0.0.0:8070
2012-09-04 03:14:40,648 4682 INFO ? openerp.netsvc: Starting 1 services
2012-09-04 03:14:40,820 4682 INFO ? openerp.wsgi.core: HTTP service (werkzeug) running on 0.0.0.0:8069
2012-09-04 03:14:40,822 4682 INFO ? openerp.addons.web: embedded mode
2012-09-04 03:14:41,414 4682 CRITICAL ? openerp.modules.module: Couldn't load module web
2012-09-04 03:14:41,415 4682 CRITICAL ? openerp.modules.module: No module named docutils.core
2012-09-04 03:14:41,415 4682 ERROR ? openerp: 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 "./server/trunk/openerp-server", line 257, in <module>
    openerp.modules.module.load_openerp_module(m)
  File "/opt/openerp/trunk/server/trunk/openerp/modules/module.py", line 425, in load_openerp_module
    getattr(sys.modules['openerp.addons.' + module_name], info['post_load'])()
  File "/opt/openerp/trunk/web/trunk/addons/web/__init__.py", line 29, in wsgi_postload
    app = common.http.Root(o)
  File "/opt/openerp/trunk/web/trunk/addons/web/common/http.py", line 477, in __init__
    static_dirs = self._load_addons()
  File "/opt/openerp/trunk/web/trunk/addons/web/common/http.py", line 539, in _load_addons
    m = __import__('openerp.addons.' + module)

solution to this will be appreciated

Question information

Language:
English Edit question
Status:
Solved
For:
Odoo Server (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Solved by:
Chris Biersbach (OpenERP)
Solved:
Last query:
Last reply:
Revision history for this message
Best Chris Biersbach (OpenERP) (cbi-openerp) said :
#1

You are missing the python-docutils package.

If you are using Ubuntu, sudo apt-get install python-docutils should do the trick.

Revision history for this message
Jibe (jibe9191) said :
#2

Thanks Chris Biersbach (OpenERP), that solved my question.

Revision history for this message
ERP Basing (basing) said :
#3

adding python-docutils didn't help for me
So I ran install on all requirements
(for Fedora 16)
yum install graphviz ghostscript postgresql-client \
            python-dateutil python-feedparser python-gdata \
            python-ldap python-libxslt1 python-lxml python-mako \
            python-openid python-psycopg2 python-pybabel python-pychart \
            python-pydot python-pyparsing python-reportlab python-simplejson \
            python-tz python-vatnumber python-vobject python-webdav \
            python-werkzeug python-xlwt python-yaml python-imaging \
            python-matplotlib
=======================================================================================

For me missing packages were:

Installed:
  python-gdata.noarch 0:2.0.14-1.fc16 python-openid.noarch 0:2.2.5-2.fc15 python-vatnumber.noarch 0:1.0-1.fc16
  python-werkzeug.noarch 0:0.8.3-1.fc16 python-xlwt.noarch 0:0.7.4-1.fc16

Dependency Installed:
  antlr-python.noarch 0:2.7.7-16.fc16 python-suds.noarch 0:0.4.1-1.fc16
-----------------------------------------------------------------------------------------------------------------------------------------
so 1 or more of those solved a problem for me,

Regards,
d

Revision history for this message
dan90cjn (dan-zete) said :
#4

For windows users, go to https://pypi.python.org/pypi/docutils, download the archive, unpack it and run 'install.py'.