Odoo Help


permission denied for python_dateutil on 'make server'

Shahar Or
on 7/28/13, 9:11 AM 2,192 views

Hi, upon launching make server, I get this

shahar@shahar-desktop:~/openerp/source$ make server
# launch the server
./server/openerp-server --addons-path=addons,web/addons --log-level=debug
Traceback (most recent call last):
  File "./server/openerp-server", line 2, in <module>
    import openerp
  File "/home/shahar/openerp/source/server/openerp/__init__.py", line 47, in <module>
    import addons
  File "/home/shahar/openerp/source/server/openerp/addons/__init__.py", line 38, in <module>
    from openerp.modules import get_module_resource, get_module_path
  File "/home/shahar/openerp/source/server/openerp/modules/__init__.py", line 27, in <module>
    from . import db, graph, loading, migration, module, registry
  File "/home/shahar/openerp/source/server/openerp/modules/graph.py", line 32, in <module>
    import openerp.osv as osv
  File "/home/shahar/openerp/source/server/openerp/osv/__init__.py", line 22, in <module>
    import osv
  File "/home/shahar/openerp/source/server/openerp/osv/osv.py", line 22, in <module>
    from openerp.osv.orm import except_orm, Model, TransientModel, AbstractModel
  File "/home/shahar/openerp/source/server/openerp/osv/orm.py", line 42, in <module>
    import babel.dates
  File "/usr/lib/python2.7/dist-packages/babel/__init__.py", line 33, in <module>
    from pkg_resources import get_distribution, ResolutionError
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2825, in <module>
    add_activation_listener(lambda dist: dist.activate())
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 710, in subscribe
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2825, in <lambda>
    add_activation_listener(lambda dist: dist.activate())
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2257, in activate
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2364, in insert_on
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2403, in check_version_conflict
    for modname in self._get_metadata('top_level.txt'):
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2251, in _get_metadata
    for line in self.get_metadata_lines(name):
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1219, in get_metadata_lines
    return yield_lines(self.get_metadata(name))
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1211, in get_metadata
    return self._get(self._fn(self.egg_info,name))
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1326, in _get
    stream = open(path, 'rb')
IOError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/python_dateutil-2.1-py2.7.egg/EGG-INFO/top_level.txt'
make: *** [server] Error 1


-rw------- 1 root staff 9 May 13 17:56 /usr/local/lib/python2.7/dist-packages/python_dateutil-2.1-py2.7.egg/EGG-INFO/top_level.txt

So I see no obvious reason for this. Most likely that it is not an OpenERP issue, though.

Shahar Or
On 7/28/13, 10:16 AM

I had a local version of dateutil installed with easy_install. Removed it.

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: 7/28/13, 9:11 AM
Seen: 2192 times
Last updated: 3/16/15, 8:10 AM