[OpenERP 8] openerp scripts and interpreter can't load database

Bug #1314566 reported by Georges Racinet
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenERP buildout recipe
Fix Released
High
Unassigned

Bug Description

$ bin/python_openerp
>>> session.open('nophantom')
2014-04-30 10:02:16,547 5796 INFO nophantom openerp.modules.loading: loading 1 modules...
2014-04-30 10:02:16,586 5796 INFO nophantom openerp.modules.loading: loading 13 modules...
2014-04-30 10:02:16,589 5796 INFO nophantom openerp.modules.loading: Modules loaded.
Traceback (most recent call last):
  File "<console>", line 1, in <module>
  File "/home/gracinet/openerp/generic/recipe-openerp-trunk/anybox.recipe.openerp/anybox/recipe/openerp/runtime/session.py", line 178, in open
    self.init_cursor()
  File "/home/gracinet/openerp/generic/recipe-openerp-trunk/anybox.recipe.openerp/anybox/recipe/openerp/runtime/session.py", line 264, in init_cursor
    self.cr = self._registry.db.cursor()
AttributeError: 'Registry' object has no attribute 'db'

Related branches

Changed in anybox.recipe.openerp:
importance: Undecided → High
status: New → Fix Committed
Changed in anybox.recipe.openerp:
status: Fix Committed → Fix Released
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.