[wingide-users] scripts getting called multiple times on start up

Wingware Support support at wingware.com
Thu Sep 18 13:07:59 MDT 2008

Brec Carson wrote:
> I've noticed that a plugin script I'm developing for wing is getting 
> invoked multiple times when the tool first launches.  This seems like a 
> bug.  I'm basically following the example provided in one of the example 
> scripts to call a startup method when the script gets loaded.  What this 
> does is simply define a method and then afterwards call that method.  
> This is done at the bottom of the script to ensure everything else is 
> already loaded.  I'm relatively new to this, so is that the best way to 
> call a method on application start?

Yes, for some reason I'm seeing them loaded 3X.  We'll try to fix that,
although it's best to write scripts to handle reload if you can, as the
IDE does reload them automatically if they change, or if another script
in the same directory changes.

Thanks for reporting this!


Stephan Deibel
Wingware | Python IDE
Advancing Software Development


More information about the wingide-users mailing list