Gecko-dependent apps won't start ("Could not find compatible GRE")

Bug #568876 reported by Matthew Paul Thomas
52
This bug affects 11 people
Affects Status Importance Assigned to Milestone
xulrunner-1.9.2 (Ubuntu)
Expired
Low
Unassigned

Bug Description

xulrunner 1.9.2.3+nobinonly-0ubuntu2, prism 1.0b3+svn20100210r62050-0ubuntu1, yelp 2.30.0-0ubuntu2, miro 3.0.1-0ubuntu2; Ubuntu Lucid, all updates installed

1. At a terminal, enter "prism-google-mail".
What should happen: Gmail opens.
What actually happens: "Could not find compatible GRE between version 1.9.2 and 1.9.2.*."

2. At a terminal, enter "yelp".
What should happen: The help viewer opens.
What actually happens: "Could not initialize gecko!"

3. At a terminal, enter "miro".
What should happen: Miro opens.
What actually happens: "GRE_GetGREPathWithProperties failed ... import gtkmozembed ... SystemError: dynamic module not initialized properly"

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: prism-google-mail 1.0b3+svn20100210r62050-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic i686
NonfreeKernelModules: wl
Architecture: i386
Date: Fri Apr 23 10:04:01 2010
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_GB:en
 PATH=(custom, user)
 LANG=en_GB.utf8
 SHELL=/bin/bash
SourcePackage: prism

Revision history for this message
Matthew Paul Thomas (mpt) wrote :
Revision history for this message
Micah Gersten (micahg) wrote :

@mpt

What versions of xulrunner do you have installed?

Changed in prism (Ubuntu):
status: New → Incomplete
Revision history for this message
Noah Massey (ubuntu-waterwelp) wrote :

Affects me as well. Same Package, Architecture: amd64

