Le 16/12/2013 02:56, Ian Haywood a écrit : > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > A user of our program is getting this error. > > 16/12/2013 10:29:11 [ERROR] Invalid object > 16/12/2013 10:29:11 [ERROR] _DefaultStock.LoadImage.14 > 16/12/2013 10:29:11 [ERROR] Stock._get.507 > > the offending line of code is this: > > If Message.warning(smsg, "Yes", "No") = 1 Then > > Looks like Gambas can't find the right icon for the "Warning" dialog > box, presumably it's not installed correctly. > > I can't reproduce it myself: works fine on my box. > Is there any way to know what icon file gambas is looking for? > > as a feature request: could gambas fail more gracefully: i.e. not show > the icon and produce a warning message, instead of crashing completely? > > Ian
You can try to set the GB_STOCK_DEBUG environment variable to "1", and see if you are more details about the error. Normally, you should not have any error on Stock._get.507. Which version of Gambas do you use? What returns the IDE system information dialog? Please give some details! -- Benoît Minisini ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user