openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #24254
[Bug 1136204] Re: customer import worked first time next import returned error message
For anyone looking at this, I got the same error. It was because the
last line of the csv file was empty. Check you don't have a trailing
newline at the end.
--
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/1136204
Title:
customer import worked first time next import returned error message
Status in OpenERP Addons (modules):
Invalid
Bug description:
OpenERP Server Error Client Traceback (most recent call last): File
"/opt/openerp/v7/web/addons/web/http.py", line 195, in dispatch
response["result"] = method(self, *self.params) File
"/opt/openerp/v7/web/addons/web/controllers/main.py", line 1079, in
call_kw return self._call_kw(req, model, method, args, kwargs) File
"/opt/openerp/v7/web/addons/web/controllers/main.py", line 1071, in
_call_kw return getattr(req.session.model(model), method)(args,
**kwargs) File "/opt/openerp/v7/web/addons/web/session.py", line 43,
in proxy result = self.proxy.execute_kw(self.session._db,
self.session._uid, self.session._password, self.model, method, args,
kw) File "/opt/openerp/v7/web/addons/web/session.py", line 31, in
proxy_method result = self.session.send(self.service_name, method,
*args) File "/opt/openerp/v7/web/addons/web/session.py", line 104, in
send raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)
Server Traceback (most recent call last): File
"/opt/openerp/v7/web/addons/web/session.py", line 90, in send return
openerp.netsvc.dispatch_rpc(service_name, method, args) File
"/opt/openerp/v7/server/openerp/netsvc.py", line 295, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method,
params) File "/opt/openerp/v7/server/openerp/service/web_services.py",
line 614, in dispatch res = fn(db, uid, params) File
"/opt/openerp/v7/server/openerp/osv/osv.py", line 188, in execute_kw
return self.execute(db, uid, obj, method, *args, *kw or {}) File
"/opt/openerp/v7/server/openerp/osv/osv.py", line 131, in wrapper
return f(self, dbname, args, *kwargs) File
"/opt/openerp/v7/server/openerp/osv/osv.py", line 198, in execute res
= self.execute_cr(cr, uid, obj, method, args, *kw) File
"/opt/openerp/v7/server/openerp/osv/osv.py", line 185, in execute_cr
return getattr(object, method)(cr, uid, args, *kw) File
"/opt/openerp/v7/server/openerp/addons/base_import/models.py", line
310, in do record, fields, options, context=context) File
"/opt/openerp/v7/server/openerp/addons/base_import/models.py", line
277, in _convert_import_data row for row in itertools.imap(mapper,
rows_to_import) IndexError: list index out of range Ok
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1136204/+subscriptions