← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 697129] Re: import error in v6rc2

 

@Nima-k2:
For more complex migrations, we have been developing a complete incremental migration process, so OpenERP (the Publisher) can take care of migrations automatically as part of the regular Publisher's Warranty contract. This is explained in more details on http://www.openerp.com/services/subscribe-onsite
>From what I've heard the migration team will process the first actual customer migrations as of February 2011 (beta tests are already ongoing)

There are also ongoing efforts in the community to develop migration
scripts, probably more suited to experienced OpenERP specialists, who
are able to diagnose and troubleshoot any data migration/inconsistency
issue themselves. I don't know exactly how far these efforts have gone
yet, maybe others can comment on this.

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/697129

Title:
  import error in v6rc2

Status in OpenObject Server:
  Confirmed

Bug description:
  hi,
i am trying to manually migrate from v5.0.15 to v6.rc2.  i am trying by simple export and import method. is that wrong?

anyway,i got some problems so i thought maybe i should familiarize with the process a little more.s i made a new database with demo data loaded in v6 and another configured but emty database .i tried to import/export in the same versions from loaded with demo data databse to the empty one.

with this senario i got this exception.

i go to address book in sales and export with these fields: account payable and recievable and the name. 
i import this csv file in the empty database and everything is dandy.
 
but as soon as i add contacts and contacts name,when i want to import it gives :
  File "/home/nima/Desktop/openerp-server-6.0.0-rc2/bin/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/nima/Desktop/openerp-server-6.0.0-rc2/bin/service/web_services.py", line 598, in dispatch
    res = fn(db, uid, *params)
  File "/home/nima/Desktop/openerp-server-6.0.0-rc2/bin/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/nima/Desktop/openerp-server-6.0.0-rc2/bin/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/nima/Desktop/openerp-server-6.0.0-rc2/bin/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/nima/Desktop/openerp-server-6.0.0-rc2/bin/osv/orm.py", line 858, in import_data
    process_liness(self, datas, [], current_module, self._name, fields_def, position=position)
  File "/home/nima/Desktop/openerp-server-6.0.0-rc2/bin/osv/orm.py", line 791, in process_liness
    res2 = process_liness(self, datas, prefix + [field[len(prefix)]], current_module, relation_obj._name, newfd, pos, first)
  File "/home/nima/Desktop/openerp-server-6.0.0-rc2/bin/osv/orm.py", line 767, in process_liness
    if field[len(prefix)]=='id':
IndexError: list index out of range

i don't get an idea what causes this error.





References