c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #12244
[Bug 701801] Re: [V6 RC2] Error in web-client after installation
Hello Somesh/Xavier,
The problem gets solved if I invoke the web-client using the command "openerp-web" from the installation source directory, openerp-web-6.0.0-rc2 in this case, atleast once. Thereafter, if I invoke the web-client from any other location in the terminal, it works fine.
I had encountered the above mentioned error because I tried to initiate web-client from a location other than the source directory. But everything seems to be working fine now.
Thanks.
--
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:
Fix Released
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'
References