← Back to team overview

credativ team mailing list archive

[Bug 1009344] [NEW] Generate Records Issue in 6.0 openupgrade-server

 

Public bug reported:

In OPenupgrade-server/6.0 , i installed the Openupgrade development module, after installing some modules/install All modules
 when i click on Generate Records, its showing an error as below :

Environment Information : 
System : Linux-2.6.32-21-generic-i686-with-Ubuntu-10.04-lucid
OS Name : posix
Distributor ID:	Ubuntu
Description:	Ubuntu 10.04 LTS
Release:	10.04
Codename:	lucid
Operating System Release : 2.6.32-21-generic
Operating System Version : #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010
Operating System Architecture : 32bit
Operating System Locale : en_IN.ISO8859-1
Python Version : 2.6.5
OpenERP-Client Version : 6.0.3
Last revision No. & ID :1938 xal@xxxxxxxxxxx-20120224095930-dekoipi6bfvsdytr
Traceback (most recent call last):
  File "/home1/muraliv/upgrade_6.0_new/6.0/bin/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home1/muraliv/upgrade_6.0_new/6.0/bin/service/web_services.py", line 599, in dispatch
    res = fn(db, uid, *params)
  File "/home1/muraliv/upgrade_6.0_new/6.0/bin/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home1/muraliv/upgrade_6.0_new/6.0/bin/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home1/muraliv/upgrade_6.0_new/6.0/bin/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home1/muraliv/upgrade_6.0_new/6.0/bin/addons/openupgrade_records/model/generate_records_wizard.py", line 85, in generate
    self.write(cr, uid, ids, {'state': 'ready'})
  File "/home1/muraliv/upgrade_6.0_new/6.0/bin/osv/orm.py", line 2003, in write
    self.datas[object_id].update(vals2)
KeyError: 1


Thanks,
Murali Krishna,

** Affects: openupgrade-server
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of
OpenUpgrade Committers, which is the registrant for OpenUpgrade Server.
https://bugs.launchpad.net/bugs/1009344

Title:
  Generate Records Issue in 6.0 openupgrade-server

Status in OpenUpgrade Server:
  New

Bug description:
  In OPenupgrade-server/6.0 , i installed the Openupgrade development module, after installing some modules/install All modules
   when i click on Generate Records, its showing an error as below :

  Environment Information : 
  System : Linux-2.6.32-21-generic-i686-with-Ubuntu-10.04-lucid
  OS Name : posix
  Distributor ID:	Ubuntu
  Description:	Ubuntu 10.04 LTS
  Release:	10.04
  Codename:	lucid
  Operating System Release : 2.6.32-21-generic
  Operating System Version : #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010
  Operating System Architecture : 32bit
  Operating System Locale : en_IN.ISO8859-1
  Python Version : 2.6.5
  OpenERP-Client Version : 6.0.3
  Last revision No. & ID :1938 xal@xxxxxxxxxxx-20120224095930-dekoipi6bfvsdytr
  Traceback (most recent call last):
    File "/home1/muraliv/upgrade_6.0_new/6.0/bin/netsvc.py", line 489, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/home1/muraliv/upgrade_6.0_new/6.0/bin/service/web_services.py", line 599, in dispatch
      res = fn(db, uid, *params)
    File "/home1/muraliv/upgrade_6.0_new/6.0/bin/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home1/muraliv/upgrade_6.0_new/6.0/bin/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home1/muraliv/upgrade_6.0_new/6.0/bin/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home1/muraliv/upgrade_6.0_new/6.0/bin/addons/openupgrade_records/model/generate_records_wizard.py", line 85, in generate
      self.write(cr, uid, ids, {'state': 'ready'})
    File "/home1/muraliv/upgrade_6.0_new/6.0/bin/osv/orm.py", line 2003, in write
      self.datas[object_id].update(vals2)
  KeyError: 1

  
  Thanks,
  Murali Krishna,

To manage notifications about this bug go to:
https://bugs.launchpad.net/openupgrade-server/+bug/1009344/+subscriptions


Follow ups

References