[Gambas-user] stock icons

Benoît Minisini gambas at ...1...
Mon Dec 16 03:01:05 CET 2013


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




More information about the User mailing list