← Back to team overview

openerp-india team mailing list archive

[Bug 1080943] [NEW] [7.0] Unable to import meetings

 

Public bug reported:

Hi,

I was able to import meetings in 6.1 but not in 7.0. For the purpose of
reporting, I have included only the "meeting subject" header in the
attached file.

The error output looks similar to the output reported in
(https://bugs.launchpad.net/openobject-addons/+bug/1080551) but I am not
sure if fixing products would automatically fix this meetings issue.

Step to replicate the issue
1. Import attach file
2. Change the header to "Meeting subject"
3. Click on validate

One last observation, under crm_meeting database table, the column name
is "name" while closest import header I can find is "meeting subject".
Hope this helps.


regards


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'

** Affects: openobject-addons
     Importance: Undecided
         Status: New

** Attachment added: "a.csv"
   https://bugs.launchpad.net/bugs/1080943/+attachment/3439138/+files/a.csv

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

Title:
  [7.0] Unable to import meetings

Status in OpenERP Addons (modules):
  New

Bug description:
  Hi,

  I was able to import meetings in 6.1 but not in 7.0. For the purpose
  of reporting, I have included only the "meeting subject" header in the
  attached file.

  The error output looks similar to the output reported in
  (https://bugs.launchpad.net/openobject-addons/+bug/1080551) but I am
  not sure if fixing products would automatically fix this meetings
  issue.

  Step to replicate the issue
  1. Import attach file
  2. Change the header to "Meeting subject"
  3. Click on validate

  One last observation, under crm_meeting database table, the column
  name is "name" while closest import header I can find is "meeting
  subject". Hope this helps.

  
  regards


  
  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/1080943/+subscriptions


Follow ups

References