|
Bugzilla – Full Text Bug Listing |
| Summary: | gtkmozembed does not work | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 10.3 | Reporter: | Itamar H <itamarh> |
| Component: | Other | Assignee: | Hans Petter Jansson <hpj> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Major | ||
| Priority: | P2 - High | CC: | wolfgang |
| Version: | Beta 3 | ||
| Target Milestone: | --- | ||
| Hardware: | x86 | ||
| OS: | openSUSE 10.3 | ||
| Whiteboard: | |||
| Found By: | Development | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
I can't find gnome-python-extras package in openSuSE distribution. Did you installed it from additional source? I just installed opensuse regulary. its part of the distribution (and was installed by default) i see it in yast, under package selector python-gnome-extras (2.14.2) - Python bindings for GNOME. Sorry looks like I did a typo in previous search. I don't see it installed by default. I can reproduce this. Unclear it's unclear so far why it's happening. This Launchpad bug is relevant: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/26436 Especially towards the end. I can get the example code above to work here if I install Seamonkey and do: LD_LIBRARY_PATH=/usr/lib/seamonkey ./example.py @Michael: Do we need to build the python module against Seamonkey or something? Can we? i found another workaround, when firefox is installed: by using export MOZILLA_FIVE_HOME=/usr/lib/firefox (or lib64). the question is do i need firefox installed to use gtkmozembed? Taking Mike off NEEDINFO - he can't help. Itamar: Yes. *** Bug 244497 has been marked as a duplicate of this bug. *** Useful info in duplicate bug 244497. Still a problem in 11.0. On 11.0 (and prior) it should work (and works for me) if MOZILLA_FIVE_HOME is set to the xulrunner 1.8.x directory MOZILLA_FIVE_HOME=/usr/lib/xulrunner-1.8.1 python example.py That is expected as long as the gtkmozembed module of python hasn't been ported to libXUL (gecko 1.9) mechanisms where it could statically link in a (pretty version independent) stub library which is able to find a GRE/XRE using the registration data in /etc/gre.d/. Please note that know absolutely nothing about the python module so someone involved upstream may comment about the future plans of switching to Gecko 1.9 style. Vincent got this to build against 1.9.2 for 11.3 and it works out of the box now. |
gtkmozembed, part of gnome-python-extras does not work. checked on both 32bit and 64bit editions of beta3. sample program attached (program verified as working on another distro) the window opens, but the page is not loaded. using the "regular workaround" of export LD_LIBRARY_PATH=/usr/lib/firefox (or lib64) causes the program to exit without any message(?!) after the "moz = gtkmozembed.MozEmbed()" line. import gtk import gtkmozembed window = gtk.Window() moz = gtkmozembed.MozEmbed() window.add(moz) moz.load_url("http://www.google.com") window.show_al() gtk.main()