← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 701801] [NEW] [V6 RC2] Error in web-client after installation

 

Public bug reported:

I downloaded the source of Web Client from the OpenERP site. The
installation ran fine using "sudo python setup.py install" from the
source folder. Web server was initiated using "openerp-web". I was able
to get to the Login Page. Any action from this point leads to the
following message in the web-browser:

Unrecoverable error in the server.
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cprequest.py", line 541, in run
    self.respond(pi)
  File "/usr/local/lib/python2.6/dist-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cprequest.py", line 624, in respond
    self.handle_error()
  File "/usr/local/lib/python2.6/dist-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cprequest.py", line 746, in handle_error
    self.error_response()
  File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/openerp/controllers/root.py", line 40, in _cp_on_error
    cherrypy.request.pool = openobject.pooler.get_pool()
  File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/openobject/pooler.py", line 97, in get_pool
    addons.load_addons(db_name, config)
  File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/openobject/addons.py", line 214, in load_addons
    new_modules = obj.get_new_modules()
  File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/openerp/controllers/modules.py", line 52, in get_new_modules
    shutil.move(os.path.join(temp_dir, 'web'), module_dir)
  File "/usr/lib/python2.6/shutil.py", line 261, in move
    copytree(src, real_dst, symlinks=True)
  File "/usr/lib/python2.6/shutil.py", line 146, in copytree
    os.makedirs(dst)
  File "/usr/lib/python2.6/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/web_livechat'

** Affects: openobject-client-web
     Importance: Undecided
         Status: New

-- 
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/701801

Title:
  [V6 RC2] Error in web-client after installation

Status in OpenObject Web Client:
  New

Bug description:
  I downloaded the source of Web Client from the OpenERP site. The
  installation ran fine using "sudo python setup.py install" from the
  source folder. Web server was initiated using "openerp-web". I was
  able to get to the Login Page. Any action from this point leads to the
  following message in the web-browser:

  Unrecoverable error in the server.
  Traceback (most recent call last):
    File "/usr/local/lib/python2.6/dist-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cprequest.py", line 541, in run
      self.respond(pi)
    File "/usr/local/lib/python2.6/dist-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cprequest.py", line 624, in respond
      self.handle_error()
    File "/usr/local/lib/python2.6/dist-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cprequest.py", line 746, in handle_error
      self.error_response()
    File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/openerp/controllers/root.py", line 40, in _cp_on_error
      cherrypy.request.pool = openobject.pooler.get_pool()
    File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/openobject/pooler.py", line 97, in get_pool
      addons.load_addons(db_name, config)
    File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/openobject/addons.py", line 214, in load_addons
      new_modules = obj.get_new_modules()
    File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/openerp/controllers/modules.py", line 52, in get_new_modules
      shutil.move(os.path.join(temp_dir, 'web'), module_dir)
    File "/usr/lib/python2.6/shutil.py", line 261, in move
      copytree(src, real_dst, symlinks=True)
    File "/usr/lib/python2.6/shutil.py", line 146, in copytree
      os.makedirs(dst)
    File "/usr/lib/python2.6/os.py", line 157, in makedirs
      mkdir(name, mode)
  OSError: [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/web_livechat'





Follow ups

References