Quantcast
Channel: Diethard Steiner on Business Intelligence
Viewing all articles
Browse latest Browse all 85

Having problems starting Pentaho Kettle Spoon on Linux? Here are some solutions ...

$
0
0
End of last year I decided it was time to ditch Ubuntu for a pure Gnome experience. I didn't quite fancy installing Gnome 3.10 on top of Ubuntu due to some user having problems with this. So Fedora looked like a good candidate. And having worked with it for nearly two months now, I must admit that I quite like the new clean Gnome interface (and Fedora). Gnome gets criticized everywhere, a lot of people don't have anything good to say about, but honestly to me it seems like the Gnome development is going into the right direction. But this of course a matter of personal taste. Enough on this, let's talk about Pentaho Kettle:

Quite often, Pentaho Kettle Spoon - the GUI for designing transformations and jobs - starts up just fine on Linux OSes. Sometimes though, there might be some dependencies to install or special flags to set.

When starting Pentaho Kettle on Fedora I came across this nasty error message:
spoon.sh: line 166: 10487 Aborted (core dumped) "$_PENTAHO_JAVA"

On other systems I also got this error message:
The error was 'BadDrawable (invalid Pixmap or Window parameter)'.
 (Details: serial 13561 error_code 9 request_code 62 minor_code 0)
 (Note to programmers: normally, X errors are reported asynchronously;
  that is, you will receive the error a while after causing it.
  To debug your program, run it with the --sync command line
  option to change this behavior. You can then get a meaningful
  backtrace from your debugger if you break on the gdk_x_error() function.)

To fix this problems, just add this to the spoon.sh OPS section:
-Dorg.eclipse.swt.browser.DefaultType=mozilla



Another error message you might come across is the following:
org.eclipse.swt.SWTError: XPCOM error -2147467259


One dependency that you might have to install is xulrunner:
$ yum list xulrunner*
$ yum install xulrunner.x86_64


find the directory xulrunner is installed in:
$ which xulrunner
/usr/bin/xulrunner


To fix this open spoon.sh and add at the end of the OPS section:
-Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib64/xulrunner/



This advice was originally posted here and here and in this blog post. Also here: Source1 and Source2.

NOTE: Lastest Firefox has no dependency on XULRunner any more, so PDI shoud not need to any more as well (but I haven't checked this yet)!

Did you get any other error messages when starting Spoon and found a solution for it? Please comment below and I'll add it to this blog post so that we have a good resource for trouble shooting.

Matt Casters:

FYI, the package to install  on Ubuntu is usually  libwebkitgtk-1.0-0 (as documented).  I'm sure it's the same on Fedora.  I would avoid all that xulrunner stuff if possible.
For those of us on Kubuntu there are bugs in theme oxygen-gtk so best switch to another theme like Ambiance of turn off a bunch of fancy-shmancy animations with oxygen-settings.

Viewing all articles
Browse latest Browse all 85

Trending Articles