← Back to team overview

openerp-india team mailing list archive

[Bug 1080551] Re: [7.0] Unable to import products

 

** Branch linked: lp:~openerp-dev/openobject-addons/trunk-
bug-1080551-nco

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

Title:
  [7.0] Unable to import products

Status in OpenERP Addons (modules):
  Fix Committed

Bug description:
  In 6.1, I was able to import products ...
  But it does not seem to be working in 7.0
  Using the most basic upload file, I get the following error 

  OpenERP Server Error
  Client Traceback (most recent call last):
    File "/opt/openerp/server/openerp/addons/web/http.py", line 192, in dispatch
      response["result"] = method(self, **self.params)
    File "/opt/openerp/server/openerp/addons/web/controllers/main.py", line 1235, in call_kw
      return self._call_kw(req, model, method, args, kwargs)
    File "/opt/openerp/server/openerp/addons/web/controllers/main.py", line 1197, in _call_kw
      return getattr(req.session.model(model), method)(*args, **kwargs)
    File "/opt/openerp/server/openerp/addons/web/session.py", line 42, in proxy
      result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
    File "/opt/openerp/server/openerp/addons/web/session.py", line 30, in proxy_method
      result = self.session.send(self.service_name, method, *args)
    File "/opt/openerp/server/openerp/addons/web/session.py", line 105, in send
      raise xmlrpclib.Fault(openerp.tools.exception_to_unicode(e), formatted_info)

  
  Server Traceback (most recent call last):
    File "/opt/openerp/server/openerp/addons/web/session.py", line 91, in send
      return openerp.netsvc.dispatch_rpc(service_name, method, args)
    File "/opt/openerp/server/openerp/netsvc.py", line 361, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/opt/openerp/server/openerp/service/web_services.py", line 596, in dispatch
      res = fn(db, uid, *params)
    File "/opt/openerp/server/openerp/osv/osv.py", line 167, in execute_kw
      return self.execute(db, uid, obj, method, *args, **kw or {})
    File "/opt/openerp/server/openerp/osv/osv.py", line 121, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/opt/openerp/server/openerp/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/opt/openerp/server/openerp/osv/osv.py", line 164, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/opt/openerp/server/openerp/addons/base_import/models.py", line 320, in do
      cr, uid, import_fields, data, context=context)
    File "/opt/openerp/server/openerp/osv/orm.py", line 1363, in load
      **PGERROR_TO_OE[e.pgcode](self, fg, info, e)))
    File "/opt/openerp/server/openerp/osv/orm.py", line 5221, in convert_pgerror_23502
      field_name = m.group('field')
  AttributeError: 'NoneType' object has no attribute 'group'

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


References