View previous topic :: View next topic |
Author |
Message |
theonlymcc Apprentice
Joined: 16 Sep 2003 Posts: 274 Location: NC
|
Posted: Wed Jan 21, 2004 9:57 pm Post subject: MozillaFirebird problem |
|
|
If Thunderbird is running, I cannot run Firebird. I get this message Code: | Unable to command to running Mozilla Firebird instance | But the thing is there is not an instance of Firebird running. But if I close Thunderbird, then I can run Firebird. I can even then run Thunderbird again. Anyone have any ideas? |
|
Back to top |
|
|
ventricle Guru
Joined: 04 Apr 2003 Posts: 305 Location: UK/Australia
|
Posted: Wed Jan 21, 2004 10:03 pm Post subject: |
|
|
I get the exact same thing from a fresh install! I am glad it is not just me.
It is also a pity you couldn't choose firebird with xft and gtk2 from ebuilds. This install is horrid! _________________ [LRU] |
|
Back to top |
|
|
theonlymcc Apprentice
Joined: 16 Sep 2003 Posts: 274 Location: NC
|
Posted: Wed Jan 21, 2004 10:20 pm Post subject: |
|
|
Have you solved it? Have any idea why it happens? |
|
Back to top |
|
|
ikshaar Veteran
Joined: 23 Jul 2002 Posts: 1339 Location: Baltimore, MD
|
Posted: Wed Jan 21, 2004 10:24 pm Post subject: |
|
|
Not sure if it is related but I had similar problem with Mozilla because of the profile. It could not open Firebird if Mozilla was open.
May be worth checking which profile is used... _________________ "May God stands between you and harm in all the empty places where you must walk" - Babylon 5 |
|
Back to top |
|
|
pixie Guru
Joined: 29 Dec 2002 Posts: 305
|
Posted: Thu Jan 22, 2004 3:06 am Post subject: |
|
|
The Firebird ebuild has both the gtk2 and moznoxft useflags.
Code: | USE="gtk2 -moznoxft" emerge mozilla-firebird |
Should make sure it uses XFT and GTK2. |
|
Back to top |
|
|
theonlymcc Apprentice
Joined: 16 Sep 2003 Posts: 274 Location: NC
|
Posted: Thu Jan 22, 2004 7:03 pm Post subject: |
|
|
xft? |
|
Back to top |
|
|
pixie Guru
Joined: 29 Dec 2002 Posts: 305
|
|
Back to top |
|
|
TMiegel n00b
Joined: 07 Feb 2003 Posts: 36 Location: Deutschland
|
Posted: Thu Jan 22, 2004 7:13 pm Post subject: Re: MozillaFirebird problem |
|
|
theonlymcc wrote: | If Thunderbird is running, I cannot run Firebird. I get this message Code: | Unable to command to running Mozilla Firebird instance | But the thing is there is not an instance of Firebird running. But if I close Thunderbird, then I can run Firebird. I can even then run Thunderbird again. Anyone have any ideas? |
Temporary Solution:
Start Firebird with Code: | /usr/lib/MozillaFirebird/MozillaFirebird |
instead of Code: | /usr/bin/MozillaFirebird |
|
|
Back to top |
|
|
theonlymcc Apprentice
Joined: 16 Sep 2003 Posts: 274 Location: NC
|
Posted: Thu Jan 22, 2004 7:18 pm Post subject: |
|
|
1) xft isn't in my USE flags when I etcat -u mozilla-firebird
2) Can't install xft because I use Xfree 4.3.0-r3 which is blocked by xft. xft uses 4.3.0-r2. I understand that xft is incorporated into Xfree 4.3.0-r3. |
|
Back to top |
|
|
luqas Guru
Joined: 02 Jan 2004 Posts: 588 Location: /US/Texas/Beaumont
|
Posted: Thu Jan 22, 2004 7:42 pm Post subject: |
|
|
I have the opposite problem. I can't start Thunderbird if Firebird is open. If I try to open Thunderbird with Firebird open it just tries to load then disappears and I can forget opening it again until I reboot. |
|
Back to top |
|
|
pixie Guru
Joined: 29 Dec 2002 Posts: 305
|
Posted: Fri Jan 23, 2004 3:55 am Post subject: |
|
|
mozilla-firebird has the useflag 'moznoxft' which you set if you don't want it to use xft.
Code: | emerge mozilla-firebird -vp |
Try that command and see for yourself. |
|
Back to top |
|
|
gurke Apprentice
Joined: 10 Jul 2003 Posts: 260
|
Posted: Fri Jan 23, 2004 8:50 am Post subject: |
|
|
lol, i also had firebird and thunderbird installed and couldnt start firebird, when thunderbird was running, but it worked the other way. i now uninstalled both. thanks for the info. |
|
Back to top |
|
|
aerotux n00b
Joined: 22 Jan 2004 Posts: 20 Location: Argentina
|
Posted: Fri Jan 23, 2004 3:19 pm Post subject: Re: MozillaFirebird problem |
|
|
TMiegel wrote: | theonlymcc wrote: | If Thunderbird is running, I cannot run Firebird. I get this message Code: | Unable to command to running Mozilla Firebird instance | But the thing is there is not an instance of Firebird running. But if I close Thunderbird, then I can run Firebird. I can even then run Thunderbird again. Anyone have any ideas? |
Temporary Solution:
Start Firebird with Code: | /usr/lib/MozillaFirebird/MozillaFirebird |
instead of Code: | /usr/bin/MozillaFirebird |
|
The problem here is that running from there would ask you to open a new profile (a really anoying windows).
I've followed the script (the one that get installed in /usr/bin/MozillaFirebird) and it seems that the function openURL() is not working properly.
Does anyone knows how to trace this?
pixie, does USE="gtk2 -moznoxft" resolve this problem?
For more information about the remote calls for mozilla, check here:
http://www.mozilla.org/unix/remote.html[/i] _________________ --
Tux rules! |
|
Back to top |
|
|
c0bblers Guru
Joined: 28 Mar 2003 Posts: 403
|
Posted: Sat Jan 24, 2004 5:17 pm Post subject: |
|
|
Hi,
OK, I've managed to bodge-fix this problem. The problem seems to be the mozilla-xremote-client program. The /usr/bin/MozillaFirebird script first tries to open a new tab/window by running mozilla-xremote-client and then responds to the return value from this attempt or exits if the command is successful. With thunderbird running mozilla-xremote-client seems to return 3 when firebird isnt running, which causes the "Unable to command to running Mozilla Firebird instance" message and the script exit. I guess the mozilla-xremote-client program's getting confused, but I've not looked into how it detects a running firebird instance. In the mean time, a quick hack of the /usr/bin/MozillaFirebird script should do the trick...or as I like to see it, a desophistication
--- MozillaFirebird.orig 2004-01-14 21:07:36.000000000 +0000
+++ MozillaFirebird 2004-01-24 16:57:25.932350160 +0000
@@ -58,17 +58,9 @@
done
retval=$?
-if [[ $retval -eq 2 ]] ; then
- # No running windows found, so start a new instance
- ${fbpath}/MozillaFirebird "${args[@]}"
- retval=$?
-elif [[ $retval -eq 1 ]] ; then
- echo "Unable to connect to X server" >&2
-elif [[ $retval -eq 3 ]] ; then
- echo "Unable to send command to running Mozilla Firebird instance" >&2
-else
- echo "Unknown error $retval from mozilla-xremote-client" >&2
-fi
+# No running windows found, so start a new instance
+${fbpath}/MozillaFirebird "${args[@]}"
+retval=$?
exit $retval |
|
Back to top |
|
|
|