c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #33420
[Bug 861559] [NEW] [TRUNK] AttributeError: 'OpenERPSession' object has no attribute 'config'
Public bug reported:
Using trunk branches, when I arrive on the login page I get:
[2011-09-28 16:27:32,936][?] ERROR:web.common.dispatch.JSONRequest.dispatch:An error occured while handling a json request
Traceback (most recent call last):
File "/home/max/openerp/web/trunk/addons/web/common/dispatch.py", line 161, in dispatch
response["result"] = method(controller, self, **self.params)
File "/home/max/openerp/web/trunk/addons/web/controllers/main.py", line 575, in load
return {'data': self.do_load(req)}
File "/home/max/openerp/web/trunk/addons/web/controllers/main.py", line 585, in do_load
Menus = req.session.model('ir.ui.menu')
File "/home/max/openerp/web/trunk/addons/web/common/session.py", line 93, in model
return self.build_connection().get_model(model)
File "/home/max/openerp/web/trunk/addons/web/common/session.py", line 44, in build_connection
if self.config.backend == 'local':
AttributeError: 'OpenERPSession' object has no attribute 'config'
** Affects: openerp-web
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/861559
Title:
[TRUNK] AttributeError: 'OpenERPSession' object has no attribute
'config'
Status in OpenERP Web:
New
Bug description:
Using trunk branches, when I arrive on the login page I get:
[2011-09-28 16:27:32,936][?] ERROR:web.common.dispatch.JSONRequest.dispatch:An error occured while handling a json request
Traceback (most recent call last):
File "/home/max/openerp/web/trunk/addons/web/common/dispatch.py", line 161, in dispatch
response["result"] = method(controller, self, **self.params)
File "/home/max/openerp/web/trunk/addons/web/controllers/main.py", line 575, in load
return {'data': self.do_load(req)}
File "/home/max/openerp/web/trunk/addons/web/controllers/main.py", line 585, in do_load
Menus = req.session.model('ir.ui.menu')
File "/home/max/openerp/web/trunk/addons/web/common/session.py", line 93, in model
return self.build_connection().get_model(model)
File "/home/max/openerp/web/trunk/addons/web/common/session.py", line 44, in build_connection
if self.config.backend == 'local':
AttributeError: 'OpenERPSession' object has no attribute 'config'
To manage notifications about this bug go to:
https://bugs.launchpad.net/openerp-web/+bug/861559/+subscriptions
Follow ups
References