Odoo Help


Unable to start openerp server - No module named osv

on 4/2/14, 5:53 AM 2,732 views

Hi everybody. I'm using the latest OpenErp version on Ubuntu 13.04 64-bit. I am able to use the modules correctly via browser, but at the same time I noticed a strange thing. When I open the terminal and type one of the

openerp-server {start|stop|restart|force-reload}

it returns this message

  Traceback (most recent call last):
  File "/usr/bin/openerp-server", line 5, in <module>
  File "/usr/lib/pymodules/python2.7/openerp/cli/__init__.py", line 51, in main
  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/base_action_rule/__init__.py", line 23, in <module>
    import test_models
  File "/usr/lib/pymodules/python2.7/openerp/addons/base_action_rule/test_models.py", line 1, in <module>
    from osv import osv, fields
ImportError: No module named osv

However, the openerp-server, as said before, seems correctly loaded.

ps aux | grep openerp
openerp   1626  0.0  1.5 921156 91516 ?        Sl   apr01   0:13 /usr/bin/python /usr/bin/openerp-server --config=/etc/openerp/openerp-server.conf --logfile=/var/log/openerp/openerp-server.log
openerp   3107  0.0  1.3 491572 78680 ?        Sl   apr01   0:00 /usr/bin/python /usr/bin/openerp-server --config=/etc/openerp/openerp-server.conf --logfile=/var/log/openerp/openerp-server.log


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: 4/2/14, 5:53 AM
Seen: 2732 times
Last updated: 3/16/15, 8:10 AM