OE v6.02 Web-client在Ubuntu登录后出错解决方法
-
安装成功后,在客户端登录,会出现一下错误:
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.1-py2.6.egg/addons/openerp/controllers/root.py", line 35, in _cp_on_error
message = errorpage.render()
AttributeError: 'NoneType' object has no attribute 'render'
解决办法为:
sudo chmod 765 /usr/share/pyshared/openerp-server
sudo chmod 765 /usr/local/lib/python2.6/dist-packages
重启Sever即可正常使用.