← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 791792] Re: Uncaught exception

 

Hello,

Would you please check this again with latest updated code.

Currently I am closing this issue and if you still face the problem then
you can reopen this with more information.

Thanks.


** Changed in: openobject-addons
       Status: Expired => Invalid

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

Title:
  Uncaught exception

Status in OpenERP Modules (addons):
  Invalid

Bug description:
  V6.02 revno: 4617 - get this when running Accounting -> Customers ->
  Journal Items

  ERROR:web-services:Uncaught exception
  Traceback (most recent call last):
    File "/opt/openerp/server/bin/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/opt/openerp/server/bin/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/opt/openerp/server/bin/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/opt/openerp/server/bin/osv/orm.py", line 2942, in read
      result = self._read_flat(cr, user, select, fields, context, load)
    File "/opt/openerp/server/bin/osv/orm.py", line 3053, in _read_flat
      res2 = self._columns[val[0]].get(cr, self, ids, val, user, context=context, values=res)
    File "/opt/openerp/server/bin/osv/fields.py", line 800, in get
      res = self._fnct(obj, cr, user, ids, name, self._arg, context)
    File "/opt/openerp/server/bin/osv/fields.py", line 1067, in _fnct_read
      res[prop.res_id.id][prop.fields_id.name] = value or False
  KeyError: False
  [2011-06-02 12:51:50,143][ARoses] ERROR:web-services:Uncaught exception
  Traceback (most recent call last):
    File "/opt/openerp/server/bin/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/opt/openerp/server/bin/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/opt/openerp/server/bin/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/opt/openerp/server/bin/osv/orm.py", line 2942, in read
      result = self._read_flat(cr, user, select, fields, context, load)
    File "/opt/openerp/server/bin/osv/orm.py", line 3053, in _read_flat
      res2 = self._columns[val[0]].get(cr, self, ids, val, user, context=context, values=res)
    File "/opt/openerp/server/bin/osv/fields.py", line 800, in get
      res = self._fnct(obj, cr, user, ids, name, self._arg, context)
    File "/opt/openerp/server/bin/osv/fields.py", line 1067, in _fnct_read
      res[prop.res_id.id][prop.fields_id.name] = value or False
  KeyError: False

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


References