What steps will reproduce the problem?
This is speculative.
1. Have someone add you as a new contact.
What is the expected output? What do you see instead?
I get
(0) [_core,7782,MainLoop] Traceback (most recent call last):
(0) [_core,7782,MainLoop] File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-
packages/wx-2.9.1-osx_cocoa/wx/_core.py", line 16291, in <lambda>
(0) [_core,7782,MainLoop] lambda event: event.callable(*event.args, **event.kw)
)
(0) [_core,7782,MainLoop] File
"/Users/steve/Desktop/Downloads/src/tc_gui.py", line 922, in
onBuddyStatusChanged
(0) [_core,7782,MainLoop] self.SetItemImage(index, self.il_idx[buddy.status])
(0) [_core,7782,MainLoop] File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-
packages/wx-2.9.1-osx_cocoa/wx/_controls.py", line 4760, in SetItemImage
(0) [_core,7782,MainLoop] return _controls_.ListCtrl_SetItemImage(*args,
**kwargs)
(0) [_core,7782,MainLoop] wx._core
(0) [_core,7782,MainLoop] .
(0) [_core,7782,MainLoop] PyAssertionError
(0) [_core,7782,MainLoop] :
(0) [_core,7782,MainLoop] C++ assertion "id >= 0 && (size_t)id <
GetItemCount()" failed at ../src/generic/listctrl.cpp(3150) in SetItem():
invalid item index in
I believe that FindItem() is returning -1. I didn't look into it, but I suspect
the buddy list is trying to update the status before adding the new user.
What version of the product are you using? On what operating system?
2011-01-13, Mac OS X 10.5.8 using wxWidgets 2.9.1 and wxPython 2.9.1.1.
Original issue reported on code.google.com by schecko...@gmail.com on 14 Jan 2011 at 6:28
Original issue reported on code.google.com by
schecko...@gmail.com
on 14 Jan 2011 at 6:28