[Esbox-users] cannot start esbox. starting esbox displays empty dialog on Ubuntu Karmic

Ed.Swartz at nokia.com Ed.Swartz at nokia.com
Tue Nov 17 01:00:55 EET 2009



Thanks for the reply Ed. Did you mean 1.9 and 1.8 instead of 1.19/1.18?
 [[[ejs]]] Oh yes, sorry about the version confusion. 1.8.

I did install xulrunner and set the GDK variable. still didn't work.
Did you find and use the esbox.sh script from the latest integration release?  It should tell you which xulrunner it found or if it failed.  It looks first at the xulrunner on the PATH and then tries /usr/lib/xulrunner/xulrunner, which I think is where it is in the package shown below.

The contents of the script are included below if they're missing from the archive.

-- Ed

#!/bin/sh

# This script sets up the environment to run Eclipse in newer
# versions of Linux which are slightly incompatible with Eclipse 3.4.2.

function help() {
 echo "Note: xulrunner 1.18.1 should be installed if Eclipse crashes unexpectedly"
 echo "      on startup, with hover help, during wizards, etc."
 echo "See https://garage.maemo.org/tracker/index.php?func=detail&aid=4689&group_id=192&atid=1420"
}

# first, Eclipse depends on an old version of xulrunner.
XULRUNNER=`which xulrunner`
XULOPTS=""
if [ -z "$XULRUNNER" ] ; then
 help()
else
 XULVERSION=`$XULRUNNER -v 2>&1 | awk '{print $3}' | cut -d. -f1,2`
 if [ "$XULVERSION" != "1.8" ] ; then
  help();
 else
  XULOPTS="-vmargs -Dorg.eclipse.swt.browser.XULRunnerPath=$XULRUNNER"
 fi
fi

# This is a fix for dependencies on GTK 2.16 (and older) behavior, which
# if unfixed, results in annoying dialog behavior where the mouse cannot
# properly click buttons, use tables, etc.
export GDK_NATIVE_WINDOWS=true

./esbox $XULOPTS "$@"



user at ttelmtux:~$ dpkg -l xul*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-======================================-======================================-============================================================================================
un xulrunner <none> (no description available)
rc xulrunner-1.9 1.9.0.14+build2+nobinonly-0ubuntu0.9.0 XUL + XPCOM application runner
un xulrunner-1.9-gnome-support <none> (no description available)
ii xulrunner-1.9.1 1.9.1.5+nobinonly-0ubuntu0.9.10.1 XUL + XPCOM application runner
ii xulrunner-1.9.1-gnome-support 1.9.1.5+nobinonly-0ubuntu0.9.10.1 Support for GNOME in xulrunner-1.9.1 applications



user at ttelmtux:~$ sudo apt-get install xulrunner
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
gcj-4.3-base libgcj9-0 libgcj-bc libswt-gtk-3.5-jni libaccess-bridge-java-jni libaccess-bridge-java icedtea-6-jre-cacao gcj-4.4-jre-lib libgcj10 gij-4.3 ant-optional-gcj ant
gcj-4.4-base libequinox-osgi-java default-jre libgcj-common libjaxp1.3-java openjdk-6-jre-headless tzdata-java openjdk-6-jre libjline-java openjdk-6-jre-lib libgcj9-jar
libxerces2-java gcj-4.4-jre-headless rhino default-jre-headless libswt-gtk-3.5-java ca-certificates-java ant-gcj ant-optional
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libmozjs0d libxul-common libxul0d
Suggested packages:
xulrunner-gnome-support
The following NEW packages will be installed:
libmozjs0d libxul-common libxul0d xulrunner
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 7,565kB of archives.
After this operation, 23.9MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://mirror.ovh.net karmic/universe libmozjs0d 1.8.1.16+nobinonly-0ubuntu1 [378kB]
Get:2 http://mirror.ovh.net karmic/universe libxul-common 1.8.1.16+nobinonly-0ubuntu1 [1,173kB]
Get:3 http://mirror.ovh.net karmic/universe libxul0d 1.8.1.16+nobinonly-0ubuntu1 [5,728kB]
Get:4 http://mirror.ovh.net karmic/universe xulrunner 1.8.1.16+nobinonly-0ubuntu1 [286kB]
Fetched 7,565kB in 6s (1,087kB/s)
Selecting previously deselected package libmozjs0d.
(Reading database ... 275390 files and directories currently installed.)
Unpacking libmozjs0d (from .../libmozjs0d_1.8.1.16+nobinonly-0ubuntu1_i386.deb) ...
Selecting previously deselected package libxul-common.
Unpacking libxul-common (from .../libxul-common_1.8.1.16+nobinonly-0ubuntu1_all.deb) ...
Selecting previously deselected package libxul0d.
Unpacking libxul0d (from .../libxul0d_1.8.1.16+nobinonly-0ubuntu1_i386.deb) ...
Selecting previously deselected package xulrunner.
Unpacking xulrunner (from .../xulrunner_1.8.1.16+nobinonly-0ubuntu1_i386.deb) ...
Setting up libmozjs0d (1.8.1.16+nobinonly-0ubuntu1) ...

Setting up libxul-common (1.8.1.16+nobinonly-0ubuntu1) ...
Setting up libxul0d (1.8.1.16+nobinonly-0ubuntu1) ...

Setting up xulrunner (1.8.1.16+nobinonly-0ubuntu1) ...

Processing triggers for libc-bin ...
ldconfig deferred processing now taking place

On Mon, Nov 16, 2009 at 7:56 PM, <Ed.Swartz at nokia.com<mailto:Ed.Swartz at nokia.com>> wrote:
Hi,


After following the instructions for installing from the Product-Archives (http://esbox.garage.maemo.org/2nd_edition/installation_product.html) on Ubuntu 9.10, I am unable to start Esbox.

Executing esbox displays the workspace confirmation window. After acknowledgement, I see the Esbox splash screen displaying 'Loading Workbench'. But soon after that I get a blank window (attached).
I did set the GDK_NATIVE_WINDOWS variable and still no go.
[[ejs]] This error is different, unfortunately.   The startup screen for a new workspace uses a web browser component that depends on Mozilla's xulrunner.  In newer Linux releases, this xulrunner is 1.19 and incompatible with Eclipse.  You can apt-get install xulrunner to get a compatible version (1.18).  The latest integration releases should have an "esbox.sh" script inside which will find and use that version and work around this issue, as well as the GDK_NATIVE_WINDOWS one.
Hope this works!
-- Ed


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://garage.maemo.org/pipermail/esbox-users/attachments/20091117/2540cf36/attachment.htm 


More information about the Esbox-users mailing list