[wxPython] What causes this error?

I have a user who is getting the following error. He is using wxPython on
Win98, python 1.5.2:

"..\msw\notebook.cpp(248) assert failed: notebook page out of range"

What might be the cause of it? I can't find the file anywhere in my
wxpython directory. I also cannot recreate the error to try to track it
down myself.

Thanx!
Eric

<!-- ****************************************************************
Eric Freese Email: eric@isogen.com
Senior Consultant Voice: 651 636 9180
ISOGEN International/DataChannel Fax: 651 636 9191
1611 West County Road B - Suite 204 WWW: www.isogen.com
St. Paul, MN 55113 www.datachannel.com
***************************************************************** -->

I have a user who is getting the following error. He is using wxPython on
Win98, python 1.5.2:

"..\msw\notebook.cpp(248) assert failed: notebook page out of range"

What might be the cause of it? I can't find the file anywhere in my
wxpython directory. I also cannot recreate the error to try to track it
down myself.

That's a file and line number from the wxWindows sources. If you tell me
which version of wxPython this occurs in then I can tell you exactly what's
on line 248, but you are calling some wxNotebook method with a notebook page
number parameter and it is not a valid value, (less than zero or larger than
the number of pages.) SetSelection, SetPageText, GetPageText, GetPageImage,
SetPageImage are all in the neighborhood of line 248 in the current code and
all have an assertion with a matching message.

ยทยทยท

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