Errror messages & node descriptions

Hi,

I just installed 1.3.5 under Ubuntu 8.04, with JRE 1.6 and Firefox as web browser. When firing up Knime the program starts, but the node descriptions do not show. In addition, I get a number of error messages in the text port:

Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0x95601767]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [0x956018b1]
#2 /usr/lib/libX11.so.6(_XReply+0xfd) [0x9605d1bd]
#3 /opt/knime_1.3.5/jre/lib/i386/xawt/libmawt.so [0x9426bd7e]
#4 /opt/knime_1.3.5/jre/lib/i386/xawt/libmawt.so [0x94255d47]
#5 /opt/knime_1.3.5/jre/lib/i386/xawt/libmawt.so [0x94255ec3]
#6 /opt/knime_1.3.5/jre/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x26) [0x94256106]
#7 [0xb144c008]
#8 [0xb1445b6b]
#9 [0xb1445b6b]
#10 [0xb1443236]
#11 /opt/knime_1.3.5/jre/lib/i386/server/libjvm.so [0xb76ecd8c]
#12 /opt/knime_1.3.5/jre/lib/i386/server/libjvm.so [0xb78bc6f8]
#13 /opt/knime_1.3.5/jre/lib/i386/server/libjvm.so [0xb76ecbbf]
#14 /opt/knime_1.3.5/jre/lib/i386/server/libjvm.so(JVM_DoPrivileged+0x32d) [0xb774a6cd]
#15 /opt/knime_1.3.5/jre/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d) [0xb73f830d]
#16 [0xb144b898]
#17 [0xb1445a94]
#18 [0xb1443236]
#19 /opt/knime_1.3.5/jre/lib/i386/server/libjvm.so [0xb76ecd8c]
Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0x95601767]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x2e) [0x9560181e]
#2 /usr/lib/libX11.so.6 [0x9605c518]
#3 /usr/lib/libX11.so.6(XGetVisualInfo+0x26) [0x960530a6]
#4 /opt/knime_1.3.5/jre/lib/i386/xawt/libmawt.so [0x94255089]
#5 /opt/knime_1.3.5/jre/lib/i386/xawt/libmawt.so [0x942552d3]
#6 /opt/knime_1.3.5/jre/lib/i386/xawt/libmawt.so [0x94255f71]
#7 /opt/knime_1.3.5/jre/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x26) [0x94256106]
#8 [0xb144c008]
#9 [0xb1445b6b]
#10 [0xb1445b6b]
#11 [0xb1443236]
#12 /opt/knime_1.3.5/jre/lib/i386/server/libjvm.so [0xb76ecd8c]
#13 /opt/knime_1.3.5/jre/lib/i386/server/libjvm.so [0xb78bc6f8]
#14 /opt/knime_1.3.5/jre/lib/i386/server/libjvm.so [0xb76ecbbf]
#15 /opt/knime_1.3.5/jre/lib/i386/server/libjvm.so(JVM_DoPrivileged+0x32d) [0xb774a6cd]
#16 /opt/knime_1.3.5/jre/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d) [0xb73f830d]
#17 [0xb144b898]
#18 [0xb1445a94]
#19 [0xb1443236]
WARN HelpView No html browser for node description available.
WARN HelpView No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)]

The last two lines explain the absence of node description. How do I point Knime to Firefox? And what do all the other error messages mean?

Grateful for any help :?

Hi,

KNIME/Eclipse tries to find a Mozilla-based browser automatically, if the environment variable MOZILLA_FIVE_HOME is not set. The knime.sh should write which browser it is using in this case. You can try to explicitly set MOZILLA_FIVE_HOME to the firefox directory and if this doesn't help you may also try passing "-Dorg.eclipse.swt.browser.XULRunnerPath=..." to knime.sh.
There is a known problem with Firefox 3 (and xulrunner >= 1.9) for which there is no
workaround other than using an older version. This may also cause you some trouble.
In any case, please report if you could solve the problem or not, as this may affect several other users as well.
BTW, KNIME comes with its own JRE, which currently is 1.5. If you intentionally started it with Java 6, have a try with Java 5 first.

Thorsten

Hi again,

I downgraded JRE to 1.5 on my linux box, but to no effect, nothing happens really except for Knime displaying the yellow credential window for about a minute or so. No erro messages, just at start-up:

Using '/usr/lib/xulrunner-1.9' as MOZILLA_FIVE_HOME for internal web browser

and the prompt returns. Is the type of shell of any relevance (bash vs csh)?

Switching to my Vista PC didn't help much either, Knime simply doesn't work, stating that it has logged errors under

C:\Program Files\Knime\workspace\.metadata\.log

But there is no log file here, maybe due to lack of write permissions.

Please advice how to proceed.

Thanks

HomerE wrote:

I downgraded JRE to 1.5 on my linux box, but to no effect, nothing happens really except for Knime displaying the yellow credential window for about a minute or so. No erro messages, just at start-up:

Using '/usr/lib/xulrunner-1.9' as MOZILLA_FIVE_HOME for internal web browser

and the prompt returns.


This is exactly the problem I mentioned in my last post: KNIME (or any Eclipse < 3.4) does not work with Firefox >= 3 (or xulrunner >= 1.9). You have to use an older version.

HomerE wrote:
Switching to my Vista PC didn't help much either, Knime simply doesn't work, stating that it has logged errors under

C:\Program Files\Knime\workspace\.metadata\.log

But there is no log file here, maybe due to lack of write permissions.


If you don't have write access to the workspace directory it won't work, yes. You have to specify a directory were you can write to by passing "-data directory" as argument to knime.exe/knime.sh

On my Vista PC I now started knime command-line with the following arguments:

c:\Program Files\Knime\knime.exe -data c:\Users\evert

I get the following error message:

An error has occurred. See the log file c:\Users\evert\.metadata\.log

and this log file looks like this:

!SESSION 2008-09-20 08:09:26.649 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.5.0_13
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=sv_SE
Command-line arguments: -os win32 -ws win32 -arch x86 -clean -data c:\Users\evert

!ENTRY org.eclipse.osgi 4 0 2008-09-20 08:09:33.950
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: no swt-win32-3232 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:993)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:123)
at org.eclipse.swt.internal.win32.OS.(OS.java:18)
at org.eclipse.swt.widgets.Display.(Display.java:125)
at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:433)
at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
at org.knime.product.rcp.KNIMEApplication.run(KNIMEApplication.java:55)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)

I don't understand why knime doesn't work 'out-of-the box', have had it installed previously under XP and never had to specify any arguments. Why is this different under Vista?