Re: Gtk-WARNING **: Could not find signal handler
Thanks everyone! I´m using eclipse, i i think that i used gmodule-export-2.0 the wrong way. Before i add gmodule-export-2.0 in Cross GCC Linker -> Libraries -> Libraries (-l), adn it gives an error, i think its because don't find this library.. Now i add `pkg-config --libs gmodule-export-2.0` in Cross GCC Linker -> Miscellaneous -> Linker flags after everything that was written and works... Warning dissapears ... Thanks guys!! Às 08:48 de 28/02/2017, Tilo Villwock escreveu: > Well I don't know what else I could say. Either use > > gtk_builder_add_callback_symbol(...) > > to add all the symbols manually or make sure you can link against > gmodule-export-2.0 which on ARM probably means you have to compile and > install it yourself. > > If you have installed it and your linker still can't find it then you > probably need to run ldconfig to update your cache. > > --Tilo > > Am Montag, den 27.02.2017, 18:46 + schrieb Rúben Rodrigues: >> Please help me... >> >> I lost so many hours with this error.. This should work, because the >> same code works in other machine.. But in raspberry pi don't.. >> >> Thanks >> >> >> Às 15:19 de 27/02/2017, Rúben Rodrigues escreveu: >>> Hi, >>> >>> I have the same problem of this topic >>> https://mail.gnome.org/archives/gtk-app-devel-list/2013-December/ms >>> g00037.html >>> >>> I see very similar problems, but didn't find any resolution. >>> >>> I get this error in when i'm debuugin gtk app : Gtk-WARNING **: >>> Could >>> not find signal handler >>> >>> I make this in my code >>> >>> if( ! gtk_builder_add_from_file( builder, "ui.glade", ) ) >>>{ >>>g_warning( "%s", error->message ); >>>g_free( error ); >>>return( 1 ); >>>} >>> >>>/* Allocate data structure */ >>>data = g_slice_new( ChData ); >>> >>>/* Connect signals */ >>>gtk_builder_connect_signals( builder, NULL ); >>> >>> Because of this, all signals configured in glade do not work. >>> The documentation at >>> https://developer.gnome.org/gtk3/stable/GtkBuilder.html#gtk-builder >>> -connect-signals >>> suggests that i should be linking against gmodule-export-2.0, but >>> when i >>> try this, i get this error: >>> /usr/lib/gcc-cross/arm-linux-gnueabihf/5/../../../../arm-linux- >>> gnueabihf/bin/ld: cannot find -lgmodule-export-2.0 >>> >>> Thanks >>> >>> --- >>> Este e-mail foi verificado em termos de vírus pelo software >>> antivírus Avast. >>> https://www.avast.com/antivirus >>> >>> ___ >>> gtk-app-devel-list mailing list >>> gtk-app-devel-list@gnome.org >>> https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list >> >> --- >> Este e-mail foi verificado em termos de vírus pelo software antivírus >> Avast. >> https://www.avast.com/antivirus >> >> ___ >> gtk-app-devel-list mailing list >> gtk-app-devel-list@gnome.org >> https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list --- Este e-mail foi verificado em termos de vírus pelo software antivírus Avast. https://www.avast.com/antivirus ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: Gtk-WARNING **: Could not find signal handler
> pi@raspberrypi:~ $ sudo apt-get install gmodule-export-2.0 As Tilo wrote, you may need to compile it yourself. A quick search seems to indicate that there is gmodule-no-export-2.0 (no export) and gmodule-2.0 (export). If this is true, you may want to look for gmodule-2.0 instead. norbert # apt-file search libgmodule libglib2.0-0: /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0 libglib2.0-0: /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0.4800.0 libglib2.0-0: /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0.4800.1 libglib2.0-dev: /usr/lib/x86_64-linux-gnu/libgmodule-2.0.a libglib2.0-dev: /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so Seems to tell me that these are the packages you'd be looking for. Just a hunch, someone else may know more about it all. Best regards, Norbert ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: Gtk-WARNING **: Could not find signal handler
Hi, I don't find this library .. pi@raspberrypi:~ $ sudo apt-get install gmodule-export-2.0 Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package gmodule-export-2.0 E: Couldn't find any package by regex 'gmodule-export-2.0' Thanks Às 08:48 de 28/02/2017, Tilo Villwock escreveu: > Well I don't know what else I could say. Either use > > gtk_builder_add_callback_symbol(...) > > to add all the symbols manually or make sure you can link against > gmodule-export-2.0 which on ARM probably means you have to compile and > install it yourself. > > If you have installed it and your linker still can't find it then you > probably need to run ldconfig to update your cache. > > --Tilo > > Am Montag, den 27.02.2017, 18:46 + schrieb Rúben Rodrigues: >> Please help me... >> >> I lost so many hours with this error.. This should work, because the >> same code works in other machine.. But in raspberry pi don't.. >> >> Thanks >> >> >> Às 15:19 de 27/02/2017, Rúben Rodrigues escreveu: >>> Hi, >>> >>> I have the same problem of this topic >>> https://mail.gnome.org/archives/gtk-app-devel-list/2013-December/ms >>> g00037.html >>> >>> I see very similar problems, but didn't find any resolution. >>> >>> I get this error in when i'm debuugin gtk app : Gtk-WARNING **: >>> Could >>> not find signal handler >>> >>> I make this in my code >>> >>> if( ! gtk_builder_add_from_file( builder, "ui.glade", ) ) >>>{ >>>g_warning( "%s", error->message ); >>>g_free( error ); >>>return( 1 ); >>>} >>> >>>/* Allocate data structure */ >>>data = g_slice_new( ChData ); >>> >>>/* Connect signals */ >>>gtk_builder_connect_signals( builder, NULL ); >>> >>> Because of this, all signals configured in glade do not work. >>> The documentation at >>> https://developer.gnome.org/gtk3/stable/GtkBuilder.html#gtk-builder >>> -connect-signals >>> suggests that i should be linking against gmodule-export-2.0, but >>> when i >>> try this, i get this error: >>> /usr/lib/gcc-cross/arm-linux-gnueabihf/5/../../../../arm-linux- >>> gnueabihf/bin/ld: cannot find -lgmodule-export-2.0 >>> >>> Thanks >>> >>> --- >>> Este e-mail foi verificado em termos de vírus pelo software >>> antivírus Avast. >>> https://www.avast.com/antivirus >>> >>> ___ >>> gtk-app-devel-list mailing list >>> gtk-app-devel-list@gnome.org >>> https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list >> >> --- >> Este e-mail foi verificado em termos de vírus pelo software antivírus >> Avast. >> https://www.avast.com/antivirus >> >> ___ >> gtk-app-devel-list mailing list >> gtk-app-devel-list@gnome.org >> https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list --- Este e-mail foi verificado em termos de vírus pelo software antivírus Avast. https://www.avast.com/antivirus ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: Gtk-WARNING **: Could not find signal handler
Well I don't know what else I could say. Either use gtk_builder_add_callback_symbol(...) to add all the symbols manually or make sure you can link against gmodule-export-2.0 which on ARM probably means you have to compile and install it yourself. If you have installed it and your linker still can't find it then you probably need to run ldconfig to update your cache. --Tilo Am Montag, den 27.02.2017, 18:46 + schrieb Rúben Rodrigues: > Please help me... > > I lost so many hours with this error.. This should work, because the > same code works in other machine.. But in raspberry pi don't.. > > Thanks > > > Às 15:19 de 27/02/2017, Rúben Rodrigues escreveu: > > Hi, > > > > I have the same problem of this topic > > https://mail.gnome.org/archives/gtk-app-devel-list/2013-December/ms > > g00037.html > > > > I see very similar problems, but didn't find any resolution. > > > > I get this error in when i'm debuugin gtk app : Gtk-WARNING **: > > Could > > not find signal handler > > > > I make this in my code > > > > if( ! gtk_builder_add_from_file( builder, "ui.glade", ) ) > > { > > g_warning( "%s", error->message ); > > g_free( error ); > > return( 1 ); > > } > > > > /* Allocate data structure */ > > data = g_slice_new( ChData ); > > > > /* Connect signals */ > > gtk_builder_connect_signals( builder, NULL ); > > > > Because of this, all signals configured in glade do not work. > > The documentation at > > https://developer.gnome.org/gtk3/stable/GtkBuilder.html#gtk-builder > > -connect-signals > > suggests that i should be linking against gmodule-export-2.0, but > > when i > > try this, i get this error: > > /usr/lib/gcc-cross/arm-linux-gnueabihf/5/../../../../arm-linux- > > gnueabihf/bin/ld: cannot find -lgmodule-export-2.0 > > > > Thanks > > > > --- > > Este e-mail foi verificado em termos de vírus pelo software > > antivírus Avast. > > https://www.avast.com/antivirus > > > > ___ > > gtk-app-devel-list mailing list > > gtk-app-devel-list@gnome.org > > https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list > > > --- > Este e-mail foi verificado em termos de vírus pelo software antivírus > Avast. > https://www.avast.com/antivirus > > ___ > gtk-app-devel-list mailing list > gtk-app-devel-list@gnome.org > https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: Gtk-WARNING **: Could not find signal handler
Please help me... I lost so many hours with this error.. This should work, because the same code works in other machine.. But in raspberry pi don't.. Thanks Às 15:19 de 27/02/2017, Rúben Rodrigues escreveu: > Hi, > > I have the same problem of this topic > https://mail.gnome.org/archives/gtk-app-devel-list/2013-December/msg00037.html > > I see very similar problems, but didn't find any resolution. > > I get this error in when i'm debuugin gtk app : Gtk-WARNING **: Could > not find signal handler > > I make this in my code > > if( ! gtk_builder_add_from_file( builder, "ui.glade", ) ) > { > g_warning( "%s", error->message ); > g_free( error ); > return( 1 ); > } > > /* Allocate data structure */ > data = g_slice_new( ChData ); > > /* Connect signals */ > gtk_builder_connect_signals( builder, NULL ); > > Because of this, all signals configured in glade do not work. > The documentation at > https://developer.gnome.org/gtk3/stable/GtkBuilder.html#gtk-builder-connect-signals > suggests that i should be linking against gmodule-export-2.0, but when i > try this, i get this error: > > /usr/lib/gcc-cross/arm-linux-gnueabihf/5/../../../../arm-linux-gnueabihf/bin/ld: > cannot find -lgmodule-export-2.0 > > Thanks > > --- > Este e-mail foi verificado em termos de vírus pelo software antivírus Avast. > https://www.avast.com/antivirus > > ___ > gtk-app-devel-list mailing list > gtk-app-devel-list@gnome.org > https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list --- Este e-mail foi verificado em termos de vírus pelo software antivírus Avast. https://www.avast.com/antivirus ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: Gtk-WARNING **: Could not find signal handler
Hi, Thanks for answering. Yes i'm using hundreds of signals, and i'm working on an ARM Machine (Rasberry Pi). What do you mean with "you're apparently not adding your signal handler symbols before calling" ? Thanks Às 15:39 de 27/02/2017, Tilo Villwock escreveu: > It tells you to link GModule because you're apparently not adding your > signal handler symbols before calling > > gtk_builder_connect_signals(...) > > and thus tries to use introspection to look up the symbols. Unless it's > hundreds of symbols I would suggest you simply call > > gtk_builder_add_callback_symbol(...) > > to add all symbols that are referenced in your Glade file. > > Also are you actually working on an ARM machine? Otherwise your > toolchain seems messed up. > > --Tilo > > Am Montag, den 27.02.2017, 15:19 + schrieb Rúben Rodrigues: >> Hi, >> >> I have the same problem of this topic >> https://mail.gnome.org/archives/gtk-app-devel-list/2013-December/msg0 >> 0037.html >> >> I see very similar problems, but didn't find any resolution. >> >> I get this error in when i'm debuugin gtk app : Gtk-WARNING **: >> Could >> not find signal handler >> >> I make this in my code >> >> if( ! gtk_builder_add_from_file( builder, "ui.glade", ) ) >> { >> g_warning( "%s", error->message ); >> g_free( error ); >> return( 1 ); >> } >> >> /* Allocate data structure */ >> data = g_slice_new( ChData ); >> >> /* Connect signals */ >> gtk_builder_connect_signals( builder, NULL ); >> >> Because of this, all signals configured in glade do not work. >> The documentation at >> https://developer.gnome.org/gtk3/stable/GtkBuilder.html#gtk-builder-c >> onnect-signals >> suggests that i should be linking against gmodule-export-2.0, but >> when i >> try this, i get this error: >>/usr/lib/gcc-cross/arm-linux-gnueabihf/5/../../../../arm-linux- >> gnueabihf/bin/ld: cannot find -lgmodule-export-2.0 >> >> Thanks >> >> --- >> Este e-mail foi verificado em termos de vírus pelo software antivírus >> Avast. >> https://www.avast.com/antivirus >> >> ___ >> gtk-app-devel-list mailing list >> gtk-app-devel-list@gnome.org >> https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list --- Este e-mail foi verificado em termos de vírus pelo software antivírus Avast. https://www.avast.com/antivirus ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: Gtk-WARNING **: Could not find signal handler
It tells you to link GModule because you're apparently not adding your signal handler symbols before calling gtk_builder_connect_signals(...) and thus tries to use introspection to look up the symbols. Unless it's hundreds of symbols I would suggest you simply call gtk_builder_add_callback_symbol(...) to add all symbols that are referenced in your Glade file. Also are you actually working on an ARM machine? Otherwise your toolchain seems messed up. --Tilo Am Montag, den 27.02.2017, 15:19 + schrieb Rúben Rodrigues: > Hi, > > I have the same problem of this topic > https://mail.gnome.org/archives/gtk-app-devel-list/2013-December/msg0 > 0037.html > > I see very similar problems, but didn't find any resolution. > > I get this error in when i'm debuugin gtk app : Gtk-WARNING **: > Could > not find signal handler > > I make this in my code > > if( ! gtk_builder_add_from_file( builder, "ui.glade", ) ) > { > g_warning( "%s", error->message ); > g_free( error ); > return( 1 ); > } > > /* Allocate data structure */ > data = g_slice_new( ChData ); > > /* Connect signals */ > gtk_builder_connect_signals( builder, NULL ); > > Because of this, all signals configured in glade do not work. > The documentation at > https://developer.gnome.org/gtk3/stable/GtkBuilder.html#gtk-builder-c > onnect-signals > suggests that i should be linking against gmodule-export-2.0, but > when i > try this, i get this error: > /usr/lib/gcc-cross/arm-linux-gnueabihf/5/../../../../arm-linux- > gnueabihf/bin/ld: cannot find -lgmodule-export-2.0 > > Thanks > > --- > Este e-mail foi verificado em termos de vírus pelo software antivírus > Avast. > https://www.avast.com/antivirus > > ___ > gtk-app-devel-list mailing list > gtk-app-devel-list@gnome.org > https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Gtk-WARNING **: Could not find signal handler
Hi, I have the same problem of this topic https://mail.gnome.org/archives/gtk-app-devel-list/2013-December/msg00037.html I see very similar problems, but didn't find any resolution. I get this error in when i'm debuugin gtk app : Gtk-WARNING **: Could not find signal handler I make this in my code if( ! gtk_builder_add_from_file( builder, "ui.glade", ) ) { g_warning( "%s", error->message ); g_free( error ); return( 1 ); } /* Allocate data structure */ data = g_slice_new( ChData ); /* Connect signals */ gtk_builder_connect_signals( builder, NULL ); Because of this, all signals configured in glade do not work. The documentation at https://developer.gnome.org/gtk3/stable/GtkBuilder.html#gtk-builder-connect-signals suggests that i should be linking against gmodule-export-2.0, but when i try this, i get this error: /usr/lib/gcc-cross/arm-linux-gnueabihf/5/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lgmodule-export-2.0 Thanks --- Este e-mail foi verificado em termos de vírus pelo software antivírus Avast. https://www.avast.com/antivirus ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: How to locate the 'Gtk-WARNING' line number
G_DEBUG=fatal_warnings gdb --args foo.binary arg1 arg2 in gdb, it will crash at some point and if you compiled your program with -g or -ggdb the `backtrace` command will give you some meaningful information For more see: https://developer.gnome.org/glib/stable/glib-running.html https://developer.gnome.org/gtk3/stable/gtk-running.html On Mon, Feb 17, 2014 at 9:44 AM, Wiky wii...@yeah.net wrote: Hi,all. I'm currently writing a program based Gtk+-3.0. When it runs, I get '(a.out:10874): Gtk-WARNING **: Failed to ...' in the terminal. I know the problem is about GtkLabel, but I really don't know which GtkLabel. Is there a way to locate the line numer that give the warning? Sorry for my english ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: How to locate the 'Gtk-WARNING' line number
On Mon, 2014-02-17 at 16:44 +0800, Wiky wrote: Hi,all. I'm currently writing a program based Gtk+-3.0. When it runs, I get '(a.out:10874): Gtk-WARNING **: Failed to ...' in the terminal. I know the problem is about GtkLabel, but I really don't know which GtkLabel. Is there a way to locate the line numer that give the warning? Sorry for my english ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list If your UI is hand-coded, and in main() (not using GtkApplication), then I suppose you can run it through gdb and step through each line to see where it prints the error. Be sure to compile with -Og -g and without optimisations though -- Marco Scannadinari m...@scannadinari.co.uk ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Fwd: Re: How to locate the 'Gtk-WARNING' line number
On 17.02.2014 10:36, Marco Scannadinari wrote: On Mon, 2014-02-17 at 16:44 +0800, Wiky wrote: Hi,all. I'm currently writing a program based Gtk+-3.0. When it runs, I get '(a.out:10874): Gtk-WARNING **: Failed to ...' in the terminal. I know the problem is about GtkLabel, but I really don't know which GtkLabel. Is there a way to locate the line numer that give the warning? Sorry for my english ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list If your UI is hand-coded, and in main() (not using GtkApplication), then I suppose you can run it through gdb and step through each line to see where it prints the error. Be sure to compile with -Og -g and without optimisations though I think just setting a break-point on g_log and then asking for a backtrace when you hit the breakpoint should also work and is possibly quicker. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: How to locate the 'Gtk-WARNING' line number
On Mon, Feb 17, 2014 at 04:44:53PM +0800, Wiky wrote: Hi,all. I'm currently writing a program based Gtk+-3.0. When it runs, I get '(a.out:10874): Gtk-WARNING **: Failed to ...' in the terminal. I know the problem is about GtkLabel, but I really don't know which GtkLabel. Is there a way to locate the line numer that give the warning? Run it with G_DEBUG=fatal-warnings, let it dump core and look at the stack trace. Yeti ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: How to locate the 'Gtk-WARNING' line number
On 02/17/2014 03:44 AM, Wiky wrote: Hi,all. I'm currently writing a program based Gtk+-3.0. When it runs, I get '(a.out:10874): Gtk-WARNING **: Failed to ...' in the terminal. I know the problem is about GtkLabel, but I really don't know which GtkLabel. Is there a way to locate the line numer that give the warning? Sorry for my english ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list Being that it's a warning, you may disregard it. Still to this day I also get Gtk-WARNING from synaptic. (synaptic:19289): Gtk-WARNING **: GtkNotebook 0x22f3510 is mapped but visible child GtkLabel 0x2382cc0 is not mapped emacs has a trick to remove this annoying warning: http://code.ohloh.net/file?fid=oEG5UBbvy8a3udXaR1-LNWIHNrQcid=u98OF8Evg70s=gtk-WARNING#L14 If you are adamant about seeing the exact source for this warning, it's in the gtk sources. Install the gnome-dbg and anything gtk -dbg. That will help to point to source files and line numbers. Cheers, David Marceau ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: Question about a Gtk-WARNING message when running gedit
Hello, Start the application with the environment variable: G_DEBUG=fatal-warnings Then run it in GDB, you should be able to obtain a backtrace when the warning is triggered. Regards, On 28/03/13 16:53, Tilton, James C. (GSFC-6063) wrote: Hi gtk-list: I recently built and installed GTK+ version 3.6.4. This ended up 'breaking' my old RHEL system supplied version of gedit (version 2.16.0). So I went ahead and built and installed gedit version 3.2.6. This version works, but I get the following Gtk-WARNING every time I run gedit: (gedit:9928): Gtk-WARNING **: Theme parsing error: data:5:10: Not using units is deprecated. Assuming 'px'. It appears to me that this may be caused by a call to a GTK+ function somewhere in the gedit source code using a deprecated call format. However, I don't know what to look for in the gedit source code. What GTK+ function would such a WARNING be associated with? Or is this caused by some other problem? Jim Tilton Dr. James C. Tilton Voice: 301-286-9510 NASA Goddard Space Flight Center FAX: 301-286-1776 Mail Code 606.3 E-Mail: james.c.til...@nasa.gov mailto:james.c.til...@nasa.gov (Computational Information Sciences and Technology Office) Greenbelt, MD 20771 URLs: http://ipp.gsfc.nasa.gov/ft_tech_rhseg.shtm, http://science.gsfc.nasa.gov/606.3/TILTON/ and https://powellcenter.usgs.gov/globalcroplandwater/. ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list
Re: Question about a Gtk-WARNING message when running gedit
Your issue is that you have an old GTK+ theme paired with a new GTK+ version. On Thu, Mar 28, 2013 at 12:53 PM, Tilton, James C. (GSFC-6063) james.c.til...@nasa.gov wrote: Hi gtk-list: ** ** I recently built and installed GTK+ version 3.6.4. This ended up 'breaking' my old RHEL system supplied version of gedit (version 2.16.0).* *** ** ** So I went ahead and built and installed gedit version 3.2.6. This version works, but I get the following Gtk-WARNING every time I run gedit: ** ** (gedit:9928): Gtk-WARNING **: Theme parsing error: data:5:10: Not using units is deprecated. Assuming 'px'. ** ** It appears to me that this may be caused by a call to a GTK+ function somewhere in the gedit source code using a deprecated call format. However, I don't know what to look for in the gedit source code. ** ** What GTK+ function would such a WARNING be associated with? ** ** Or is this caused by some other problem? ** ** Jim Tilton ** ** -- Dr. James C. Tilton Voice: 301-286-9510 NASA Goddard Space Flight Center FAX: 301-286-1776** ** Mail Code 606.3 E-Mail: james.c.til...@nasa.gov (Computational Information Sciences and Technology Office) Greenbelt, MD 20771 URLs: http://ipp.gsfc.nasa.gov/ft_tech_rhseg.shtm, http://science.gsfc.nasa.gov/606.3/TILTON/ and https://powellcenter.usgs.gov/globalcroplandwater/. ** ** ** ** ** ** ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list -- Jasper ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list
Question about a Gtk-WARNING message when running gedit
Hi gtk-list: I recently built and installed GTK+ version 3.6.4. This ended up 'breaking' my old RHEL system supplied version of gedit (version 2.16.0). So I went ahead and built and installed gedit version 3.2.6. This version works, but I get the following Gtk-WARNING every time I run gedit: (gedit:9928): Gtk-WARNING **: Theme parsing error: data:5:10: Not using units is deprecated. Assuming 'px'. It appears to me that this may be caused by a call to a GTK+ function somewhere in the gedit source code using a deprecated call format. However, I don't know what to look for in the gedit source code. What GTK+ function would such a WARNING be associated with? Or is this caused by some other problem? Jim Tilton Dr. James C. TiltonVoice: 301-286-9510 NASA Goddard Space Flight Center FAX: 301-286-1776 Mail Code 606.3E-Mail: james.c.til...@nasa.govmailto:james.c.til...@nasa.gov (Computational Information Sciences and Technology Office) Greenbelt, MD 20771 URLs: http://ipp.gsfc.nasa.gov/ft_tech_rhseg.shtm, http://science.gsfc.nasa.gov/606.3/TILTON/ and https://powellcenter.usgs.gov/globalcroplandwater/. ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list
GTK+ Warning: Can't set a parent on widget which has a parent!!
Hello everybody, I am trying to write the interface for my music manager using GTK+. The program was compiled successfully. However, when I executed it, the machine returned errors: (dingo_draft:6462): Gtk-WARNING **: Can't set a parent on widget which has a parent(dingo_draft:6462): Gtk-CRITICAL **: gtk_widget_realize: assertion `GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget)' failed**Gtk:ERROR:/build/buildd/gtk+2.0-2.20.1/gtk/gtkwidget.c:8760:gtk_widget_real_map: assertion failed: (gtk_widget_get_realized (widget))Aborted Attached with this email is the source code of the program. Please note that this is *just the interface written in GTK+*. I did not add any signals in yet. I think there might be some problems with the GTK+ functions, but I could not locate where the errors occured. Thank you for helping me with this problem!! Hope you guys have a good weekend! ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
GTK+ Warning: Can't set a parent on widget which has a parent
Hello everybody, I am trying to write the interface for my music manager using GTK+. The program was compiled successfully. However, when I executed it, the machine returned errors: (dingo_draft:6462): Gtk-WARNING **: Can't set a parent on widget which has a parent(dingo_draft:6462): Gtk-CRITICAL **: gtk_widget_realize: assertion `GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget)' failed**Gtk:ERROR:/build/buildd/gtk+2.0-2.20.1/gtk/gtkwidget.c:8760:gtk_widget_real_map: assertion failed: (gtk_widget_get_realized (widget))Aborted Attached with this email is the source code of the program. Please note that this is *just the interface written in GTK+*. I did not add any signals in yet. I think there might be some problems with the GTK+ functions, but I could not locate where the errors occured. Thank you for helping me with this problem!! Hope you guys have a good weekend! /* This is the interface design draft for the media player /* This does not include the signals for widgets. Just a plain draft */ #include gtk/gtk.h int main(int argc, char *argv[]) { /* Initialize gtk+ gstreamer */ gtk_init(argc, argv); /* Create mainwindow (mainwindow) */ GtkWidget *mainwindow; mainwindow = gtk_window_new(GTK_WINDOW_TOPLEVEL); gtk_window_set_title(GTK_WINDOW(mainwindow), Music Manager); /* Create the vbox containing searchbox song list (treevbox) */ GtkWidget *searchbox, *treesong, *scrollsong, *treevbox; GtkCellRenderer *namerender, *timerender; treesong = gtk_tree_view_new(); gtk_tree_view_set_headers_visible(GTK_TREE_VIEW(treesong), FALSE); namerender = gtk_cell_renderer_text_new(); gtk_tree_view_insert_column_with_attributes(GTK_TREE_VIEW(treesong), -1, Songs, namerender, text, 0, NULL); timerender = gtk_cell_renderer_text_new(); gtk_tree_view_insert_column_with_attributes(GTK_TREE_VIEW(treesong), -1, Time, timerender, text, 1, NULL); /* some problem here */ scrollsong = gtk_scrolled_window_new(NULL, NULL); gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrollsong), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(scrollsong), treesong); searchbox = gtk_entry_new(); treevbox = gtk_vbox_new(TRUE, 0); gtk_box_pack_start_defaults(GTK_BOX(treevbox), searchbox); gtk_box_pack_start_defaults(GTK_BOX(treevbox), scrollsong); /* Create the song info section (infohbox) */ GtkWidget *songname, *songinfo, *coverart; GtkWidget *infohbox, *imagevbox; coverart = gtk_image_new_from_file(music-notes.png); songname = gtk_label_new(iSong Name/i); songinfo = gtk_label_new(bArtist:/b \n bTrack/b \n bAlbum/b \n bYear/b \n bGenre/b \n bRating/b); infohbox = gtk_hbox_new(TRUE, 0); imagevbox = gtk_vbox_new(TRUE, 0); gtk_box_pack_start_defaults(GTK_BOX(imagevbox), coverart); gtk_box_pack_start_defaults(GTK_BOX(imagevbox), songname); gtk_box_pack_start_defaults(GTK_BOX(infohbox), imagevbox); gtk_box_pack_start_defaults(GTK_BOX(infohbox), songinfo); /* Create drawing area for video display (previewarea) */ GtkWidget *previewarea; previewarea = gtk_drawing_area_new(); gtk_widget_set_size_request(previewarea, 300, 200); /* Create actions tree view (ltreeview) */ enum { COL_ICON = 0, COL_ACTION, NUM_COLS }; GtkCellRenderer *lrenderer; GtkTreeModel *lmodel; GtkWidget *ltreeview; GtkListStore *lliststore; GtkTreeIter liter; ltreeview = gtk_tree_view_new(); lrenderer = gtk_cell_renderer_pixbuf_new(); gtk_tree_view_insert_column_with_attributes(GTK_TREE_VIEW(ltreeview), -1, Icon, lrenderer, pixbuf, COL_ICON, NULL); lrenderer = gtk_cell_renderer_text_new(); gtk_tree_view_insert_column_with_attributes(GTK_TREE_VIEW(ltreeview), -1, Actions, lrenderer, text, COL_ACTION, NULL); lliststore = gtk_list_store_new(NUM_COLS, GDK_TYPE_PIXBUF, G_TYPE_STRING); gtk_list_store_append(lliststore, liter); gtk_list_store_set(lliststore, liter, COL_ICON, gdk_pixbuf_new_from_file(now-playing.png, NULL), COL_ACTION, Now Playing, -1); gtk_list_store_append(lliststore, liter); gtk_list_store_set(lliststore, liter, COL_ICON, gdk_pixbuf_new_from_file(music.png, NULL), COL_ACTION, Music, -1); gtk_list_store_append(lliststore, liter); gtk_list_store_set(lliststore, liter, COL_ICON, gdk_pixbuf_new_from_file(video.png, NULL), COL_ACTION, Videos, -1); gtk_list_store_append(lliststore, liter); gtk_list_store_set(lliststore, liter, COL_ICON, gdk_pixbuf_new_from_file(playlist.png, NULL), COL_ACTION, Playlists, -1); lmodel = GTK_TREE_MODEL(lliststore); gtk_tree_view_set_model(GTK_TREE_VIEW(ltreeview), lmodel); /* g_object_unref(lmodel); */ /* Create the top control bar (controlhbox) */ GtkWidget *prevbutton, *nextbutton, *hscale, *cursong; GtkWidget *curpos, *duration, *volumebutton, *playbutton; GtkAdjustment *progress, *volumeadj; GtkWidget *buttonhbox, *proghbox, *infovbox
Re: GTK+ Warning: Can't set a parent on widget which has a parent
On Fri, 3 Jun 2011 04:08:22 -0400 Phong Cao phn...@gmail.com wrote: Hello everybody, I am trying to write the interface for my music manager using GTK+. The program was compiled successfully. However, when I executed it, the machine returned errors: (dingo_draft:6462): Gtk-WARNING **: Can't set a parent on widget which has a parent(dingo_draft:6462): Gtk-CRITICAL **: gtk_widget_realize: assertion `GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget)' failed**Gtk:ERROR:/build/buildd/gtk+2.0-2.20.1/gtk/gtkwidget.c:8760:gtk_widget_real_map: assertion failed: (gtk_widget_get_realized (widget))Aborted I have no idea if it causes your problem (probably not), but you insert a tree view into a scrolled window using gtk_container_add(), not gtk_scrolled_window_add_with_viewport(). Chris ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
Re: GTK+ Warning: Can't set a parent on widget which has a parent
Il giorno Fri, 3 Jun 2011 04:08:22 -0400 Phong Cao phn...@gmail.com ha scritto: Hello everybody, I am trying to write the interface for my music manager using GTK+. The program was compiled successfully. However, when I executed it, the machine returned errors: (dingo_draft:6462): Gtk-WARNING **: Can't set a parent on widget which has a parent Hi Phong, you are adding songinfo to infohbox and to vpaned. Choose a single container or duplicate the widget. Ciao. -- Nicola ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
Re: GTK+ Warning: Can't set a parent on widget which has a parent
Thank you Nicola. I finally got it fixed! Yeah I did not pay attention to the parents of songinfo... On Fri, Jun 3, 2011 at 6:08 AM, Nicola Fontana n...@entidi.it wrote: Il giorno Fri, 3 Jun 2011 04:08:22 -0400 Phong Cao phn...@gmail.com ha scritto: Hello everybody, I am trying to write the interface for my music manager using GTK+. The program was compiled successfully. However, when I executed it, the machine returned errors: (dingo_draft:6462): Gtk-WARNING **: Can't set a parent on widget which has a parent Hi Phong, you are adding songinfo to infohbox and to vpaned. Choose a single container or duplicate the widget. Ciao. -- Nicola ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
Re: cygwin gtk+ eclipse on windows Gtk-WARNING cannot open display
I'm forced to use cygwin for work so I have no choice. I solved the problem. Anyway I thank you for your advice. bye Tor Lillqvist wrote: Hello, i installed cygwin, gtk+(available with cygwin) and eclipse on Windows xp. Gtk-WARNING **: cannot open display: Are you aware that the GTK+ for Cygwin is built with the X11 backend, i.e. software that uses it requires an X server (also know as display)? (Either running on the same machine, or remotely.) (Also note that Cygwin is really a separate Unix-style operating system that just happens to run on top of Windows.) Is that really what you want? If not, forget GTK+ on Cygwin and just use GTK+ on Windows instead. Be very careful not to confuse and mix Cygwin libraries and Windows libraries when building something. Is the Eclipse you are using also a Cygwin one? If your intention is not to build software that runs on Cygwin and requires an X display, I would suggest you avoid Cygwin completely. Instead just install the MinGW compiler, and use that from Eclipse. For GTK+ on Windows, the simplest is to download the bundle from http://www.gtk.org/download-windows.html and then run pkg-config to get the appropriate compiler flags to pass the compiler from Eclipse. I can't help you more with that, I don't use Eclipse. In fact, I would suggest that you first learn how to build GTK+ software directly from the command line without letting Eclipse hide what is really happening... but this is just my personal opinion. As a command-line environment I then suggest using MSYS and its bash shell. MinGW and MSYS are available from www.mingw.org. --tml ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list -- View this message in context: http://old.nabble.com/cygwin-gtk%2B--eclipse-on-windows-Gtk-WARNING-cannot-open-display-tp28949244p29000102.html Sent from the Gtk+ - Apps Dev mailing list archive at Nabble.com. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
cygwin gtk+ eclipse on windows Gtk-WARNING cannot open display
Hello, i installed cygwin, gtk+(available with cygwin) and eclipse on Windows xp. I'm trying to run a simple gtk+ application available on the site www.gtk.org . I have been able to compile my gtk+ program using Eclipse without errors but when I run it the console says Gtk-WARNING **: cannot open display: and hence my application does not display. Can anyone point me in the right direction? Thanks very much, Loredana:D -- View this message in context: http://old.nabble.com/cygwin-gtk%2B--eclipse-on-windows-Gtk-WARNING-cannot-open-display-tp28949244p28949244.html Sent from the Gtk+ - Apps Dev mailing list archive at Nabble.com. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: cygwin gtk+ eclipse on windows Gtk-WARNING cannot open display
Hello, i installed cygwin, gtk+(available with cygwin) and eclipse on Windows xp. Gtk-WARNING **: cannot open display: Are you aware that the GTK+ for Cygwin is built with the X11 backend, i.e. software that uses it requires an X server (also know as display)? (Either running on the same machine, or remotely.) (Also note that Cygwin is really a separate Unix-style operating system that just happens to run on top of Windows.) Is that really what you want? If not, forget GTK+ on Cygwin and just use GTK+ on Windows instead. Be very careful not to confuse and mix Cygwin libraries and Windows libraries when building something. Is the Eclipse you are using also a Cygwin one? If your intention is not to build software that runs on Cygwin and requires an X display, I would suggest you avoid Cygwin completely. Instead just install the MinGW compiler, and use that from Eclipse. For GTK+ on Windows, the simplest is to download the bundle from http://www.gtk.org/download-windows.html and then run pkg-config to get the appropriate compiler flags to pass the compiler from Eclipse. I can't help you more with that, I don't use Eclipse. In fact, I would suggest that you first learn how to build GTK+ software directly from the command line without letting Eclipse hide what is really happening... but this is just my personal opinion. As a command-line environment I then suggest using MSYS and its bash shell. MinGW and MSYS are available from www.mingw.org. --tml ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Gtk-WARNING **: Locale not supported by C library.
Hello. When I run linphone I get the error: korn...@korenwork:~$ linphone-3 ** Message: Found lang ru (process:11306): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. I tried to ask at linphone mailing list and got reply that it has nothing to do with linphone. Googling it didn't gave any success either. I tried to set LANG to ru, ru_RU, ru_RU.UTF-8, ru_RU.utf8, ru_RU.cp1251, ru_RU.koi8r, that is all locales I have under /usr/lib/locale (I'm using Slackware 13.0). All the answers found at Google only suggest to play with LANG variable or to recompile Libc. Since the distro contains glibc-i18n package I suspect it has all locales correctly compiled. Not sure how to check for sure. I hope you can direct me to the docs describing what can cause this particular Gtk-WARNING. Today I've read gettext documentation, did a test localization for ru, and that worked fine. Thanks. ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
Re: Gtk-WARNING **: Locale not supported by C library.
As I said, I created an i18n application with gettext. It works fine. Thus, I think that means my Glibc build does support ru_RU.UTF-8. ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
Re: GTK warning
Stefan Kost wrote: How should gobject know the name of your variable? In GStreamer we have a GstObejct which has a name property, that makes it easier. How do you know it's one of my variables that is being unreferenced? The warning message refers me to line 118 where I don't see that any of my variables is being unreferenced. If there's a problem in the set_from_pixbuf call, I don't see why GTK can't provide more information about the nature of the problem. If there's a problem somewhere else, I don't see why GTK is directing me to line 118. I have now established that running the program with --g-fatal-warnings on the command line does do something: It causes the program to exit, just as it does in C. However, in Python, I need to catch the exception before exiting so that I can run the debugger and view the traceback, but it is not possible to catch SystemExit. I'm still clinging to the hope that a traceback will be helpful despite your advice that it usually isn't when the problem is a refcount issue. Nevertheless, I clearly have fallen out of the purview of this group, so I'll try to figure out a better place to post. Thanks anyway for all the suggestions. -- Jeffrey Barish ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: GTK warning
Jeffrey Barish schrieb: Stefan Kost wrote: How should gobject know the name of your variable? In GStreamer we have a GstObejct which has a name property, that makes it easier. How do you know it's one of my variables that is being unreferenced? The warning message refers me to line 118 where I don't see that any of my variables is being unreferenced. If there's a problem in the set_from_pixbuf call, I don't see why GTK can't provide more information about the nature of the problem. If there's a problem somewhere else, I don't see why GTK is directing me to line 118. its not gtk, its glib. /myprogram.py:118: Warning: g_object_unref: assertion `object-ref_count 0' failed mean when you (or something you called) call(s) unref the refount is already 0. That is somthing forgot to ref or something unref too much. glib can just point out that something is wrong. Imho fixing refount problem is one of the most difficult problems, very unfortunately. I have now established that running the program with --g-fatal-warnings on the command line does do something: It causes the program to exit, just as it does in C. However, in Python, I need to catch the exception before exiting so that I can run the debugger and view the traceback, but it is not possible to catch SystemExit. I'm still clinging to the hope that a traceback will be helpful despite your advice that it usually isn't when the problem is a refcount issue. Nevertheless, I clearly have fallen out of the purview of this group, so I'll try to figure out a better place to post. Thanks anyway for all the suggestions. What you need to do is to get traces for all refs and unref to that instance of the object and find where they get unbalanced. refdbg.sf.net can help to get the traces. One thing that is needed is to filter known paired ref/unrefs (like when you do a g_onbject_set). Right now I go manualy over the traces and remove pairs until I have tracked the issues down. Stefan ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: GTK warning
On Sat, 21 Feb 2009 08:16:44 -0700 Jeffrey Barish jeff_bar...@earthlink.net wrote: I hate the warning messages that GTK provides because they rarely help me find the problem. What does this one mean? /myprogram.py:118: Warning: g_object_unref: assertion `object-ref_count 0' failed self['myimage'].set_from_pixbuf(mypb) Hi Jeffrey, As I told in a previous meesage, which either didn't go out or didn't go to the list, the trick is to start python with --g-fatal-warnings. You can't do that directly, but I believe the trick is to python yourprog.py --g-fatal-warnings The gtk module will take the arguments and generate the exception at the point where the error above occurs. Then, you can look at the backtrace to determine which line in the program caused it. This tutorial seems a bit outdated, but helpful: http://www.pygtk.org/pygtktutorial/ch-gettingstarted.html John ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: GTK warning
From: Stefan Kost , 22/02/2009 21:59: I'm running my program with --g-fatal-warnings at the end of the command line. I don't know whether that flag does anything in PyGTK, though. That flag work on Glib level and makes warnings fatal to be able to get a backtrace in gdb. For refcounts that is not always useful. Read the README in refdb it explains types of refcount isssues and helps a bit for debug them. Unfortunately its still not easy as you can't automatically tell which ref or unref is wrong. With --g-fatal-warnings makes a non-fatal warning into a fatal one so the debugger can trap it, is there an option to turn non-fatal warnings into breakpoints instead, which I believe are fatal when there's no debugger attached? Fredderic ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: GTK warning
The message means exactly what it sais, that you try to reduce the ref count of an object that doesn't exist. If it is a C-program the way to trace this is to rerun the program with the flag g-fatal-warnings in which case the program will exit such that if you run the program in a debugger, the error will be caught and you can examine the stack and the reason for the error. But since the example you give is in Python this probably means that there is an error in the python binding. You should try to create a minimum example that triggers the problem and try to create a bug report. Regards, Dov 2009/2/21 Jeffrey Barish jeff_bar...@earthlink.net I hate the warning messages that GTK provides because they rarely help me find the problem. What does this one mean? /myprogram.py:118: Warning: g_object_unref: assertion `object-ref_count 0' failed self['myimage'].set_from_pixbuf(mypb) What object is producing the warning? I suppose it must be myimage. What am I supposed to do? If I exit the program and run it again, 9 times out of 10 I don't get the warning. -- Jeffrey Barish ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: GTK warning
Dov Grobgeld wrote: 2009/2/21 Jeffrey Barish jeff_bar...@earthlink.net I hate the warning messages that GTK provides because they rarely help me find the problem. What does this one mean? /myprogram.py:118: Warning: g_object_unref: assertion `object-ref_count 0' failed self['myimage'].set_from_pixbuf(mypb) What object is producing the warning? I suppose it must be myimage. What am I supposed to do? If I exit the program and run it again, 9 times out of 10 I don't get the warning. The message means exactly what it sais, that you try to reduce the ref count of an object that doesn't exist. Of course. My complaint is that the message doesn't tell me which object. It refers me to a specific line in which it isn't obvious that any object is being unreferenced. That line sets the pixbuf, which, if anything, would increase the ref count of something. If the dereference occurs somewhere else, then the warning shouldn't refer me to this line of code. But since the example you give is in Python this probably means that there is an error in the python binding. You should try to create a minimum example that triggers the problem and try to create a bug report. If there were an error in the Python binding, then I would expect the warning to be consistent. For that matter, it should be consistent if the error were in my code or in GTK. I'm running my program with --g-fatal-warnings at the end of the command line. I don't know whether that flag does anything in PyGTK, though. -- Jeffrey Barish ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
'Gtk-WARNING **: Unable to locate theme engine in module_path: qtcurve' problem
Hello All, after upgrading my KDE version I'm getting this warning: Gtk-WARNING **: Unable to locate theme engine in module_path: qtcurve ... and the application does not look the way it used to look. I read http://www.gtk.org/api/2.6/gtk/gtk-running.html document, but it's unclear to me how to fix the problem. Unfortunately, gtk+ does not print the paths it goes through trying to locate that theme engine, otherwise I would have guessed where to put the files or to symlink them. The theme engine in question (if I understand correctly what it is) can be either of the following two files: /usr/lib/qt3/plugins/styles/qtcurve.so /usr/lib/kde4/plugins/styles/qtcurve.so - I mean, these are real location of my 'qtcurve.so' files on in my filesystem. Since I'm on KDE3, I guess I need the first of the two. So, how can I resolve this issue ? I.e. what directories/files should I create and/or what environment variables to set in order to make the application see qtcurve.so ? Also, there is /usr/share/themes/QtCurve/gtk-2.0/gtkrc file which I want to be used, in the beginning the file says: style qtcurve-default , so I guess, this is the gtkrc file I want to be used by gtk+ applications. Thanks, Sergei. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
GTK-Warning when trying to open a map of geodata from a database.
Hi everyone, when I want to open a database with geometry data in it with the program MezoGis I receive the following GTK-Warning: /usr/local/lib/python2.5/site-packages/mezoGISlib/_canvas.py:530: GtkWarning: Using Cairo rendering requires the drawable argument to have a specified colormap. All windows have a colormap, however, pixmaps only have colormap by default if they were created with a non-NULL window argument. Otherwise a colormap must be set on them with gdk_drawable_set_colormap self.ctx = self.pixmap.cairo_create() Traceback (most recent call last): File /usr/local/lib/python2.5/site-packages/mezoGISlib/_pane_db.py, line 537, in __on_doubleclick self.pgbutler.runQuery('SELECT * FROM %s'%table.getSQL()) File /usr/local/lib/python2.5/site-packages/mezoGISlib/_guicore.py, line 412, in runQuery self.showResults(cursor, query, layer, resultset, tablelist) File /usr/local/lib/python2.5/site-packages/mezoGISlib/_guicore.py, line 446, in showResults mapview = openMapView(layer.resultset) File /usr/local/lib/python2.5/site-packages/mezoGISlib/_guiwindows.py, line 33, in openMapView m = MapWindow(resultset) File /usr/local/lib/python2.5/site-packages/mezoGISlib/_guiwindows.py, line 139, in __init__ self.canvas = MapCanvas() File /usr/local/lib/python2.5/site-packages/mezoGISlib/_canvas.py, line 86, in __init__ self.__createNewCanvas() File /usr/local/lib/python2.5/site-packages/mezoGISlib/_canvas.py, line 530, in __createNewCanvas self.ctx = self.pixmap.cairo_create() cairo.Error: NULL pointer A mapframe is also created, but somehow there is no content in it or nothing is shown on/in the map. I am nearly for 100% sure, that there is no mistake in my geometry data, because the extend is correct initialized, when I start the database. Has anyone an idea, what I could do??? I am totally desperate, because the program will not work. In the source code I made some print-commands, to see how far the program goes and there I saw, that mezogis goes in the file _canvas.py and also in the function def __createNewCanvas(self): . But then, when mezogis should show the extend (with a print command) of the table, I get height: 1 and width: 1. And this can't be right, because my database is filled with geodata of the world, and this extend can't be just 1. Something must be wrong with the line: aw = self.mapframe.get_allocation() because afterwards the height and width is set, and with print I get the extend of 1, like I said. The get_allocation command is a method of python, or what does it do??? I ask, because in no other file this method is used (ok, just in one of _guiwindows.py, but there, the line is commented out). When I use the SQL-command (Select * from public.dbname )to show me the content of the database I get the messages which I wrote above. The program is able to show all data in a table, except from the geometry-column. But actually I wanted a map created, which looks like a worldmap and with which I could work, but without mezogis is quit useless for me. Also with a database of randomized created geometry data I have the same problem. I forgot to say, that I work on a SuSe Linux 10.2 distribution. Thank you very much in advance for your help. Daniela -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
GTK-Warning when trying to open a map of geodata from a database.
Hi everyone, when I want to open a database with geometry data in it with the program MezoGis I receive the following GTK-Warning: /usr/local/lib/python2.5/site-packages/mezoGISlib/_canvas.py:530: GtkWarning: Using Cairo rendering requires the drawable argument to have a specified colormap. All windows have a colormap, however, pixmaps only have colormap by default if they were created with a non-NULL window argument. Otherwise a colormap must be set on them with gdk_drawable_set_colormap self.ctx = self.pixmap.cairo_create() Traceback (most recent call last): File /usr/local/lib/python2.5/site-packages/mezoGISlib/_pane_db.py, line 537, in __on_doubleclick self.pgbutler.runQuery('SELECT * FROM %s'%table.getSQL()) File /usr/local/lib/python2.5/site-packages/mezoGISlib/_guicore.py, line 412, in runQuery self.showResults(cursor, query, layer, resultset, tablelist) File /usr/local/lib/python2.5/site-packages/mezoGISlib/_guicore.py, line 446, in showResults mapview = openMapView(layer.resultset) File /usr/local/lib/python2.5/site-packages/mezoGISlib/_guiwindows.py, line 33, in openMapView m = MapWindow(resultset) File /usr/local/lib/python2.5/site-packages/mezoGISlib/_guiwindows.py, line 139, in __init__ self.canvas = MapCanvas() File /usr/local/lib/python2.5/site-packages/mezoGISlib/_canvas.py, line 86, in __init__ self.__createNewCanvas() File /usr/local/lib/python2.5/site-packages/mezoGISlib/_canvas.py, line 530, in __createNewCanvas self.ctx = self.pixmap.cairo_create() cairo.Error: NULL pointer A mapframe is also created, but somehow there is no content in it or nothing is shown on/in the map. I am nearly for 100% sure, that there is no mistake in my geometry data, because the extend is correct initialized, when I start the database. Has anyone an idea, what I could do??? I am totally desperate, because the program will not work. In the source code I made some print-commands, to see how far the program goes and there I saw, that mezogis goes in the file _canvas.py and also in the function def __createNewCanvas(self): . But then, when mezogis should show the extend (with a print command) of the table, I get height: 1 and width: 1. And this can't be right, because my database is filled with geodata of the world, and this extend can't be just 1. Something must be wrong with the line: aw = self.mapframe.get_allocation() because afterwards the height and width is set, and with print I get the extend of 1, like I said. The get_allocation command is a method of python, or what does it do??? I ask, because in no other file this method is used (ok, just in one of _guiwindows.py, but there, the line is commented out). When I use the SQL-command (Select * from public.dbname )to show me the content of the database I get the messages which I wrote above. The program is able to show all data in a table, except from the geometry-column. But actually I wanted a map created, which looks like a worldmap and with which I could work, but without mezogis is quit useless for me. Also with a database of randomized created geometry data I have the same problem. Thank you very much in advance for your help. Daniela -- Pt! Schon vom neuen GMX MultiMessenger gehört? Der kanns mit allen: http://www.gmx.net/de/go/multimessenger ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
Upgrade problem: Gtk-WARNING **: Unable to locate theme engine in module_path: bluecurve
Hi, I upgraded my Redhat WS 4 installation to include the current versions of: Gtk 2.10.8 Glib 2.12.9 Pango 1.14.8 All dependencies (atk, cairo, libpng, etc..) Everything seemed to compile and test out well. When starting an application I receive the following warning message: Gtk-WARNING **: Unable to locate theme engine in module_path: bluecurve, The other issue is that when I select a menu option from any application or the desktop, it changes the text to white which makes it very difficult to see. Does anyone have any ideas of what might be wrong? Regards, Michael___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
how to use memprof in non gui mode, on run it is showing gtk warning
Hi, I want to use memprof in non gui mode,since i dont have xwindowsenvironment. ..It is givinggtk warning, when i try to run it using command line.. please specify the way to do it ..and also specify any tools which will trace the memory leaks. when i use Devel::leak perl module it is only returning the addresses but not providing more information.. so please let me know any tools available in this regard thanking you, Rama krishna ___ gtk-perl-list mailing list gtk-perl-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-perl-list
stop on Gtk-WARNING
When a GTK app gets Gtk-WARNINGs without actually stopping, it can be hard to determine exactly where they're coming from. Is there a way to tell GTK to stop immediately on such a warning? This would allow using a debugger to localize the first warning much more easily. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
RE: stop on Gtk-WARNING
The same for GLib-GObject-WARNINGs and other similar ones. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Boncek, John Sent: Monday, October 17, 2005 11:33 AM To: gtk-app-devel-list@gnome.org Subject: stop on Gtk-WARNING When a GTK app gets Gtk-WARNINGs without actually stopping, it can be hard to determine exactly where they're coming from. Is there a way to tell GTK to stop immediately on such a warning? This would allow using a debugger to localize the first warning much more easily. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: stop on Gtk-WARNING
there is an argument you can pass in to the application at invocation that does this. i think it is --g-fatal-warnings (eg ./foo --g-fatal-warnings). -tim ** http://mail.gnome.org/archives/gtk-devel-list/1998-August/msg00088.htmlBoncek, John wrote: http://mail.gnome.org/archives/gtk-devel-list/1998-August/msg00088.html The same for GLib-GObject-WARNINGs and other similar ones. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Boncek, John Sent: Monday, October 17, 2005 11:33 AM To: gtk-app-devel-list@gnome.org Subject: stop on Gtk-WARNING When a GTK app gets Gtk-WARNINGs without actually stopping, it can be hard to determine exactly where they're coming from. Is there a way to tell GTK to stop immediately on such a warning? This would allow using a debugger to localize the first warning much more easily. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: stop on Gtk-WARNING
On 10/17/05, Boncek, John [EMAIL PROTECTED] wrote: When a GTK app gets Gtk-WARNINGs without actually stopping, it can be hard to determine exactly where they're coming from. Is there a way to tell GTK to stop immediately on such a warning? This would allow using a debugger to localize the first warning much more easily. I have something like this near the start of my main(): #ifdef DEBUG g_log_set_always_fatal( G_LOG_FLAG_RECURSION | G_LOG_FLAG_FATAL | G_LOG_LEVEL_ERROR | G_LOG_LEVEL_CRITICAL | G_LOG_LEVEL_WARNING ); #endif /*DEBUG*/ Alternatively, you can pass --g-fatal-warnings as a command-line argument to any gtk program. Either technique will cause your program to abort() on the first warning, so you can get a stack trace if you run in a debugger. See http://developer.gnome.org/doc/API/2.0/glib/glib-Message-Logging.html J ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: GTK Warning
Hi- Running terminal won't do quite what you need. I'd advise downloading a X11 Server, and starting that before using gimp/bluefish. The terminal application in MacOSX is, more or less, a telnet application. -Aaron On Mon, 2004-02-02 at 21:31, Steve Slade wrote: Hello, I'm very new to the world of UNIX having been introduced through my recent purchase of OS X. I am trying to find alternatives to programs such as Photoshop and Dreamweaver. I found the Gimp and Bluefish. I downloaded Fink and began installing GTK, Gimp, and Bluefish. I loaded the fourth CD Xcode Tools that came with Panther (OS X 10.3). I installed GTK from source through Finkcommander (I still am tied to GUI's) and then installed the other two programs in the same way. When I try to launch Gimp or Bluefish from a terminal window, I get this error: GTK-Warning **: Cannot open display: :0.0 I have no idea what that means and no idea what to do now. I apologize if this has been asked before. I will search the archives as time permits as I know they contain a wealth of information. I do have a project that I need to complete soon which is why I'm asking the list. Any help is greatly appreciated. Thank you. Steve ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list -- ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: GTK Warning
Hi, Steve Slade [EMAIL PROTECTED] writes: I'm very new to the world of UNIX having been introduced through my recent purchase of OS X. I am trying to find alternatives to programs such as Photoshop and Dreamweaver. I found the Gimp and Bluefish. I downloaded Fink and began installing GTK, Gimp, and Bluefish. I loaded the fourth CD Xcode Tools that came with Panther (OS X 10.3). I installed GTK from source through Finkcommander (I still am tied to GUI's) and then installed the other two programs in the same way. When I try to launch Gimp or Bluefish from a terminal window, I get this error: GTK-Warning **: Cannot open display: :0.0 I have no idea what that means and no idea what to do now. I apologize if this has been asked before. I will search the archives as time permits as I know they contain a wealth of information. I do have a project that I need to complete soon which is why I'm asking the list. You will need to start the X Server before you launch a GTK+ or any other X11 application. Sven ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: GTK Warning
On Tue, 2004-02-03 at 05:31, Steve Slade wrote: Hello, I'm very new to the world of UNIX having been introduced through my recent purchase of OS X. I am trying to find alternatives to programs such as Photoshop and Dreamweaver. I found the Gimp and Bluefish. I downloaded Fink and began installing GTK, Gimp, and Bluefish. I loaded the fourth CD Xcode Tools that came with Panther (OS X 10.3). I installed GTK from source through Finkcommander (I still am tied to GUI's) and then installed the other two programs in the same way. When I try to launch Gimp or Bluefish from a terminal window, I get this error: GTK-Warning **: Cannot open display: :0.0 I'm kind-of guessing here, but it looks like you need to be running an X server. This is the program that most versions of Unix use to draw things on screen and handle mouse and keyboard inputs. Have a look for information on X servers that run under OS X; IIRC there's one that comes with Fink, and maybe one comes with Panther? You ought to be able to find a freely downloadable one. Hope this helps Dave I have no idea what that means and no idea what to do now. I apologize if this has been asked before. I will search the archives as time permits as I know they contain a wealth of information. I do have a project that I need to complete soon which is why I'm asking the list. Any help is greatly appreciated. Thank you. Steve ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: GTK Warning
Hi Steve, Steve Slade wrote: When I try to launch Gimp or Bluefish from a terminal window, I get this error: GTK-Warning **: Cannot open display: :0.0 You need an X server. Panther comes with a good X server, but it's not installed by default: you'll need to put your panther DVD back in again and install X. John ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
GTK Warning
Hello, I'm very new to the world of UNIX having been introduced through my recent purchase of OS X. I am trying to find alternatives to programs such as Photoshop and Dreamweaver. I found the Gimp and Bluefish. I downloaded Fink and began installing GTK, Gimp, and Bluefish. I loaded the fourth CD Xcode Tools that came with Panther (OS X 10.3). I installed GTK from source through Finkcommander (I still am tied to GUI's) and then installed the other two programs in the same way. When I try to launch Gimp or Bluefish from a terminal window, I get this error: GTK-Warning **: Cannot open display: :0.0 I have no idea what that means and no idea what to do now. I apologize if this has been asked before. I will search the archives as time permits as I know they contain a wealth of information. I do have a project that I need to complete soon which is why I'm asking the list. Any help is greatly appreciated. Thank you. Steve ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Gtk-WARNING, How to fix ?
Hello all, I developing an application that uses 640 checkbuttons performing a 32 X 20 matrix using gtk1.2, recently in my Debian woody system I upgraded to Gnome2.2 and your libraries, and after this, when I open the window that has these checkbuttons (running my app from a xterm) I had these warnings : Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width 65532 and height 19 I don't know if exists relantionship with this warning but when I compiling/linking my app I receive these message from gcc : . . . make[2]: Entering directory `/home/flavio/Projects/ihmserial/src' gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -g -O2 -Wall -Wunused -c callbacks.c gcc -g -O2 -Wall -Wunused -o ihmserial main.o support.o ihmserial.o serial.o interface.o callbacks.o -rdynamic -L/usr/lib -L/usr/X11R6/lib -rdynamic -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -ldl -lXi -lXext -lX11 -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb-3 -lglib /usr/bin/ld: warning: libgdk_imlib.so.1, needed by /usr/lib/libgnomeui.so, may conflict with libgdk_imlib.so.2 . . . My application runs OK but I think these warning strange. Someone knows what is this and how to fix this ? I will be been thankful Success for all -- Flavio Alberto Lopes Soares [EMAIL PROTECTED] Linux User n. 257636 MAQPLAS INDÚSTRIA E COMÉRCIO DE MÁQUINAS LTDA. www.maqplas.com.br [EMAIL PROTECTED] ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Gtk-WARNING **: Unable to locate theme engine in module_path: pixmap
hi, I have notstill fixed this error. It appear when I usegtk_rc_parse ("@prefix@/skin/gtkrc"). :( Please, help me.
Re: Gtk-warning: cannot open display
Have you tried xhost + ? Yes, I tried that, both as root and as my normal user. It doesn't work though :/ Thanks anyway, Johan ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: Gtk-warning: cannot open display
did you try to open another term and logon as root (for example, or even try it with your own login name) and then type this: xhost + then try to run your program. Is it still showing the same problem? Best regards, --- Jean-Christophe Berthon - Original Message - From: Johan N-P [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 11, 2001 1:07 AM Subject: Gtk-warning: cannot open display Hi all, I have a really weird problem. Until yesterday my gtk program worked fine, but suddenly it stopped working. Now it just tells me gtk-warning: cannot open display when I try to run it. $DISPLAY is :0.0 as it should be. And yes, I'm running it as the user who started X. When I compile and run other gtk programs they work fine, it's just my program that behaves like this. I stepped through it in gdb to see where it happens, and I found that it's always gtk_init that gives this error without any apparent reason (there is absolutely nothing wrong with argc and argv or the way I supply them). What could tbe the reason for this? Johan ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
GTK+-Warning
I have been running some application (gimp, gnucash, gtkbitchx, pan) all rely on GTK+ and all have been generating a warning message which states that libxfce.so is missing. Does anyone know a reason why a library used for XFCE would be need for these application? Also, if someone has an idea as to how to stop the warning messages which does not require me to reload XFCE I would greatly appreciate it. Please send any response to my email address I do not check this newsgroup regularly. Thanks ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Gtk-WARNING **: Unable to locate loadable module in module_path: libpixmap.so
I know this has already been the subject of at least one thread, but that didn't answer all my questions: It seems that at some point libpixmap et al have moved from .../lib/gtk/themes/engines/ to .../lib/gtk/themes/engines/lib Can somebody tell me if this is correct? Is this last lib directory going to stay. Where is this defined (for the whole system not just each user)? is it at build-time or run-time? THX AMP -- pediddel: A car with only one working headlight. -- "Sniglets", Rich Hall Friends _ This message has been checked for all known viruses by the MessageLabs Virus Control Centre. For further information visit http://www.messagelabs.com/stats.asp ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
I am getting Gtk-warning **:cannot display:
Dear Sir/Madam, I compiled successfully my program and when I tried to run on SUN OS it is giving me Gtk-warning ** : cannot display: What is the error? Can I run this program in Windows? __ Do You Yahoo!? Thousands of Stores. Millions of Products. All in one Place. http://shopping.yahoo.com/ ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Gtk-WARNING + strange behavior
Hello. perhaps it is not a good place to put my mail but I will try anyway ;-) I have Helix gnome installed (over standard mandrake 7.1 Gnome). My problem is strange behavior of some Gtk apps. When I run eg. Glade (0.59) first I have some warnings: Gtk-WARNING: could not find libxeno.so then GnomeUI-Warning: Authentication rejected. Reason: none of auth. protocols are supported... Then glade runs but it is really hard to use it - the app seems like it "does not understand" mouse. My left button does not work at all. I can only select widgets with right one but that's all. Then I have to use keyboard to press enrter, tabs etc. There are also other aplications that behaves like glade (ie. any app that I build with glade...). Could you please tell me where can I find libxeno.so and/or what is the problem with those apps? Thanks, _Adam_ ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: Gtk-WARNING **: Unable to locate loadable module in module_path:libpixmap.so
On Wed, 12 Jul 2000, David Frascone wrote: I have looked in all the archvies, and see a few people ask about this error, but none of their questions were ever asked. The library does exist, it /usr/lib/gtk/themes/engines. I've tried pointing module_path to it via the following line in my .gtkrc: module_path "/usr/lib/gtk/themes/engines" I've even tried adding that path to my ld.so.conf. No luck. Please tell me what I'm doing wrong. gtk-version: 1.2.8 glib-version: 1.2.8 I didn't have such problem, but is it owned by root and has access rights "rwxr-xr-x" - I recall something about linux dynamic loader that requires *.so to have execute persmissions for everybody. HTH Best regards, -Vlad ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: Gtk-WARNING **: Unable to locate loadable module in module_path: libpixmap.so
Wups . . got chopped. On Thu, Jul 13, 2000 at 08:48:59AM -0500, David Frascone wrote: I didn't have such problem, but is it owned by root and has access rights "rwxr-xr-x" - I recall something about linux dynamic loader that requires *.so to have execute persmissions for everybody. Here's mine :) [chaos@chaos chaos]$ ls -l /usr/lib/gtk/themes/engines : : : -rwxr-xr-x1 root root 784 Apr 5 07:01 libpixmap.la -rwxr-xr-x1 root root 216930 Apr 5 07:01 libpixmap.so : : : ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: Gtk-WARNING **: Unable to locate loadable module in module_path:libpixmap.so
On Thu, 13 Jul 2000, David Frascone wrote: Wups . . got chopped. On Thu, Jul 13, 2000 at 08:48:59AM -0500, David Frascone wrote: I didn't have such problem, but is it owned by root and has access rights "rwxr-xr-x" - I recall something about linux dynamic loader that requires *.so to have execute persmissions for everybody. Here's mine :) [chaos@chaos chaos]$ ls -l /usr/lib/gtk/themes/engines : : : -rwxr-xr-x1 root root 784 Apr 5 07:01 libpixmap.la -rwxr-xr-x1 root root 216930 Apr 5 07:01 libpixmap.so : : : In original message, you've stated that you added module_path "/usr/lib/gtk/themes/engines" to your gtkrc. But it seems that you should use module_path "/usr/lib/gtk/themes/" for your file layout (I see this looking at the comments in gtkrc's of various themes). Please try this and report. If it still doesn't work: Did you compile libpixmap.so yourself (what is your distro)? If I were you, I would try the following then: 1) Get compiled libpixmap.so from any other place (i.e. from RedHat - it's in gtk-engines.rpmor something like this) and try it. 2) If 1) is not acceptable - may be your libgtk.so and libpixmap.so are compiled by different versions of gcc (and probably linked with different versions of glibc), so try to compile them with the same compiler (and probably without all optimizations). HTH ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list Best regards, -Vlad ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: Gtk-WARNING **: Unable to locate loadable module in module_path:libpixmap.so
On Thu, 13 Jul 2000, David Frascone wrote: Hmm . . .strange . . .seems that a theme did it. If I remove my .gtkrc, it works fine. Here is the offensive .gtkrc If you remove .gtkrc, it seems that gtk+ will use default theme that doesn't require pixmap engine - so this is the reason the message disappears. Could you try restoring your original .gtkrc shown below, and add module_path "/usr/lib/gtk/themes/" to it and report results. # -- THEME AUTO-WRITTEN DO NOT EDIT include "/home/chaos/.themes/DarkMarble/gtk/gtkrc" style "user-font" { font="-adobe-helvetica-medium-r-normal-*-*-120-*-*-p-*-iso8859-1" } widget_class "*" style "user-font" include "/home/chaos/.gtkrc.mine" # -- THEME AUTO-WRITTEN DO NOT EDIT .gtkrc.mine does not exist, and DarkMarble's gtkrc does not modify the module_path On Thu, Jul 13, 2000 at 07:10:45PM +0500, Vlad Harchev wrote: On Thu, 13 Jul 2000, David Frascone wrote: Wups . . got chopped. On Thu, Jul 13, 2000 at 08:48:59AM -0500, David Frascone wrote: I didn't have such problem, but is it owned by root and has access rights "rwxr-xr-x" - I recall something about linux dynamic loader that requires *.so to have execute persmissions for everybody. Here's mine :) [chaos@chaos chaos]$ ls -l /usr/lib/gtk/themes/engines : : : -rwxr-xr-x1 root root 784 Apr 5 07:01 libpixmap.la -rwxr-xr-x1 root root 216930 Apr 5 07:01 libpixmap.so : : : In original message, you've stated that you added module_path "/usr/lib/gtk/themes/engines" to your gtkrc. But it seems that you should use module_path "/usr/lib/gtk/themes/" for your file layout (I see this looking at the comments in gtkrc's of various themes). Please try this and report. If it still doesn't work: Did you compile libpixmap.so yourself (what is your distro)? If I were you, I would try the following then: 1) Get compiled libpixmap.so from any other place (i.e. from RedHat - it's in gtk-engines.rpmor something like this) and try it. 2) If 1) is not acceptable - may be your libgtk.so and libpixmap.so are compiled by different versions of gcc (and probably linked with different versions of glibc), so try to compile them with the same compiler (and probably without all optimizations). HTH Best regards, -Vlad ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: Gtk-WARNING **: Unable to locate loadable module in module_path: libpixmap.so
On Thu, Jul 13, 2000 at 08:44:17PM +0500, Vlad Harchev wrote: On Thu, 13 Jul 2000, David Frascone wrote: Hmm . . .strange . . .seems that a theme did it. If I remove my .gtkrc, it works fine. Here is the offensive .gtkrc If you remove .gtkrc, it seems that gtk+ will use default theme that doesn't require pixmap engine - so this is the reason the message disappears. Could you try restoring your original .gtkrc shown below, and add module_path "/usr/lib/gtk/themes/" to it and report results. I did that . . it didn't help ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
*** FIXED *** Re: Gtk-WARNING **: Unable to locate loadable module in module_path: libpixmap.so
strace found it. I wasn't doing the module_path at the beginning of the .gtkrc file, so it was trying to load libpixmap before it got to the theme. Thanks a lot for everyone's help. On Thu, Jul 13, 2000 at 11:31:10AM -0500, David Frascone wrote: On Thu, Jul 13, 2000 at 08:44:17PM +0500, Vlad Harchev wrote: On Thu, 13 Jul 2000, David Frascone wrote: Hmm . . .strange . . .seems that a theme did it. If I remove my .gtkrc, it works fine. Here is the offensive .gtkrc If you remove .gtkrc, it seems that gtk+ will use default theme that doesn't require pixmap engine - so this is the reason the message disappears. Could you try restoring your original .gtkrc shown below, and add module_path "/usr/lib/gtk/themes/" to it and report results. I did that . . it didn't help ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: Gtk-WARNING **: Unable to locate loadable module in module_path:libpixmap.so
On Thu, 13 Jul 2000, David Frascone wrote: On Thu, Jul 13, 2000 at 08:44:17PM +0500, Vlad Harchev wrote: On Thu, 13 Jul 2000, David Frascone wrote: Hmm . . .strange . . .seems that a theme did it. If I remove my .gtkrc, it works fine. Here is the offensive .gtkrc If you remove .gtkrc, it seems that gtk+ will use default theme that doesn't require pixmap engine - so this is the reason the message disappears. Could you try restoring your original .gtkrc shown below, and add module_path "/usr/lib/gtk/themes/" to it and report results. I did that . . it didn't help You could perform steps 1) and 2) I listed in previous messages, and also execute 'file /usr/lib/gtk/themes/engines/pixmap.so" and check output - may be you've got pixmap.so for wrong CPU type (say for SPARC if you are on x86) (sorry if this offends you, but this seems to be my last idea). If you are not on linux, please state it clearly too. HTH Best regards, -Vlad ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Gtk-WARNING **: Unable to locate loadable module in module_path: libpixmap.so
I have looked in all the archvies, and see a few people ask about this error, but none of their questions were ever asked. The library does exist, it /usr/lib/gtk/themes/engines. I've tried pointing module_path to it via the following line in my .gtkrc: module_path "/usr/lib/gtk/themes/engines" I've even tried adding that path to my ld.so.conf. No luck. Please tell me what I'm doing wrong. gtk-version: 1.2.8 glib-version: 1.2.8 ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list