Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
MozillaFirebird problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
theonlymcc
Apprentice
Apprentice


Joined: 16 Sep 2003
Posts: 274
Location: NC

PostPosted: Wed Jan 21, 2004 9:57 pm    Post subject: MozillaFirebird problem Reply with quote

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
View user's profile Send private message
ventricle
Guru
Guru


Joined: 04 Apr 2003
Posts: 305
Location: UK/Australia

PostPosted: Wed Jan 21, 2004 10:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
theonlymcc
Apprentice
Apprentice


Joined: 16 Sep 2003
Posts: 274
Location: NC

PostPosted: Wed Jan 21, 2004 10:20 pm    Post subject: Reply with quote

Have you solved it? Have any idea why it happens?
Back to top
View user's profile Send private message
ikshaar
Veteran
Veteran


Joined: 23 Jul 2002
Posts: 1339
Location: Baltimore, MD

PostPosted: Wed Jan 21, 2004 10:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
pixie
Guru
Guru


Joined: 29 Dec 2002
Posts: 305

PostPosted: Thu Jan 22, 2004 3:06 am    Post subject: Reply with quote

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
View user's profile Send private message
theonlymcc
Apprentice
Apprentice


Joined: 16 Sep 2003
Posts: 274
Location: NC

PostPosted: Thu Jan 22, 2004 7:03 pm    Post subject: Reply with quote

xft?
Back to top
View user's profile Send private message
pixie
Guru
Guru


Joined: 29 Dec 2002
Posts: 305

PostPosted: Thu Jan 22, 2004 7:05 pm    Post subject: Reply with quote

http://www.die.net/doc/linux/man/man3/xft.3.html
Back to top
View user's profile Send private message
TMiegel
n00b
n00b


Joined: 07 Feb 2003
Posts: 36
Location: Deutschland

PostPosted: Thu Jan 22, 2004 7:13 pm    Post subject: Re: MozillaFirebird problem Reply with quote

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
View user's profile Send private message
theonlymcc
Apprentice
Apprentice


Joined: 16 Sep 2003
Posts: 274
Location: NC

PostPosted: Thu Jan 22, 2004 7:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
luqas
Guru
Guru


Joined: 02 Jan 2004
Posts: 588
Location: /US/Texas/Beaumont

PostPosted: Thu Jan 22, 2004 7:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
pixie
Guru
Guru


Joined: 29 Dec 2002
Posts: 305

PostPosted: Fri Jan 23, 2004 3:55 am    Post subject: Reply with quote

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
View user's profile Send private message
gurke
Apprentice
Apprentice


Joined: 10 Jul 2003
Posts: 260

PostPosted: Fri Jan 23, 2004 8:50 am    Post subject: Reply with quote

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
View user's profile Send private message
aerotux
n00b
n00b


Joined: 22 Jan 2004
Posts: 20
Location: Argentina

PostPosted: Fri Jan 23, 2004 3:19 pm    Post subject: Re: MozillaFirebird problem Reply with quote

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
View user's profile Send private message
c0bblers
Guru
Guru


Joined: 28 Mar 2003
Posts: 403

PostPosted: Sat Jan 24, 2004 5:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum