I get the following error in a GTK2 dialogue box after re-emerging mozilla-firebird-0.7-r1: "Error launching browser window:Type Error: Components.classes['@mozilla.org/appshell/component/browser/instance;1'] has no properties" Cleaning the install and re-emerging doesn't help, nor does removing "-Os -fpmath=sse" from my compile flags. Here's my emerge info: Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.6.1) ================================================================= System uname: 2.6.1 i686 AMD Athlon(tm) XP 2500+ Gentoo Base System version 1.4.3.10p1 ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -Os -mfpmath=sse -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon-xp -Os -mfpmath=sse -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache fixpackages sandbox" GENTOO_MIRRORS="http://www.gtlib.cc.gatech.edu/pub/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow S3TC X aalib acpi acpi4linux alsa apache2 apm autofs avi berkdb bonobo cdr cjk clamav crypt cups curl dga directfb dnd doc dv dvb dvd dvdr editor encode esd evo faad fam ffmpeg fftw flac flash foomaticdb freetype gb gd gdbm geoip ggi gif gimpprint glut gnome gnomedb gphoto2 gps gstreamer gtk gtk2 gtkhtml guile imagemagick imap imlib imlib2 innodb java jdepend joystick jpeg kde ladcca ldap libg++ libgda libwww lirc lufsusermount mad md5sum memlimit mikmod mldonkeypango mmx mng motif mozilla mozsvg mpeg mpeg4 mysql nas ncurses nls nocd oav odbc offensive oggvorbis openal opengl oss pam pda pdflib pear-db perl png postgres ppds psyco python qt quicktime radeon readline samba scanner sdl server slang slp snmp spell sqlite sse ssl stencil-buffer svg svga t1lib tcltk tcpd tetex tiff transcode truetype type1 unicode usb v4l videos wmf wxwin wxwindows x86 xinerama xml2 xmms xv xvid yahoo zlib video_cards_radeon"
Ok, I just discovered that this only happens if mozilla-thunderbird-0.3 is running before I start the newly emerged Firebird. If I start Firebird first, it runs fine, and then I can launch Thunderbird. I have a feeling this is probably related to bug 38102.
*** This bug has been marked as a duplicate of 39308 ***
err oops, sorry about that ;)
Spanky, I don't think it's a duplicate. Graeme, I think I put a fix into the MozillaFirebird script for this. Would you mind running the following to start Firebird and tell me if it works? $ bash /usr/portage/*/mozilla-firebird/files/MozillaFirebird If it works then you can install the new script and close this bug: # install -m 0755 /usr/portage/*/mozilla-firebird/files/MozillaFirebird /usr/bin Thanks, Aron
Nope, still the same error on my system.
Do me a favor and make sure the following is the same for you? $ grep -i thund /usr/bin/MozillaFirebird # 3 = Thunderbird is running, but doesn't handle openURL command
unit3@wcw unit3 $ grep -i thund /usr/bin/MozillaFirebird # 3 = Thunderbird is running, but doesn't handle openURL command
Graeme, if you don't mind doing a little debugging... it looks like the MozillaFirebird script still needs a little help. My impression is that this is what's happening: mozilla-xremote-client is finding the thunderbird process and attempting to use it to launch the browser window. The problem is that thunderbird doesn't support browser windows, of course... What I'd like to know is what the exit status is of mozilla-xremote-client when it fails to launch a new tab/window. Perhaps you could run the following and attach the output? (Attach, not post as a comment...) /bin/bash -x /usr/bin/MozillaFirebird Thanks!
Created attachment 25049 [details] debug output from /bin/bash -x /usr/bin/MozillaFirebird Well, here's the output. I noticed that this command exited back to shell /before/ the Mozilla error dialogue I mentioned appeared, so I retried it, and yep, every time I ran it the dialogue appeared after the command had returned. Don't know if that helps any, but it seemed odd. ;)
Created attachment 25083 [details] MozillaFirebird script for testing Yeah, it helps. What it really means is that mozilla-xremote-client is buggy, because it returns a zero exit status even though the Thunderbird instance can't handle a browser request. :-( The attached script isn't perfect, but I think it will solve the problem sufficiently. Would you mind giving it a try?
ugh, nevermind, that still won't work...
Created attachment 25107 [details] new test script okay, this will probably fix it
Graeme, are you able to test the attachment in comment 12?
Okay, I tested my new script, and here is what I found: First, I found that the bug doesn't persist when you upgrade to mozilla-thunderbird-0.4 instead of 0.3 as you're using. That's nice to know. Second, I found that my new script seems to solve the problem. I didn't bother to do a revision bump since I think that most people aren't going to hit this bug. So I'm closing this Resolved FIXED.