c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #07345
[Bug 688012] Re: [6.0-rc1] Web services error : Uncaught exception
Here's the error displayed in the web page :
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_rc1-py2.6.egg/addons/openerp/controllers/root.py", line 41, in _cp_on_error
message = errorpage.render()
File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc1-py2.6.egg/addons/openerp/controllers/error_page.py", line 55, in render
return self.__render(value)
File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc1-py2.6.egg/openobject/tools/_expose.py", line 231, in func_wrapper
return render_template(_template, res).encode("utf-8")
File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc1-py2.6.egg/openobject/tools/_expose.py", line 150, in render_template
return utils.NoEscape(template.render_unicode(**kw))
File "/usr/lib/pymodules/python2.6/mako/template.py", line 198, in render_unicode
as_unicode=True)
File "/usr/lib/pymodules/python2.6/mako/runtime.py", line 403, in _render
_render_context(template, callable_, context, *args, **_kwargs_for_callable(callable_, data))
File "/usr/lib/pymodules/python2.6/mako/runtime.py", line 434, in _render_context
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
File "/usr/lib/pymodules/python2.6/mako/runtime.py", line 457, in _exec_template
callable_(context, *args, **kwargs)
File "_openobject_controllers_templates_base_mako", line 52, in render_body
File "/usr/lib/pymodules/python2.6/mako/runtime.py", line 278, in <lambda>
return lambda *args, **kwargs:callable_(self.context, *args, **kwargs)
File "_openerp_controllers_templates_base_mako", line 48, in render_header
File "/usr/lib/pymodules/python2.6/mako/runtime.py", line 278, in <lambda>
return lambda *args, **kwargs:callable_(self.context, *args, **kwargs)
File "_openerp_controllers_templates_error_page_mako", line 252, in render_header
AttributeError: 'dict' object has no attribute 'id'
--
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/688012
Title:
[6.0-rc1] Web services error : Uncaught exception
Status in OpenObject Addons Modules:
New
Bug description:
[2010-12-09 13:35:40,973][mwp_03] INFO:res.config:next action is browse_record(ir.actions.todo, 6)
[2010-12-09 13:35:41,011][mwp_03] INFO:base.ir.module.module:Sending web content of modules [u'wiki'] to web client
[2010-12-09 13:35:41,018][mwp_03] ERROR:web-services:Uncaught exception
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 119, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 203, 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 193, 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 568, 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 1262, in writepy
fname, arcname = self._get_codename(initname[0:-3], basename)
File "/usr/lib/python2.6/zipfile.py", line 1323, 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 non accordée: u'/usr/local/lib/python2.6/dist-packages/openerp-server/addons/wiki/web/__init__.pyc'
[2010-12-09 13:35:41,195][mwp_03] INFO:base.ir.module.module:Sending web content of modules [u'wiki'] to web client
[2010-12-09 13:35:41,200][mwp_03] ERROR:web-services:Uncaught exception
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 119, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 203, 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 193, 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 568, 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 1262, in writepy
fname, arcname = self._get_codename(initname[0:-3], basename)
File "/usr/lib/python2.6/zipfile.py", line 1323, 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 non accordée: u'/usr/local/lib/python2.6/dist-packages/openerp-server/addons/wiki/web/__init__.pyc'
[2010-12-09 13:35:41,244][mwp_03] INFO:base.ir.module.module:Sending web content of modules [u'wiki'] to web client
[2010-12-09 13:35:41,249][mwp_03] ERROR:web-services:Uncaught exception
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 119, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 203, 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 193, 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 568, 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 1262, in writepy
fname, arcname = self._get_codename(initname[0:-3], basename)
File "/usr/lib/python2.6/zipfile.py", line 1323, 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 non accordée: u'/usr/local/lib/python2.6/dist-packages/openerp-server/addons/wiki/web/__init__.pyc'
References