← Back to team overview

openerp-india team mailing list archive

[Bug 939415] [NEW] SMTPClient : Read() method does not set **** to all Passwords and assumed ids as list

 

Public bug reported:

hello am using smtp client of:
Tiny/Axelor 2/18/12 6.0 1.0 lp:openobject-addons/extra-6.0
i installed it successfully and tried to configure the email server.and when i pressed the save button it showed the following error:
Traceback (most recent call last):
File "/home/pravitha/workspace/openERP/src/openerp-server/bin/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/home/pravitha/workspace/openERP/src/openerp-server/bin/service/web_services.py", line 599, in dispatch
res = fn(db, uid, *params)
File "/home/pravitha/workspace/openERP/src/openerp-server/bin/addons/audittrail/audittrail.py", line 518, in execute
res = my_fct(db, uid, model, method, *args)
File "/home/pravitha/workspace/openERP/src/openerp-server/bin/addons/audittrail/audittrail.py", line 502, in my_fct
return fct_src(db, uid_orig, model, method, *args)
File "/home/pravitha/workspace/openERP/src/openerp-server/bin/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/pravitha/workspace/openERP/src/openerp-server/bin/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/pravitha/workspace/openERP/src/openerp-server/bin/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/pravitha/workspace/openERP/src/openerp-server/bin/addons/smtpclient/smtpclient.py", line 166, in read
result = override_password(result)
File "/home/pravitha/workspace/openERP/src/openerp-server/bin/addons/smtpclient/smtpclient.py", line 160, in override_password
for field in o[0]:
KeyError: 0

does anyone know how to resolve it?please

_________________
Regards,
Nightfury

** Affects: openobject-addons
     Importance: Low
     Assignee: Bipin Rathod(SerpentCS) (brathod-serpentcs)
         Status: Fix Released

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

** Changed in: openobject-addons
     Assignee: (unassigned) => Serpent Consulting Services (serpent-consulting-services)

** Changed in: openobject-addons
     Assignee: Serpent Consulting Services (serpent-consulting-services) => Bipin Rathod(SerpentCS) (brathod-serpentcs)

** Changed in: openobject-addons
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/939415

Title:
  SMTPClient : Read() method does not set **** to all Passwords and
  assumed ids as list

Status in OpenERP Addons (modules):
  Fix Released

Bug description:
  hello am using smtp client of:
  Tiny/Axelor 2/18/12 6.0 1.0 lp:openobject-addons/extra-6.0
  i installed it successfully and tried to configure the email server.and when i pressed the save button it showed the following error:
  Traceback (most recent call last):
  File "/home/pravitha/workspace/openERP/src/openerp-server/bin/netsvc.py", line 489, in dispatch
  result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/pravitha/workspace/openERP/src/openerp-server/bin/service/web_services.py", line 599, in dispatch
  res = fn(db, uid, *params)
  File "/home/pravitha/workspace/openERP/src/openerp-server/bin/addons/audittrail/audittrail.py", line 518, in execute
  res = my_fct(db, uid, model, method, *args)
  File "/home/pravitha/workspace/openERP/src/openerp-server/bin/addons/audittrail/audittrail.py", line 502, in my_fct
  return fct_src(db, uid_orig, model, method, *args)
  File "/home/pravitha/workspace/openERP/src/openerp-server/bin/osv/osv.py", line 122, in wrapper
  return f(self, dbname, *args, **kwargs)
  File "/home/pravitha/workspace/openERP/src/openerp-server/bin/osv/osv.py", line 176, in execute
  res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/pravitha/workspace/openERP/src/openerp-server/bin/osv/osv.py", line 167, in execute_cr
  return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/pravitha/workspace/openERP/src/openerp-server/bin/addons/smtpclient/smtpclient.py", line 166, in read
  result = override_password(result)
  File "/home/pravitha/workspace/openERP/src/openerp-server/bin/addons/smtpclient/smtpclient.py", line 160, in override_password
  for field in o[0]:
  KeyError: 0

  does anyone know how to resolve it?please

  _________________
  Regards,
  Nightfury

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


Follow ups

References