0

在 Pentaho 中,spoon.sh不能正确执行并给出这些错误。

我正在尝试spoon.sh从 putty 执行,并且我有一个在云上运行的 Ubuntu Linux 服务器?

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)

如何克服这些错误?

4

2 回答 2

0

勺子是一个GUI界面,你不能在非GUI(如腻子)中打开勺子。

如果要运行在 ubuntu linux 服务器中创建的转换或作业,请使用 kitchen.sh 或 pan.sh 执行。

于 2014-09-17T09:14:52.923 回答
0

您在为 X11 建立隧道时遇到问题。为了解决这个问题,您应该在您的 Windows 机器上安装并运行 Xserver(例如 Xming),然后在 SSH 客户端(Putty 或其他)中启用 X11 转发。

在此处输入图像描述

在此处输入图像描述

于 2016-08-01T06:40:27.450 回答