c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #01692
[Bug 668283] Re: [6.0] 'module' object has no attribute 'list_web'
OK. Solved after the proper server code update.
thanks guys!
Eric
--
[6.0] 'module' object has no attribute 'list_web'
https://bugs.launchpad.net/bugs/668283
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
Status in OpenObject Web Client: Invalid
Bug description:
I made a fresh new database, that I can access from the GTK client. When clicking on button "login" in web Client, I get the following error:
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/openerp-web/addons/openerp/controllers/root.py", line 39, in _cp_on_error
message = errorpage.render()
File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc1-py2.6.egg/openerp-web/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/openerp-web/openobject/tools/_expose.py", line 220, in func_wrapper
_template = load_template(template)
File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc1-py2.6.egg/openerp-web/openobject/tools/_expose.py", line 79, in load_template
return template_lookup.get_template(template)
File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc1-py2.6.egg/openerp-web/openobject/tools/_expose.py", line 64, in get_template
self.cache[str(uri)] = res = super(TL, self).get_template(uri)
File "/usr/local/lib/python2.6/dist-packages/Mako-0.3.3-py2.6.egg/mako/lookup.py", line 111, in get_template
return self._load(srcfile, uri)
File "/usr/local/lib/python2.6/dist-packages/Mako-0.3.3-py2.6.egg/mako/lookup.py", line 168, in _load
**self.template_args)
File "/usr/local/lib/python2.6/dist-packages/Mako-0.3.3-py2.6.egg/mako/template.py", line 113, in __init__
module = self._compile_from_file(path, filename)
File "/usr/local/lib/python2.6/dist-packages/Mako-0.3.3-py2.6.egg/mako/template.py", line 157, in _compile_from_file
filename)
File "/usr/local/lib/python2.6/dist-packages/Mako-0.3.3-py2.6.egg/mako/template.py", line 357, in _compile_text
node = lexer.parse()
File "/usr/local/lib/python2.6/dist-packages/Mako-0.3.3-py2.6.egg/mako/lexer.py", line 195, in parse
self.text = preproc(self.text)
File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc1-py2.6.egg/openerp-web/openobject/templating.py", line 14, in edition_preprocessor
Editor = pooler.get_pool().get(template.uri, group=EDITORS_GROUP)
File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc1-py2.6.egg/openerp-web/openobject/pooler.py", line 93, in get_pool
addons.load_addons(db_name, config)
File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc1-py2.6.egg/openerp-web/openobject/addons.py", line 219, in load_addons
new_modules = obj.get_new_modules()
File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc1-py2.6.egg/openerp-web/addons/openerp/controllers/modules.py", line 54, in get_new_modules
web_modules = modules.list_web()
File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc1-py2.6.egg/openerp-web/addons/openerp/utils/rpc.py", line 396, in <lambda>
return lambda *args: self._session.execute("object", "execute", self._resource, name, *args)
File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc1-py2.6.egg/openerp-web/addons/openerp/utils/rpc.py", line 357, in execute
return self.gateway.execute(obj, method, *args)
File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc1-py2.6.egg/openerp-web/addons/openerp/utils/rpc.py", line 155, in execute
return self.__execute(obj, method, args)
File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc1-py2.6.egg/openerp-web/addons/openerp/utils/rpc.py", line 141, in __execute
common.error(_('Application Error'), err.backtrace)
File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc1-py2.6.egg/openerp-web/addons/openerp/utils/common.py", line 72, in error
raise TinyError(message=msg, title=title or _("Error"))
TinyError: Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9920/netsvc.py", line 431, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9920/service/web_services.py", line 589, in dispatch
res = fn(db, uid, *params)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9920/osv/osv.py", line 57, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9920/osv/osv.py", line 135, in execute
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9920/osv/osv.py", line 125, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
AttributeError: 'module' object has no attribute 'list_web'
References