|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
OpenEV gtk problemHi list,
I have built OpenEV following "Building OpenEV from scratch" http://openev.sourceforge.net/app/developer_info/DEVCOURSE_building_main tenance.html gtk1.2 was used, instead of gtk 2, because previous GUI was on gtk1.2 OpenEV was then tested on other Linux PCs and it ran ok. Last week I tried on a newer OS Fedora 8 with gtk 2 installed on /usr/lib/gtk-2.0. At first it complained "Gtk-WARNING **: Failed to load module "libgnomebreakpad.so": libgnomebreakpad.so: cannot open shared object file: No such file or directory" I added /usr/lib/gtk-2.0/modules to LD_LIBRARY_PATH and ran again, but more error messages indicated incompatibility with gtk 2.0. "GTK init failed, etc" I ran "lsof" on OpenEV and found that OpenEV called both local gtk1.2 (OpenEV/lib) and gtk 2 (/usr/lib/gtk-2.0), which probably caused the conflict. BTW, I also ran OpenEV on a PC with CentOS5 Linux, it ran fine and did not complain. Although the CentOS5 has gtk/gdk 2.0 on /usr/lib/ One things that I noticed different is that CentOS5 Linux has no file "ibgnomebreakpad.so" under /usr/lib/gtk-2.0/modules/. Have you encounter the gtk problem? Is there a way to build OpenEV so that it uses local_installation only? This is the result of "ldd" on OpenEV *.so* libgtk-1.2.so.0 => /home/sgong/dev171/dist/lib/libgtk-1.2.so.0 (0x00d74000) libgdk-1.2.so.0 => /home/sgong/dev171/dist/lib/libgdk-1.2.so.0 (0x00111000) libgtk-1.2.so.0 => not found libgdk-1.2.so.0 => not found thanks, Shawn ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Openev-discuss mailing list Openev-discuss@... https://lists.sourceforge.net/lists/listinfo/openev-discuss |
|
|
Re: OpenEV gtk problemHi Shawn,
On Feb 18, 2008 5:22 PM, Gong, Shawn (Contractor) <Shawn.Gong@...> wrote: > > OpenEV was then tested on other Linux PCs and it ran ok. Last week I > tried on a newer OS Fedora 8 with gtk 2 installed on /usr/lib/gtk-2.0. Normally, when you have both gtk installed you should do: import pygtk pygtk.require('1.2') import gtk This only needs to be done the first time you import gtk. Hope this helps. cheers -- Mario B. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Openev-discuss mailing list Openev-discuss@... https://lists.sourceforge.net/lists/listinfo/openev-discuss |
|
|
Re: OpenEV gtk problemHi list,
I followed Mario's post below and added import pygtk pygtk.require('1.2') import gtk in openev.py (1) I got the following error massage while trying to display raster image: Gdk-ERROR **: BadValue (integer parameter out of range for operation) serial 145562 error_code 2 request_code 145 minor_code 9 python: xcb_xlib.c:41: xcb_xlib_lock: Assertion '!c->xlib.lock' failed. Gdk-ERROR **: BadValue (integer parameter out of range for operation) serial 71743 error_code 2 request_code 145 minor_code 9 python: xcb_xlib.c:41: xcb_xlib_lock: Assertion '!c->xlib.lock' failed.
(2) “Gtk-WARNING **: Failed to load module "libgnomebreakpad.so": libgnomebreakpad.so: cannot open shared object file: No such file or directory” is still there.
If I add /usr/lib/gtk-2.0/modules (this is where the libgnomebreakpad.so is located) to LD_LIBRARY_PATH, I got: (process 2823): Glib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function
(process 2823): Glib-GObject-CRITICAL **: g_once_init_leave: assertion 'initialization_value !=0' failed
(process 2823): Glib-GObject-CRITICAL **: gdk_cursor_new_for_display: assertion 'GDK_IS_DISPLAY (display)' failed
Are these two related? Is this a gtk/gdk problem or xlib problem http://setiathome.berkeley.edu/forum_thread.php?id=43336 ?
Thanks, Shawn
-----Original Message----- Hi Shawn, On Feb 18, 2008 5:22 PM, Gong, Shawn (Contractor) <Shawn.Gong@...> wrote: > > OpenEV was then tested on other Linux PCs and it ran ok. Last week I > tried on a newer OS Fedora 8 with gtk 2 installed on /usr/lib/gtk-2.0. Normally, when you have both gtk installed you should do: import pygtk pygtk.require('1.2') import gtk This only needs to be done the first time you import gtk. Hope this helps. cheers -- Mario B.
My first message: >>>>>>>>>>>>>>>>>>>>>> Hi list, I have built OpenEV following “Building OpenEV from scratch” http://openev.sourceforge.net/app/developer_info/DEVCOURSE_building_maintenance.html gtk1.2 was used, instead of gtk 2, because previous GUI was on gtk1.2 OpenEV was then tested on other Linux PCs and it ran ok. Last week I tried on a newer OS Fedora 8 with gtk 2 installed on /usr/lib/gtk-2.0. At first it complained “Gtk-WARNING **: Failed to load module "libgnomebreakpad.so": libgnomebreakpad.so: cannot open shared object file: No such file or directory” I added /usr/lib/gtk-2.0/modules to LD_LIBRARY_PATH and ran again, but more error messages indicated incompatibility with gtk 2.0. "GTK init failed, etc" I ran “lsof” on OpenEV and found that OpenEV called both local gtk1.2 (OpenEV/lib) and gtk 2 (/usr/lib/gtk-2.0), which probably caused the conflict. BTW, I also ran OpenEV on a PC with CentOS5 Linux, it ran fine and did not complain. Although the CentOS5 has gtk/gdk 2.0 on /usr/lib/ One things that I noticed different is that CentOS5 Linux has no file "ibgnomebreakpad.so" under /usr/lib/gtk-2.0/modules/. Have you encounter the gtk problem? Is there a way to build OpenEV so that it uses local_installation only? This is the result of “ldd” on OpenEV *.so* libgtk-1.2.so.0 => /home/sgong/dev171/dist/lib/libgtk-1.2.so.0 (0x00d74000) libgdk-1.2.so.0 => /home/sgong/dev171/dist/lib/libgdk-1.2.so.0 (0x00111000) libgtk-1.2.so.0 => not found libgdk-1.2.so.0 => not found thanks, Shawn ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Openev-discuss mailing list Openev-discuss@... https://lists.sourceforge.net/lists/listinfo/openev-discuss |
|
|
Re: OpenEV gtk problemHi Shawn,
On Wed, Feb 20, 2008 at 3:48 PM, Gong, Shawn (Contractor) <Shawn.Gong@...> wrote: > > I followed Mario's post below and added > > > import pygtk > > pygtk.require('1.2') > > import gtk > > in openev.py > > (1) I got the following error massage while trying to display raster image: > > Gdk-ERROR **: BadValue (integer parameter out of range for operation) > > serial 145562 error_code 2 request_code 145 minor_code 9 I've seen this message before but have no idea what it means... > (2) "Gtk-WARNING **: Failed to load module "libgnomebreakpad.so": > libgnomebreakpad.so: cannot open shared object file: No such file or > directory" is still there. I have never seen that lib before. Can you track down why it is required? > Are these two related? Is this a gtk/gdk problem or xlib problem > http://setiathome.berkeley.edu/forum_thread.php?id=43336 ? Now you see why it's time to move to GTK2 ;) cheers -- Mario B. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Openev-discuss mailing list Openev-discuss@... https://lists.sourceforge.net/lists/listinfo/openev-discuss |
| Free embeddable forum powered by Nabble | Forum Help |