[wxPython] Couldn't retrieve information about list control n

Ok, got that one fixed. I was doing this before there
was anything in the list.

item = self.list.GetItem(row, 6)

I was not using the hybrid version though. To double check
I installed both versions and they both gave me the dialog
box error msg. Linux showed no error at all, but the way
my code was written, I wouldn't have expected it. Anyhow:

That hybrid version is pretty nifty. It showed me
this:

11:00:47: There were memory leaks.
11:00:47: ----- Memory dump -----
11:00:47: wxTimer at $15C2678, size 32
11:00:47: wxTimer at $15C5678, size 32
11:00:47: wxTimer at $15DBA98, size 32
11:00:47: wxListItem at $15E0378, size 52
11:00:47:
11:00:47: ----- Memory statistics -----
11:00:47: 1 objects of class wxListItem, total size 52
11:00:47: 3 objects of class wxTimer, total size 96
11:00:47:
11:00:47: Number of object items: 4
11:00:47: Number of non-object items: 0
11:00:47: Total allocated size: 148
11:00:47:

I couldn't find anything wrong with my code, so I tried
the wxTimer in demo.py and it had the same problem:

C:\Python20\wxPython\demo>python demo.py
11:05:43: There were memory leaks.
11:05:43: ----- Memory dump -----
11:05:43: wxTimer at $1450E48, size 32
11:05:43:
11:05:43: ----- Memory statistics -----
11:05:43: 1 objects of class wxTimer, total size 32
11:05:43:
11:05:43: Number of object items: 1
11:05:43: Number of non-object items: 0
11:05:43: Total allocated size: 32
11:05:43:

Should I worry?

ยทยทยท

>
> I get this error with Python 2.0, wxPython 2.2 and 2.30
> on Windows 98, but not in Linux:
>
> "Couldn't retrieve information about list control 1"
>
...
>
> Any ideas?

You must be using the -hybrid version. That's an error log message from the
wxListCtrl::GetItem method, reporting a failure in the ListView_GetItem API
call. Can you narrow it down to the specific location in your code where
the problem shows up? Can you make a small sample to send to me?

--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!

_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwindows.org
http://lists.wxwindows.org/mailman/listinfo/wxpython-users

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com