← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 727910] Re: Base module recorder & smtpclient server actions Error

 

** Changed in: openobject-addons
       Status: New => Triaged

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

Title:
  Base module recorder & smtpclient server actions Error

Status in OpenERP Modules (addons):
  Triaged

Bug description:
  Environnement :
  Ubuntu desktop 10.10
  Openerp server 6.0.1
  Trunk extra-addons

  When I try to export server actions using the module recorder i get
  this error:

  Environment Information : 
  System : Linux-2.6.35-27-generic-pae-i686-with-Ubuntu-10.10-maverick
  OS Name : posix
  Distributor ID:	Ubuntu
  Description:	Ubuntu 10.10
  Release:	10.10
  Codename:	maverick
  Operating System Release : 2.6.35-27-generic-pae
  Operating System Version : #48-Ubuntu SMP Tue Feb 22 21:46:58 UTC 2011
  Operating System Architecture : 32bit
  Operating System Locale : en_US.UTF8
  Python Version : 2.6.6
  OpenERP-Client Version : 6.0.1
  Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
    File "/home/xxxxxxxx/Application/openerp/openerp-server-6.0.1/bin/netsvc.py", line 489, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/home/xxxxxxxx/Application/openerp/openerp-server-6.0.1/bin/service/web_services.py", line 636, in dispatch
      res = fn(db, uid, *params)
    File "/home/xxxxxxxx/Application/openerp/openerp-server-6.0.1/bin/service/web_services.py", line 663, in exp_execute
      return self._execute(db, uid, wiz_id, datas, action, context)
    File "/home/xxxxxxxx/Application/openerp/openerp-server-6.0.1/bin/service/web_services.py", line 645, in _execute
      return wiz.execute(db, uid, self.wiz_datas[wiz_id], action, context)
    File "/home/xxxxxxxx/Application/openerp/openerp-server-6.0.1/bin/wizard/__init__.py", line 177, in execute
      res = self.execute_cr(cr, uid, data, state, context)
    File "/home/xxxxxxxx/Application/openerp/openerp-server-6.0.1/bin/wizard/__init__.py", line 72, in execute_cr
      action_res = action(self, cr, uid, data, context)
    File "/home/xxxxxxxx/Application/openerp/openerp-server-6.0.1/bin/addons/base_module_record/wizard/base_module_record_objects.py", line 96, in inter_call
      res=base_module_save._create_module(self,cr, uid, data, context)
    File "/home/xxxxxxxx/Application/openerp/openerp-server-6.0.1/bin/addons/base_module_record/wizard/base_module_save.py", line 137, in _create_module
      res_xml = mod.generate_xml(cr, uid)
    File "/home/xxxxxxxx/Application/openerp/openerp-server-6.0.1/bin/addons/base_module_record/base_module_record.py", line 472, in generate_xml
      res_list,noupdate = self._generate_object_xml(cr, uid, rec[1], rec[2], doc, rec[3])
    File "/home/xxxxxxxx/Application/openerp/openerp-server-6.0.1/bin/addons/base_module_record/base_module_record.py", line 388, in _generate_object_xml
      record,noupdate = self._create_record(cr, uid, doc, rec[2], rec[5], id)
    File "/home/xxxxxxxx/Application/openerp/openerp-server-6.0.1/bin/addons/base_module_record/base_module_record.py", line 172, in _create_record
      name = relation_pool.read(cr, uid, val,[fld_nm])[fld_nm] or False
    File "/home/xxxxxxxx/Application/openerp/openerp-server-6.0.1/bin/addons/smtpclient/smtpclient.py", line 166, in read
      result = override_password(result)
    File "/home/xxxxxxxx/Application/openerp/openerp-server-6.0.1/bin/addons/smtpclient/smtpclient.py", line 160, in override_password
      for field in o[0]:
  KeyError: 0

  Without server actions its exporting fine.
  I'm using smtpclient's custom server actions in one of my workflow.

  Thx.



References