← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 692310] Re: client-web crashes whenn accessning new database

 

Hi,

I also have this error on ubuntu 10 with python 2.6 :


Error: [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc1-py2.6.egg/addons/web_livechat'

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/692310

Title:
  client-web crashes whenn accessning new database

Status in OpenObject Web Client:
  Triaged

Bug description:
  Platform OSX 10.6.5, python 2.7.1, Firefox and Safari browsers.
6.0-dev from 18 December [revision 3066] crashes on logiing in to any newly database created with following message:

  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/CherryPy-3.1.2-py2.7.egg/cherrypy/_cprequest.py", line 541, in run
    self.respond(pi)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/CherryPy-3.1.2-py2.7.egg/cherrypy/_cprequest.py", line 624, in respond
    self.handle_error()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/CherryPy-3.1.2-py2.7.egg/cherrypy/_cprequest.py", line 746, in handle_error
    self.error_response()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/openerp_web-6.0.0_rc1-py2.7.egg/addons/openerp/controllers/root.py", line 40, in _cp_on_error
    cherrypy.request.pool = openobject.pooler.get_pool()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/openerp_web-6.0.0_rc1-py2.7.egg/openobject/pooler.py", line 93, in get_pool
    addons.load_addons(db_name, config)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/openerp_web-6.0.0_rc1-py2.7.egg/openobject/addons.py", line 210, in load_addons
    new_modules = obj.get_new_modules()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/openerp_web-6.0.0_rc1-py2.7.egg/addons/openerp/controllers/modules.py", line 76, in get_new_modules
    shutil.move(os.path.join(temp_dir, 'web'), module_dir)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 289, in move
    copytree(src, real_dst, symlinks=True)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 174, in copytree
    os.makedirs(dst)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/openerp_web-6.0.0_rc1-py2.7.egg/addons/web_livechat'

Temporary fix is to use gtk client to remove module 'web_livechat'





References