New custom search bug: argument 2 of QComboBox.addItem() has an invalid type
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KDE OpenObject Client |
New
|
Undecided
|
Unassigned |
Bug Description
The new custom search widget, added on revno 1502, seems to be causing problems on my install. I cannot open any 'tree' view cause the custom widget fails:
Traceback (most recent call last):
File "/usr/local/
self.
File "/usr/local/
Api.
File "./Koo/koo.py", line 147, in executeKeyword
return Koo.Actions.
File "/usr/local/
Api.
File "./Koo/koo.py", line 144, in executeAction
Koo.
File "/usr/local/
target=target )
File "./Koo/koo.py", line 153, in createWindow
view_type, window, context, mode, name, autoReload, target )
File "/usr/local/
context=
File "/usr/local/
self.
File "/usr/local/
self.
File "/usr/local/
self.setView( self.currentView() )
File "/usr/local/
self.
File "/usr/local/
self.
File "/usr/local/
self.
File "/usr/local/
self.addItem()
File "/usr/local/
filterItem.
File "/usr/local/
self.
TypeError: argument 2 of QComboBox.addItem() has an invalid type
A Dijous, 22 de juliol de 2010, Borja López Soilán (Pexego) va escriure: lib/python2. 6/dist- packages/ Koo/Search/ CustomSearchFor mWidget. p addItem( field[1], field[0] )
> "/usr/local/
> y", line 116, in setup self.uiField.
> TypeError: argument 2 of QComboBox.addItem() has an invalid type
It works for me, what's the value of field[0]?
-- www.NaN- tic.com
Albert Cervera i Areny
http://
OpenERP Partners
Mòbil: +34 669 40 40 18
http:// twitter. com/albertnan albert- nan.blogspot. com
http://