[kepler-dev] [Bug 3266] - ENM/GARP_MultipleSpecies-V.xml problems

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Mon May 5 15:12:22 PDT 2008


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=3266





------- Comment #4 from berkley at nceas.ucsb.edu  2008-05-05 15:12 -------
got this to work on windows and mostly on linux.  it wasn't working due to the
setting of the .kepler directory as the R working dir.  I'm not sure why this
was causing a problem, but I've mapped a property to change the working
directory for the R actor that feeds into the GarpPresampleLayers actor.  

The windows workflow fully executes.  On linux, however, it gets to the end,
then displays an exception that says "Port should produce 1 tokens, but there
were 0 tokens available."  I thought that Christopher had fixed a similar bug
earlier.  I'm not sure what's causing it.  I don't see the error on windows or
OSX.

Here's the full stack trace:
ptolemy.kernel.util.IllegalActionException: Port should produce 1 tokens, but
there were only 0 tokens available.
  in .GARP_MultipleSpecies-V.Single Species GARP Model.Calculate Best
Rulesets.Calculate Omission/Commission.SDF Director and
.GARP_MultipleSpecies-V.Single Species GARP Model.Calculate Best
Rulesets.Calculate Omission/Commission.omission
        at
ptolemy.domains.sdf.kernel.SDFDirector.transferOutputs(SDFDirector.java:742)
        at ptolemy.actor.CompositeActor.fire(CompositeActor.java:411)
        at ptolemy.actor.CompositeActor.iterate(CompositeActor.java:787)
        at
ptolemy.actor.sched.StaticSchedulingDirector.fire(StaticSchedulingDirector.java:170)
        at ptolemy.actor.CompositeActor.fire(CompositeActor.java:400)
        at ptolemy.actor.CompositeActor.iterate(CompositeActor.java:787)
        at
ptolemy.actor.sched.StaticSchedulingDirector.fire(StaticSchedulingDirector.java:170)
        at
ptolemy.actor.lib.hoc.LifeCycleManager._fireInsideModel(LifeCycleManager.java:334)
        at
ptolemy.actor.lib.hoc.LifeCycleManager._executeInsideModel(LifeCycleManager.java:289)
        at
ptolemy.actor.lib.hoc.RunCompositeActor.fire(RunCompositeActor.java:204)
        at ptolemy.actor.CompositeActor.iterate(CompositeActor.java:787)
        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.Manager.run(Manager.java:1071)
        at ptolemy.actor.Manager$3.run(Manager.java:1112)


More information about the Kepler-dev mailing list