Re: Help, Please: Out of window IDs. Recommend shutting down application.

Robin Dunn <[email protected]> Tue, 19 Jun 2018 16:32:02 -0700 (PDT)
Newsgroups gmane.comp.python.wxpython.devel
Message-ID <[email protected]>

On Tuesday, June 19, 2018 at 10:37:25 AM UTC-7, Pedro Alexandre wrote:
>
> Hello everybody. 
> I need help.
> I'm a beginner programmer. 
> Wxpython a is very good GUI. The best of me. 
> I'm having a serious problem with wxpython. 
> I'm using it to make a medical application to report x-ray 
> But I me having this problem: 
> 13:53:04: Out of window IDs.  Recommend shutting down application.
> 13:53:04: Out of window IDs.  Recommend shutting down application.
> 13:53:04: Out of window IDs.  Recommend shutting down application.
> 13:53:04: Out of window IDs.  Recommend shutting down application. 
> ... 
>
> How could I solve this problem? 
>  
> Below is part of my code:
>


When asking for help it is vital that you provide a short-as-possible and 
runnable code sample. Nobody but you has the time nor inclination to fully 
understand your entire application. Either recreate the problem in an 
application that shows nothing but the problem, or reduce the current code 
to attempt the same. In the process you may actually find the cause of the 
problem yourself and learn what not to do in the future.

For tips about how and why to do this, 
see: https://wiki.wxpython.org/MakingSampleApps, https://stackoverflow.com/help/mcve 
and http://sscce.org/

BTW, Hélio Guilherme's guess is probably correct. Something is probably 
endlessly creating widgets without destroying them. Look for cases where 
you may be creating new instances of widgets instead of just changing the 
label,value,bitmap,whatever of an existing one.

--
Robin

 

-- 
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.