[Bug 26436] Re: gtkmozembed crashs with python

Steve Castellotti steve at theProfessionalAmateur.com
Mon Nov 3 11:35:07 UTC 2008

The following two lines of code should safely sort any gtkmozembed python program when running with xul-runner. It should not be necessary to modify any environment variables such as MOZILLA_HOME_FIVE, MOZILLA_HOME, or LD_LIBRARY_PATH - although obviously it the example path only works for the indicated version of xul-runner:

if os.path.exists('/usr/lib/xulrunner-1.9'):

That should be all that is necessary, and it should still be safe to
execute on legacy systems.

I run it immediately after importing the gtkmozembed module, prior to
displaying the main window.

And just FYI, I've never ran into problems with multi-threaded
gtkmozembed components when displaying Flash.

gtkmozembed crashs with python
You received this bug notification because you are a member of Mozilla
Bugs, which is a bug assignee.

More information about the Ubuntu-mozillateam-bugs mailing list