c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #21809
[Bug 753277] Re: [PS] Trying to import a csv file, the client crashed without any notice
just downloaded the latest from bzr.
This fix did not work, and the GTK client continued to crash.
Client log:
michael@ubuntu:~/openerp602/client/bin$ ./openerp-client.py
No LSB modules are available.
ERROR:common.message:Message Database ID doesn't exist: product.category : 32:
Environment Information :
System : Linux-2.6.31-14-generic-i686-with-Ubuntu-9.10-karmic
OS Name : posix
Distributor ID: Ubuntu
Description: Ubuntu 9.10
Release: 9.10
Codename: karmic
Operating System Release : 2.6.31-14-generic
Operating System Version : #48-Ubuntu SMP Fri Oct 16 14:04:26 UTC 2009
Operating System Architecture : 32bit
Operating System Locale : en_US.UTF8
Python Version : 2.6.4
OpenERP-Client Version : 6.0.2
Last revision No. & ID :1834 launchpad_translations_on_behalf_of_openerp-20110412060639-e8almroemimcr83d
Traceback (most recent call last):
File "/home/michael/openerp602/server/bin/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/home/michael/openerp602/server/bin/service/web_services.py", line 599, in dispatch
res = fn(db, uid, *params)
File "/home/michael/openerp602/server/bin/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/michael/openerp602/server/bin/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/michael/openerp602/server/bin/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/michael/openerp602/server/bin/osv/orm.py", line 868, in import_data
process_liness(self, datas, [], current_module, self._name, fields_def, position=position)
File "/home/michael/openerp602/server/bin/osv/orm.py", line 787, in process_liness
data_res_id = _get_id(model_name, line[i], current_module, '.id')
File "/home/michael/openerp602/server/bin/osv/orm.py", line 726, in _get_id
raise Exception(_("Database ID doesn't exist: %s : %s") %(model_name, id))
Exception: Database ID doesn't exist: product.category : 32
Segmentation fault
michael@ubuntu:~/openerp602/client/bin$ cd ..
michael@ubuntu:~/openerp602/client$ bzr missing
Using saved parent location: http://bazaar.launchpad.net/~openerp/openobject-client/6.0/
Branches are up to date.
michael@ubuntu:~/openerp602/client$
--
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/753277
Title:
[PS] Trying to import a csv file, the client crashed without any
notice
Status in OpenERP GTK Client:
Fix Released
Status in OpenERP Server:
Fix Committed
Bug description:
trunk, revno 3377
* Administration/Customization/Database Structure/Objects, import the
attached csv file
Obtained result : segmentation fault on client side, the GTK client
is closed without any notice
Expected result : catch this error and warn the user
reported by dha, OpenERP Prof. Services
References