← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 805411] Re: When just going to update modules

 

** Changed in: openobject-addons
       Status: Incomplete => Fix Released

-- 
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/805411

Title:
  When just going to update modules

Status in OpenERP Modules (addons):
  Fix Released

Bug description:
  
  Environment Information : 
  System : Linux-2.6.32-26-generic-i686-with-Ubuntu-10.04-lucid
  OS Name : posix
  Distributor ID:	Ubuntu
  Description:	Ubuntu 10.04.1 LTS
  Release:	10.04
  Codename:	lucid
  Operating System Release : 2.6.32-26-generic
  Operating System Version : #48-Ubuntu SMP Wed Nov 24 09:00:03 UTC 2010
  Operating System Architecture : 32bit
  Operating System Locale : en_IN.ISO8859-1
  Python Version : 2.6.5
  OpenERP-Client Version : 6.1-dev
  Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
    File "/home/openerp/netsvc.py", line 413, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/home/openerp/service/web_services.py", line 595, in dispatch
      security.check(db,uid,passwd)
    File "/home/openerp/service/security.py", line 43, in check
      pool = pooler.get_pool(db)
    File "/home/openerp/pooler.py", line 79, in get_pool
      pool = get_db_and_pool(db_name, force_demo, status, update_module)[1]
    File "/home/openerp/pooler.py", line 39, in get_db_and_pool
      addons.load_modules(db, force_demo, status, update_module)
    File "/home/openerp/addons/__init__.py", line 901, in load_modules
      processed_modules.extend(load_module_graph(cr, graph, status, report=report, skip_modules=processed_modules))
    File "/home/openerp/addons/__init__.py", line 729, in load_module_graph
      init_module_objects(cr, package.name, modules)
    File "/home/openerp/addons/__init__.py", line 433, in init_module_objects
      t[1](cr, *t[2])
    File "/home/openerp/osv/orm.py", line 2310, in _update_store
      res = f.get(cr, self, iids, k, 1, {})
    File "/home/openerp/osv/fields.py", line 811, in get
      res = self._fnct(cr, obj._table, ids, name, self._arg, context)
    File "/home/tiny/sources/addons/trunk/account/account_cash_statement.py", line 123, in _end_balance
      res_currency_obj = self.pool.get('res.currency')
    File "/home/openerp/sql_db.py", line 78, in wrapper
      return f(self, *args, **kwargs)
    File "/home/openerp/sql_db.py", line 237, in __getattr__
      return getattr(self._obj, name)
  AttributeError: 'cursor' object has no attribute 'pool'

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/805411/+subscriptions


References