Comment 2 for bug 1031806

David (dhecar) wrote :

Same Error

Environment Information :
System : Linux-3.2.0-29-generic-pae-i686-with-Ubuntu-12.04-precise
OS Name : posix
Distributor ID: Ubuntu
Description: Ubuntu 12.04.1 LTS
Release: 12.04
Codename: precise
Operating System Release : 3.2.0-29-generic-pae
Operating System Version : #46-Ubuntu SMP Fri Jul 27 17:25:43 UTC 2012
Operating System Architecture : 32bit
Operating System Locale : ca_ES.UTF-8
Python Version : 2.7.3
OpenERP-Client Version : 6.1.1
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
  File "/opt/legacy/openerp/server/openerp/wsgi/core.py", line 79, in xmlrpc_return
    result = openerp.netsvc.dispatch_rpc(service, method, params)
  File "/opt/legacy/openerp/server/openerp/netsvc.py", line 360, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/opt/legacy/openerp/server/openerp/service/web_services.py", line 586, in dispatch
    res = fn(db, uid, *params)
  File "/opt/legacy/openerp/server/openerp/osv/osv.py", line 121, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/opt/legacy/openerp/server/openerp/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/opt/legacy/openerp/server/openerp/osv/osv.py", line 164, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/opt/legacy/openerp/server/openerp/addons/magentoerpconnect/magerp_core.py", line 108, in core_sync
    self.pool.get('sale.shop').mage_import_base(cr, uid, core_imp_conn, referential_id, {'magento_shop':True, 'company_id':self.pool.get('res.users').browse(cr, uid, uid).company_id.id})
  File "/opt/legacy/openerp/server/openerp/addons/magentoerpconnect/magerp_osv.py", line 288, in mage_import_base
    result = self.ext_import(cr, uid, data, external_referential_id, defaults, context)
  File "/opt/legacy/openerp/server/openerp/addons/base_external_referentials/external_osv.py", line 615, in ext_import
    context=context)
  File "/opt/legacy/openerp/server/openerp/addons/base_external_referentials/external_osv.py", line 545, in _ext_import_one_cr
    context=import_ctx)
  File "/opt/legacy/openerp/server/openerp/addons/base_external_referentials/external_osv.py", line 486, in _ext_import_one
    existing_rec_id = self.oe_create(cr, uid, vals, referential_id, defaults=defaults, context=context)
  File "/opt/legacy/openerp/server/openerp/addons/base_external_referentials/external_osv.py", line 655, in oe_create
    return self.create(cr, uid, vals, context=context)
  File "/opt/legacy/openerp/server/openerp/osv/orm.py", line 4239, in create
    self.pool.get(object)._store_set_values(cr, user, ids, fields2, context)
  File "/opt/legacy/openerp/server/openerp/osv/orm.py", line 4388, in _store_set_values
    result = self._columns[f].get(cr, self, ids, f, SUPERUSER_ID, context=context)
  File "/opt/legacy/openerp/server/openerp/osv/fields.py", line 1136, in get
    result[id] = self.postprocess(cr, uid, obj, name, result[id], context)
  File "/opt/legacy/openerp/server/openerp/osv/fields.py", line 1110, in postprocess
    result = (value, dict_names[value])
KeyError: 3L