Sean Meighan

Software => Bugs in xLights/Nutcracker => Topic started by: stampedeboss on December 05, 2016, 11:06:05 PM

Title: Gdk-CRITICAL **: IA__gdk_gc_set_foreground: assertion 'color != NULL' failed
Post by: stampedeboss on December 05, 2016, 11:06:05 PM
When running xLights .53 on linux and using the -r mode,  I receive a lot of the above messages.  Doesn't matter which profile I use.  I don't see the issue outside of using the -r.

According to what I've read, it appears something is being initialized and since the window isn't there its having an issue.
Title: Re: Gdk-CRITICAL **: IA__gdk_gc_set_foreground: assertion 'color != NULL' failed
Post by: Gilrock on December 06, 2016, 06:53:59 AM
Cool so if I ever use Linux don't use -r mode whatever that is.
Title: Re: Gdk-CRITICAL **: IA__gdk_gc_set_foreground: assertion 'color != NULL' failed
Post by: dkulp on December 06, 2016, 06:58:12 AM
When running xLights .53 on linux and using the -r mode,  I receive a lot of the above messages.  Doesn't matter which profile I use.  I don't see the issue outside of using the -r.

According to what I've read, it appears something is being initialized and since the window isn't there its having an issue.

Why isn't the window there?    The -r flag SHOULD be bringing up the xLights window and then render everything.  Thus, the window should be there.
Title: Re: Gdk-CRITICAL **: IA__gdk_gc_set_foreground: assertion 'color != NULL' failed
Post by: stampedeboss on December 07, 2016, 10:35:31 PM
The window does show, my guess and guess only is perhaps something in the -r logic is trying to initialize before some resource is created.  Not sure where in the code to look.
Title: Re: Gdk-CRITICAL **: IA__gdk_gc_set_foreground: assertion 'color != NULL' failed
Post by: debenham on December 08, 2016, 12:48:07 AM
It is a gtk issue (or more accurately a problem with how wxwidgets uses gtk).   It is caused by wxwidgets not initialising widgets properly)
It is fixed in gtk3 - but there are other problem with wxwidgets that stops us from using gtk3 instead of gtk2.
You should be able to safely ignore those messages - things will still work

Sent from my Nexus 6P using Tapatalk

Title: Re: Gdk-CRITICAL **: IA__gdk_gc_set_foreground: assertion 'color != NULL' failed
Post by: stampedeboss on December 11, 2016, 01:00:38 AM
Thank You