AttributeError: environments with Odoo 8.0

Bug #1360152 reported by Yannick Vaucher @ Camptocamp
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OERPScenario
Invalid
Undecided
Unassigned

Bug Description

With Odoo 8.0 and erppeek 1.6b1

When trying to get a model at
http://bazaar.launchpad.net/~camptocamp/oerpscenario/trunk-python/view/head:/features/steps/dsl.py#L222

It will raise:

    Captured logging:
      ERROR:openerp.http:environments
      Traceback (most recent call last):
        File ".../server/openerp/http.py", line 93, in dispatch_rpc
          result = dispatch(method, params)
        File ".../server/openerp/service/model.py", line 37, in dispatch
          res = fn(db, uid, *params)
        File ".../server/openerp/service/model.py", line 113, in wrapper
          return f(dbname, *args, **kwargs)
        File ".../server/openerp/service/model.py", line 170, in execute
          res = execute_cr(cr, uid, obj, method, *args, **kw)
        File ".../server/openerp/service/model.py", line 159, in execute_cr
          return getattr(object, method)(cr, uid, *args, **kw)
        File ".../server/openerp/api.py", line 204, in wrapper
          return old_api(self, *args, **kwargs)
        File ".../server/openerp/models.py", line 3085, in read
          records = self.browse(cr, user, ids, context)
        File ".../server/openerp/api.py", line 204, in wrapper
          return old_api(self, *args, **kwargs)
        File ".../server/openerp/models.py", line 5037, in browse
          return self._browse(Environment(cr, uid, context or {}), ids)
        File ".../server/openerp/api.py", line 666, in __new__
          env, envs = None, cls._local.environments
        File ".../eggs/Werkzeug-0.9.6-py2.7.egg/werkzeug/local.py", line 71, in __getattr__
          raise AttributeError(name)
      AttributeError: environments

Changed in oerpscenario:
importance: Undecided → Critical
Changed in oerpscenario:
status: New → Invalid
importance: Critical → Low
importance: Low → Undecided
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.