← Back to team overview

c2c-oerpscenario team mailing list archive

Re: [Bug 696590] Re: IndexError: list index out of range

 

On Monday 03 January 2011, you wrote:
> Hello Phong,
> 
> Would you please provide the more informations or proper steps to
> reproduce the bug.
> 

I can think of some, AMP:

wizards are osv_memory objects. Which means that they can easily be vacumed 
out of the scope of the server (including the fact that they don't persist 
accross server reboots).

So, you get the cryptic "KeyError" messages whenever this happens.

In trunk-pg84, I have been experimenting[1] with some improvements[2] over 
orm_memory. These include a clear message "The object has been delete, please 
retry the operation" message.


[1] I like to stay a few weeks testing such major changes before pushing them 
for trunk merge
[2] 85816908a45a13d643b3

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

Title:
  IndexError: list index out of range

Status in OpenObject Server:
  Incomplete

Bug description:
  It generate the following error when trying to use 1 of the osv wizard (which was working perfectly before the latest version)

addons/ : launchpad_translations_on_behalf_of_openerp-20110102050226-71740ifoogqdko3a 4163
addons-community/ : fran@fran-pc-20101213182241-2fogs8yh5u4ma31q 292
addons-extra/ : rvalyi@xxxxxxxxx-20101231204649-bd26dshj7y0im9pz 5139
client/ : launchpad_translations_on_behalf_of_openerp-20110101050037-a37akkwwtjflfxw3 1750
openobject-addons-4066/ : launchpad_translations_on_behalf_of_openerp-20110102050226-71740ifoogqdko3a 4163
server/ : launchpad_translations_on_behalf_of_openerp-20110102050017-hq4lz27tt321mirx 3201
web/ : launchpad_translations_on_behalf_of_openerp-20110101050047-zd7e0aomusazdrjz 4229


Environment Information : 
System : Linux-2.6.32-27-generic-x86_64-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-27-generic
Operating System Version : #49-Ubuntu SMP Thu Dec 2 00:51:09 UTC 2010
Operating System Architecture : 64bit
Operating System Locale : vi_VN.UTF8
Python Version : 2.6.5
OpenERP-Client Version : 6.0.0-rc1-1
Last revision No. & ID :1750 launchpad_translations_on_behalf_of_openerp-20110101050037-a37akkwwtjflfxw3
Traceback (most recent call last):
  File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/service/web_services.py", line 598, in dispatch
    res = fn(db, uid, *params)
  File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/osv/orm.py", line 1609, in fields_view_get
    _rec_name = self._columns.keys()[0]
IndexError: list index out of range





References