LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Epiphany can't be used now. Mozilla initialization failed. (https://www.linuxquestions.org/questions/linux-software-2/epiphany-can%27t-be-used-now-mozilla-initialization-failed-238750/)

Makaelin 10-04-2004 03:50 PM

Epiphany can't be used now. Mozilla initialization failed.
 
Okay, I've searched on LQ and Google, and so far haven't found an answer to this problem.

I'm running Slackware 10. I updated my Mozilla package to the latest 1.7.3, and then downloaded the Epiphany 1.4.1 source. I did the following to compile:

./configure --prefix=/usr
make
make install

Loaded up GNOME, everything looks fine. I have Epiphany icons in my Applications menu. But when I go to launch Epiphany (launcher is using the command "epiphany %U), I get the following error:

Quote:

Epiphany can't be used now. Mozilla initialization failed. Check your MOZILLA_FIVE_HOME environmental variable.
I've tried using just the command "epiphany" to launch the browser. I've also done bonobo-slay in the console, and completely restarted X to no avail. Anyone have any ideas?

Makaelin 10-05-2004 09:37 PM

Shameless and selfish bump. Still haven't managed to figure this out.

Makaelin 10-06-2004 02:33 PM

So, in an attempt to get this fixed, I did a 'make uninstall' of Epiphany, and then used slocate to remove everything relating to it. I also removed my Mozilla package, and compiled it fresh from source with the following tags:

Code:

./configure --prefix=/usr --enable-default-toolkit=gtk2 --disable-mailnews --disable-ldap --disable-debug --disable-tests --enable-optimize --enable-crypto --enable-xft --with-system-zlib
Then recompiled Epiphany with ./configure --prefix=/usr, and loaded up X and tried to run it. Still no love. I get an error now stating that there was an error with Bonobo locating the activation object.

I tried running Epiphany in a console window, and got the following messages:

Code:

** (epiphany:3214): WARNING **: Failed to find epiphany-ui.xml

(epiphany:3214): GLib-CRITICAL **: file gfileutils.c: line 629 (g_file_get_conte nts): assertion `filename != NULL' failed

(epiphany:3214): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(epiphany:3214): GLib-GObject-CRITICAL **: file gobject.c: line 1855 (g_signal_c onnect_object): assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(epiphany:3214): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(epiphany:3214): GLib-GObject-CRITICAL **: file gobject.c: line 1855 (g_signal_c onnect_object): assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

** (epiphany:3214): WARNING **: Failed to find epiphany-bookmarksbar.xml

** (epiphany:3214): WARNING **: Failed to find epiphany-toolbar.xml

(epiphany:3214): Gtk-CRITICAL **: file gtkmenuitem.c: line 385 (gtk_menu_item_ge t_submenu): assertion `GTK_IS_MENU_ITEM (menu_item)' failed

(epiphany:3214): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(epiphany:3214): GLib-GObject-CRITICAL **: file gsignal.c: line 1634 (g_signal_c onnect_data): assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(epiphany:3214): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(epiphany:3214): GLib-GObject-CRITICAL **: file gsignal.c: line 1634 (g_signal_c onnect_data): assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

** ERROR **: file ephy-window.c: line 538 (sync_chromes_visibility): assertion f ailed: (menubar != NULL)
aborting...

I'm utterly stumped as to what's happening here...

DaWallace 10-14-2004 04:13 PM

I love how nobody replies...

Makaelin 10-14-2004 04:33 PM

Heh, well, I think this was pretty strange. I even went on the #epiphany and #gnome IRC channel, and no one could figure out why it didn't work.

However, it's fine now, because I've started using Dropline Gnome that has Epiphany 1.4.1 installed and working just fine. :)

tuxombie 10-16-2004 04:42 PM

MOZILLA_FIVE_HOME
 
Slightly late, but this should offer some pointers.
The error that you were talking about was caused because the MOZILLA_FIVE_HOME variable was not set correctly (or more to the point, it just got lost).

I had an identical problem with galeon tw days ago. I tried switching to epiphany but there was no scrollbar in it and I had got used to galeon this week (since I installed slack).

Anyway, it started when I "upgraded" to mozilla 1.7.3. I may be wrong here, but here is the theory. The default MOZILLA_FIVE_HOME variable location is the mozilla folder located in /usr/lib/mozilla-1.7 (or /usr/lib/mozilla..) . But when one gets the new mozilla, the environment variable will have to be changed to point to the new directory. In my case, I gave up with the problem that I didnt know where to get the config file or script where this MOZILLA_FIVE_HOME variable is defined, and besides, I didnt have the patience to dig then. I removed mozilla-1.7.3 and galeon started working again.

I have installed dropline gnome (rather easily!). Epiphany works fine here. But galeon fails for the same reason. I am fine with epiphany though, and it is not really such a major problem (although my policy here is quite stupid). I ll get back to it sometime though.


All times are GMT -5. The time now is 03:03 PM.