When just going to update modules

Bug #805411 reported by vasu jadav
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Undecided
Unassigned

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'

affects: openobject-server → openobject-addons
Revision history for this message
Vishal Parmar(Open ERP) (vpa-openerp) wrote :

Hello vasu jadav,

I have checked your issue with latest updated code with stable6 and trunk both but I didn't face any problem.

Would you please check with latest updated code.

Thanks and waiting for your reply.

Changed in openobject-addons:
status: New → Incomplete
Changed in openobject-addons:
status: Incomplete → 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.