Hitachi Vantara Pentaho Community Forums
Results 1 to 6 of 6

Thread: Errors running Spoon in Puppy Linux (Lucid) 5.2

  1. #1
    Join Date
    Sep 2010
    Posts
    22

    Default Errors running Spoon in Puppy Linux (Lucid) 5.2

    Hello folks,

    Any ideas what this could mean (happens was I run the 'spoon.sh' file; works just fine in Puppy 4.3.1)? Thanks in advance!

    # ./spoon.sh
    INFO 09-10 05:19:35,553 - Using "/tmp/vfs_cache" as temporary files store.
    java.lang.IllegalArgumentException: Argument not valid
    at org.eclipse.swt.SWT.error(Unknown Source)
    at org.eclipse.swt.SWT.error(Unknown Source)
    at org.eclipse.swt.SWT.error(Unknown Source)
    at org.eclipse.swt.graphics.Font.init(Unknown Source)
    at org.eclipse.swt.graphics.Font.<init>(Unknown Source)
    at org.pentaho.di.ui.core.dialog.Splash$1.paintControl(Splash.java:127)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
    at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Control.gtk_expose_event(Unknown Source)
    at org.eclipse.swt.widgets.Composite.gtk_expose_event(Unknown Source)
    at org.eclipse.swt.widgets.Canvas.gtk_expose_event(Unknown Source)
    at org.eclipse.swt.widgets.Widget.windowProc(Unknown Source)
    at org.eclipse.swt.widgets.Control.windowProc(Unknown Source)
    at org.eclipse.swt.widgets.Display.windowProc(Unknown Source)
    at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
    at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(Unknown Source)
    at org.eclipse.swt.widgets.Display.eventProc(Unknown Source)
    at org.eclipse.swt.internal.gtk.OS._gdk_window_process_updates(Native Method)
    at org.eclipse.swt.internal.gtk.OS.gdk_window_process_updates(Unknown Source)
    at org.eclipse.swt.widgets.Control.update(Unknown Source)
    at org.eclipse.swt.widgets.Shell.setVisible(Unknown Source)
    at org.eclipse.swt.widgets.Shell.open(Unknown Source)
    at org.pentaho.di.ui.core.dialog.Splash.<init>(Splash.java:147)
    at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:506)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.pentaho.commons.launcher.Launcher.main(Launcher.java:110)
    #

  2. #2
    Join Date
    Sep 2009
    Posts
    810

    Default

    Hi there,

    not sure really, but it seems to me like it was font related. Be sure to install ttf font support and the usual M$ font package, maybe there's a specific font like arial referenced in the splash screen.

    Cheers

    Slawo

  3. #3
    Join Date
    Nov 1999
    Posts
    9,729

    Default

    The # prompt suggests that someone is trying to run Spoon as root.
    Besides that fact that I don't think that's a good idea there's probably no display defined for that user either.

  4. #4
    Join Date
    Sep 2010
    Posts
    22

    Default

    Thanks for the fast responses Slawo and Matt!

    Any ideas on where in the code I can check for the font that the splash screen in looking for? Thanks again.

  5. #5
    Join Date
    Sep 2009
    Posts
    810

    Default

    Hi there,

    that would probably be Splash.java around line 147, where it says:

    Code:
    licFont = new Font(e.display, "Helvetica", licFontSize, SWT.NORMAL); //$NON-NLS-1$
    e.gc.setFont(licFont);
    Cheers

    Slawo
    Last edited by slawomir.chodnicki; 03-19-2011 at 05:54 AM. Reason: typo

  6. #6
    Join Date
    Sep 2010
    Posts
    22

    Default

    Slawo, I've got to say that you are the man!!!

    The answer....
    http://www.aquadon.com/web/sources/fonts/

    Downloaded all 4 Helvetica fonts to my /usr/share/fonts/default/TTF folder and wham!! PDI opened up like champ. I cannot believe it was that simple! Anyway thanks again for the help. The support from this forum has (and still is great)!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.