Search code examples
ubuntupentahospoon

spoon.sh doesn't open up for Linux


In Pentaho, spoon.sh doesn't execute properly and gives these errors.

I am trying to execute spoon.sh from putty and I have a Ubuntu Linux server running on cloud?

org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]
        at org.eclipse.swt.SWT.error(Unknown Source)
        at org.eclipse.swt.widgets.Display.createDisplay(Unknown Source)
        at org.eclipse.swt.widgets.Display.create(Unknown Source)
        at org.eclipse.swt.graphics.Device.<init>(Unknown Source)
        at org.eclipse.swt.widgets.Display.<init>(Unknown Source)
        at org.eclipse.swt.widgets.Display.<init>(Unknown Source)
        at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:582)
        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:597)
        at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134)

How to overcome these errors?


Solution

  • spoon is a GUI interface and you can-not open spoon in non-GUI(like putty).

    if you want to run the transformation or job you created in ubuntu linux server then execute using kitchen.sh or pan.sh.