xulrunner-1.9 / xulrunner-1.9.2 are at 1.9.2.4+build3+nobinonly-0ubuntu0.10.04.1 (from http://ppa.launchpad.net/ubuntu-mozilla-security/ppa/ubuntu/)

Downgrading xulrunner-1.9 / xulrunner-1.9.2 to 1.9.2.3+nobinonly-0ubuntu2 corrects the issue

Revision history for this message
Noah Massey (ubuntu-waterwelp) wrote :

Upgraded this morning to xulrunner-1.9.2 Version: 1.9.2.4+build4+nobinonly-0ubuntu0.10.04.1

I am no longer experiencing the issue.
So either the problem was fixed be the latest version, or downgrading and launching prism corrected it.

Revision history for this message
Noah Massey (ubuntu-waterwelp) wrote :

Spoke prematurely, apparently I had an open firefox window hiding from before the update.
prism-google-mail also fails to launch with xulrunner-1.9 1.9.2.4+build4+nobinonly-0ubuntu0.10.04.1

It exits with a value of 1, but without reporting "Could not find compatible GRE between version 1.9.2 and 1.9.2.*."
Instead, it reports nothing.

Revision history for this message
Felix (felix-schumacher) wrote :

I had the same error message. I had installed the three packages xulrunner-1.9, xulrunner-1.9.1 and xulrunner-1.9.2. I removed all xulrunner packages except xulrunner-1.9.2. Still no go.

Then went into the directory /etc/gre.d. There were (among others) two files named "1.9.1.9.system.conf" and "1.9.2.3.system.conf.dpkg-bak". After I removed the first and renamed the second to "1.9.2.3.system.conf" prism worked.

Revision history for this message
Noah Massey (ubuntu-waterwelp) wrote :

Thanks you. Something similar worked for me, too:

/etc/gre.d contained "1.9.1.9.system.conf", "1.9.2.3.system.conf.dpkg-bak", and "1.9.2.4.system.conf.dpkg-bak"
I removed "1.9.2.3.system.conf.dpkg-bak" and renamed "1.9.2.4.system.conf.dpkg-bak" to "1.9.2.4.system.conf"

I left the 1.9.1 version alone.

description: updated
summary: - prism-google-mail won't start ("Could not find compatible GRE")
+ Gecko-dependent apps won't start ("Could not find compatible GRE")
affects: prism (Ubuntu) → xulrunner (Ubuntu)
Changed in xulrunner (Ubuntu):
status: Incomplete → New
Revision history for this message
John Vivirito (gnomefreak) wrote :

I will be attaching screen shots. I am unable to reproduce this in Lucid with stable xulrunner192 but this is from my Maverick box same with screen shots

Revision history for this message
John Vivirito (gnomefreak) wrote :

Here is miro

Revision history for this message
John Vivirito (gnomefreak) wrote :

Prism-google-mail

Revision history for this message
John Vivirito (gnomefreak) wrote :

Yelp screen shot

Micah can you take a look at the security package. I'm using xul191 in Lucid from official archives and on Maverick I'm running daily and all on this WFM

Version of packages:

gnomefreak@development:~$ policy xulrunner-1.9.2 yelp miro
xulrunner-1.9.2:
  Installed: 1.9.2.6~hg20100625r34371+nobinonly-0ubuntu1~umd1
  Candidate: 1.9.2.6~hg20100625r34371+nobinonly-0ubuntu1~umd1
  Version table:
 *** 1.9.2.6~hg20100625r34371+nobinonly-0ubuntu1~umd1 0
        500 http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu/ maverick/main Packages
        100 /var/lib/dpkg/status
     1.9.2.4+build7+nobinonly-0ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ maverick/main Packages
yelp:
  Installed: 2.30.0-0ubuntu2
  Candidate: 2.30.0-0ubuntu2
  Version table:
 *** 2.30.0-0ubuntu2 0
        500 http://archive.ubuntu.com/ubuntu/ maverick/main Packages
        100 /var/lib/dpkg/status
miro:
  Installed: 3.0.1-0ubuntu2
  Candidate: 3.0.1-0ubuntu2
  Version table:
 *** 3.0.1-0ubuntu2 0
        500 http://archive.ubuntu.com/ubuntu/ maverick/universe Packages
        100 /var/lib/dpkg/status
gnomefreak@development:~$

Revision history for this message
John Vivirito (gnomefreak) wrote :

Does running each package in safe-mode work? not sure if there is a safe-mode for any of them

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Does this still occur for anyone? Could someone experiencing the issue please attach the contents of /etc/gre.d ?

Thanks

affects: xulrunner (Ubuntu) → xulrunner-1.9.2 (Ubuntu)
Changed in xulrunner-1.9.2 (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Morten A. Steien (morten-steien) wrote :

I upgraded to 10.04.1 today and got the same problem.
Solution:
In /etc/gre.d
Delete old file 1.9.1.9.system.conf
Rename new file 1.9.2.8.system.conf.dpkg-bak to 1.9.2.8.system.conf

Revision history for this message
giadrago (giadrag) wrote :

I had the same problem after a double upgrade (Jaunty --> Karmic --> Lucid). This bug prevents the opening of RSSOwl. After many tries reinsalling RSSOwl, SeaMonkey, XULRunner and so on I found the solution here.

The suggested solution:

In /etc/gre.d
Delete old file 1.9.1.9.system.conf
Rename new file 1.9.2.8.system.conf.dpkg-bak to 1.9.2.8.system.conf

solved the problem. Thank you!

Revision history for this message
lumbricus (lumbricus) wrote :

I had a similar problem only with prism apps: when trying to start a prism application, nothing happened (not even an error message when starting from the terminal). It seems that my profile was corrupted, deleting the folder ~/.prism solved my problem.

Revision history for this message
mr lee (mrlee1953) wrote : Re: [Bug 568876] Re: Gecko-dependent apps won't start ("Could not find compatible GRE")

thanks for your response. If your suggestion was about my issue w/the 'help' button, it has been resolved. I am now having trouble finding a user manual for djplay. Any help on this would be appreciated.

Revision history for this message
lumbricus (lumbricus) wrote :

I stumpled upon this bug report here when searching for a solution for my problem, but finally I figured out that I have a quite different problem so I opend a new bug report: https://bugs.launchpad.net/ubuntu/+source/gears/+bug/632779

Revision history for this message
Daniel Fish (danielfish) wrote :

Just a quick note to report that this happened to me also. Noticed problem after upgrading from 8.04 -> 9.10 -> 10.4. The fix to rename the conf files in gre.d worked perfectly for me.

Thanks!

-daniel-

Revision history for this message
Bryan Stevenson (bdsca) wrote :

The solution to delete and rename files in /etc/gre.d worked for me.

Thanks

Revision history for this message
Ivan V. Petrenko (karavello) wrote :

Thanks to all.

The problem happened to me after upgrading from Ubuntu 9.04 to Ubuntu 10.04
The solution to delete and rename files in /etc /gre.d seems to be usefull and efficient.

Revision history for this message
Andi Albrecht (andialbrecht) wrote :

Can someone please post the contents of the working files in /etc/gre.d

I've the same issue on a fresh Maverick install. This is the content of /etc/gre.d/1.9.2.13.system.conf:

[1.9.2.13]
GRE_PATH=/usr/lib/xulrunner-1.9.2.13
xulrunner=true
abi=x86_64-gcc3

Revision history for this message
Ali Afshar (aafshar) wrote :

I have this problem on Lucid. I have /etc/gre.d/1.9.2.13.system.conf with contents:

[1.9.2.13]
GRE_PATH=/usr/lib/xulrunner-1.9.2.13
xulrunner=true
abi=x86_64-gcc3

(identical to Andi Albrecht)

p.s. A "fix" involving hand-editing system-owned files is absolutely nothing more than a really bad hack. Certainly not "efficient". It's hard to say this without sounding like a flame, but Ubuntu don't care about breaking stuff like this and even less about fixing it, so good luck all.

Revision history for this message
Micah Gersten (micahg) wrote : Re: [Bug 568876] Re: Gecko-dependent apps won't start ("Could not find compatible GRE")

Which applications are actually not working?

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

These errors are nearly always caused by stale files in /etc/gre.d (which are usually cleaned up during package upgrades)

Revision history for this message
Ali Afshar (aafshar) wrote :

After a while playing with this, the safest thing to do appears to be running your application.ini explicitly using xulrunner directly:

xulrunner-1.9.2 application.ini

Oh for the days when things worked.

Revision history for this message
Ali Afshar (aafshar) wrote :

I was running http://pencil.evolus.vn/en-US/Downloads/Application.aspx

There is nothing stale anywhere, this is a fresh install.

Revision history for this message
Micah Gersten (micahg) wrote :

Please answer my question as to which apps do not work.

On 01/19/2011 07:01 PM, Ali Afshar wrote:
> After a while playing with this, the safest thing to do appears to be
> running your application.ini explicitly using xulrunner directly:
>
> xulrunner-1.9.2 application.ini
>
> Oh for the days when things worked.

Revision history for this message
Ali Afshar (aafshar) wrote :

> I was running http://pencil.evolus.vn/en-US/Downloads/Application.aspx
>
> There is nothing stale anywhere, this is a fresh install.

The bug is in the Ubuntu xulrunner distribution. Please fix, thanks.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for xulrunner-1.9.2 (Ubuntu) because there has been no activity for 60 days.]

Changed in xulrunner-1.9.2 (Ubuntu):
status: Incomplete → Expired
Revision history for this message
ThorX89 (thorx89) wrote :

I couldn't start yelp as well.
In "/etc/gre.d" there were two files: 1.9.2.17.system.conf 2.0.system.conf

The second one was the culprit. Turns out some another application (chmsee) had requested xulrunner 2.0 as a dependency and this resulted in the creation of said file, which happens to block yelp from starting.

This solves the problem and it has no adverse effect on chmsee.
cd /etc/gre.d
sudo mv 2.0.system.conf 2.0.system.conf~

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.