[kepler-users] Newbie with a couple of Questions

Christopher Brooks cxh at eecs.berkeley.edu
Wed Jun 24 07:49:23 PDT 2009


Hi Kaushik,
It looks like you are running Kepler-1.0.0 under Linux or Mac OS.

The issue is that the Display actor is a gui actor, so running -nogui
causes problems.

Try ./kepler.sh -runwf HelloWorld.xml

To write to stdout, try using a LineWriter or ExpressionWriter actor.

_Christopher



Kaushik Vinjamuri wrote:
> Hey guys,
> 
> I just got introduced to the kepler project and wanted to get started right
> away but I ran into a few problems, maybe someone here can tell me what i'm
> missing.  Basically i'm trying to run the HelloWorld.xml workflow just to
> see if it would run (no gui, no cache etc...):
> 
> ./kepler.sh -runwf -nogui -nocache HelloWorld.xml
> 
> Now once I try to run this I get these following errors:
> 
> ptolemy.kernel.util.IllegalActionException: Cannot find effigy for top
> level: .04-HelloWorld
>   in .04-HelloWorld.Display
>         at ptolemy.actor.lib.gui.Display._openWindow(Display.java:457)
>         at ptolemy.actor.lib.gui.Display.postfire(Display.java:355)
>         at ptolemy.actor.AtomicActor.iterate(AtomicActor.java:405)
>         at
> ptolemy.actor.sched.StaticSchedulingDirector.fire(StaticSchedulingDirector.java:170)
>         at ptolemy.actor.CompositeActor.fire(CompositeActor.java:400)
>         at ptolemy.actor.Manager.iterate(Manager.java:688)
>         at ptolemy.actor.Manager.execute(Manager.java:332)
>         at
> ptolemy.actor.gui.MoMLSimpleApplication.<init>(MoMLSimpleApplication.java:108)
>         at
> ptolemy.actor.gui.MoMLSimpleApplication.main(MoMLSimpleApplication.java:209)
>         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.kepler.loader.Kepler.load(Kepler.java:192)
>         at org.kepler.loader.Kepler.load(Kepler.java:215)
>         at org.kepler.loader.Kepler.main(Kepler.java:136)
> 
> 
> -Any suggestions?
> 
> Thanks!
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Kepler-users mailing list
> Kepler-users at kepler-project.org
> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users

-- 
Christopher Brooks (cxh at eecs berkeley edu) University of California
CHESS Executive Director                      US Mail: 337 Cory Hall
Programmer/Analyst CHESS/Ptolemy/Trust        Berkeley, CA 94720-1774
ph: 510.643.9841 fax:510.642.2718	      (Office: 545Q Cory)
home: (F-Tu) 707.665.0131 (W-F) 510.655.5480



More information about the Kepler-users mailing list