[Gambas-user] Pango-WARNING

user demosthenesk at ...626...
Sat Nov 6 23:43:47 CET 2010


Thanks.

A question, wiil be any Gambas way to find the line for this error in
the future?


On Sat, 2010-11-06 at 16:57 +0100, Benoît Minisini wrote:
> > Hi,
> > 
> > i have an application (VirusCollectionTools) and the output in console
> > gave this.
> > 
> > (VirusCollectionTools-source:6343): Pango-WARNING **: Invalid UTF-8
> > string passed to pango_layout_set_text()
> > 
> > what is this?
> > 
> 
> An invalid UTF-8 string has been set to a GTK+ function. To know where 
> exactly:
> 
> $ cd /path/to/my/project
> $ gbc3 -agt
> $ gdb gbx3
> ...
> $ break g_log
> ... answer 'y' to the question
> $ run
> ... until the program breaks just before displaying the previous warning 
> message
> $ finish
> ... to check that the Pango warning is actually displayed.
> $ p DEBUG_where()
> ... to see the current Gambas code line.
> 
> Regards,
> 






More information about the User mailing list