← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 651011] Re: V6 - after revision update server doesn't start - hangs on wiki module

 

Hi,

i had to copy the /web folder of the addon into the  /usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc1-py2.6.egg/addons/wiki/ folder. Then it worked for me.
This has to be repeated after each bzr pull/update.

-- 
V6 - after revision update server doesn't start - hangs on wiki module
https://bugs.launchpad.net/bugs/651011
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Addons Modules: Fix Released

Bug description:
trunk
openerp-server revision 2793
addons revision 4137
client-web revision 3400

After updateing the trunk server and running openerp-server --update=all I got the following error on my web-client:
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.0dev-py2.6.egg/openerp-web/addons/openerp/controllers/root.py", line 38, in _cp_on_error
    errorpage = cherrypy.request.pool.get_controller("/openerp/errorpage")
  File "/usr/local/lib/python2.6/dist-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/__init__.py", line 301, in __getattr__
    return getattr(child, name)
AttributeError: 'Request' object has no attribute 'pool'

The logfile entry is:
[2010-09-29 12:34:58,075][xtix6] ERROR:web-services:Uncaught exception
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 57, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 140, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 130, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base/module/module.py", line 525, in get_web
    for module in modules
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/__init__.py", line 228, in zip_directory
    archive.writepy(directory)
  File "/usr/lib/python2.6/zipfile.py", line 1259, in writepy
    fname, arcname = self._get_codename(initname[0:-3], basename)
  File "/usr/lib/python2.6/zipfile.py", line 1320, in _get_codename
    py_compile.compile(file_py, file_pyc, None, True)
  File "/usr/lib/python2.6/py_compile.py", line 135, in compile
    fc = open(cfile, 'wb')
IOError: [Errno 13] Permission denied: u'/usr/local/lib/python2.6/dist-packages/openerp-server/addons/wiki/web/__init__.pyc'

Permission is checked - and has the same owner and access rights on the file system as other __init__.pyc files in other modules.

Thank you in advance

Felix Schubert