Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40179 - MozillaFirebird / MozillaThunderbird integration issues (MozillaFirebird script/mozilla-xremote-client prob?)
Summary: MozillaFirebird / MozillaThunderbird integration issues (MozillaFirebird scri...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Mozilla Gentoo Team
: 40180 (view as bug list)
Depends on:
Reported: 2004-02-02 07:41 UTC by James Lademann
Modified: 2004-02-19 01:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---

Bodgified MozillaFirebird script (MozillaFirebird,2.14 KB, text/plain)
2004-02-02 12:49 UTC, James Lademann

Note You need to log in before you can comment on or make changes to this bug.
Description James Lademann 2004-02-02 07:41:15 UTC
Ok, if Thunderbird is running and you try and start Firebird, the MozillaFirebird script thinks that Firebird is already running and tries to open a new window/tab.  It can't and so produces "Unable to send command to running Mozilla Firebird instance".  I think this is actually a problem with mozilla-xremote-client.  Anyway, I bodged around this by not checking for the return value and just loading a new Firebird if mozilla-xremote-client failed.  There are other problems though which may be symptoms of the bodge...I'm still working on this and will report on any findings...
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2004-02-02 09:03:51 UTC
*** Bug 40180 has been marked as a duplicate of this bug. ***
Comment 2 James Lademann 2004-02-02 10:03:03 UTC
There is also a problem involving &s in urls, which I created a bug for but then couldn't remember the instances in which it was a problem and cancelled. Anyway, running something like:

MozillaFirebird ""

When Firebird isn't running causes the script to go south since it can't form the arg array properly with declare -a, and produces a syntax error.  This isn't a problem with opening a new window/tab since it defaults to $1.  When opening a new Firebird, however, the arg array is used, and since this hasn't been created properly you just get an empty window.  I'm working on a way to fix this, but don't hold your breath since I'm not much of a script expert.
Comment 3 James Lademann 2004-02-02 11:08:37 UTC
Oh, just noticed the Thunderbird/Firebird problem has been fixed (but no new ebuild...people might not notice this..) but the & problem still stands....

Comment 4 James Lademann 2004-02-02 12:49:15 UTC
Created attachment 24827 [details]
Bodgified MozillaFirebird script

Bodged version of script which replaces any ampersands (&) in the arguments/url
before the arguments/url are processed and then puts them back in
Comment 5 Brad Laue (RETIRED) gentoo-dev 2004-02-15 08:53:23 UTC
Please see if this issue persists in the most recent revisions of the MozillaFirebird launch script. Copy it from /usr/portage/net-www/mozilla-fire{bird,fox}/files/{MozillaFirebird,firefox} into /usr/bin and make sure it's executable.
Comment 6 James Lademann 2004-02-15 17:10:21 UTC
New script tests out ok....however, at the time of testing the firefox script needed a little alteration since it changes from using ffpath to fbpath and this causes problems...Other than that its fine.
Comment 7 Brad Laue (RETIRED) gentoo-dev 2004-02-19 01:26:33 UTC
Good, closing this one down (fbpath also fixed)