c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #19128
[Bug 718080] Re: TypeError: value is of the wrong type for this column
** Changed in: openobject-client
Status: Confirmed => Fix Committed
--
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/718080
Title:
TypeError: value is of the wrong type for this column
Status in OpenERP GTK Client:
Fix Committed
Bug description:
Steps
* install openerp gtk client (6.0 branch revno 1808) on ubuntu 11.04
* login to server
Get following traceback:
Traceback (most recent call last):
File "/home/stan/src/openerp/6.0/client/bin/openerp-client.py", line 135, in <module>
win.sig_login()
File "/src/openerp/6.0/client/bin/modules/gui/main.py", line 1029, in sig_login
id = self.sig_win_menu(quiet=False)
File "/src/openerp/6.0/client/bin/modules/gui/main.py", line 1145, in sig_win_menu
res = self.sig_win_new(widget, type='menu_id', quiet=quiet)
File "/src/openerp/6.0/client/bin/modules/gui/main.py", line 1168, in sig_win_new
obj.execute(act_id, {'window':self.window})
File "/src/openerp/6.0/client/bin/modules/action/main.py", line 82, in execute
self._exec_action(res,datas,context)
File "/src/openerp/6.0/client/bin/modules/action/main.py", line 143, in _exec_action
limit=datas['limit'], auto_refresh=datas['auto_refresh'], auto_search = datas['auto_search'], search_view = datas['search_view'])
File "/src/openerp/6.0/client/bin/modules/gui/window/__init__.py", line 66, in create
window=window, name=name)
File "/src/openerp/6.0/client/bin/modules/gui/window/tree.py", line 105, in __init__
self.sig_reload()
File "/src/openerp/6.0/client/bin/modules/gui/window/tree.py", line 112, in sig_reload
self.tree_sc.update()
File "/src/openerp/6.0/client/bin/modules/gui/window/view_tree/view_tree_sc.py", line 61, in update
self.COLUMN_ID, s['id']
TypeError: value is of the wrong type for this column
The treestore object in ubuntu 11.04 appears to be strict about the values that it accepts. Presumably this is due to a newer pygtk and/or gtk version. Similar problems have occurred with other pygtk apps; https://bugs.launchpad.net/ubuntu/+source/meld/+bug/703603.
References