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

permission denied for python_dateutil on 'make server'

By
Shahar Or
on 7/28/13, 9:11 AM 1,495 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
    callback(dist)
  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
    self.insert_on(path)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2364, in insert_on
    self.check_version_conflict()
  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
shahar@shahar-desktop:~/openerp/source$

But

-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.

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

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

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