Bug #4996
closed2.0-RC2 demos don't work
Added by Christopher Brooks over 14 years ago. Updated over 14 years ago.
0%
Related issues
Updated by Christopher Brooks over 14 years ago
It looks like a version change from 2.0 to 2.0.0 is causing problems.
I removed my KeplerData directory and installed Kepler-2.0-RC2, which created
bash-3.2$ ls ~/KeplerData/
Kepler-2.0.0-Demos modules workflows
A bunch of demos fail because 2.0 vs 2.0.0. This is similar to
bug #4994. What we ship in Kepler-2.0-RCn should have the same version
numbers as is in the kepler-2.0 svn branch. In Kepler-2.0-RC2, the
modules have a version number of 2.0.0:
bash-3.2$ ls /Applications/Kepler-2.0-RC2/Kepler.app/Kepler/
actors-2.0.0 demos module-manager-2.0.1
apple-extensions-2.0.0 directors-2.0.0 module-manager-gui-2.0.0
authentication-2.0.0 ecogrid-2.0.0 opendap-2.0.0
authentication-gui-2.0.0 event-state-2.0.0 outreach-2.0.0
build-area gui-2.0.0 ptolemy-8.0.0
common-2.0.0 io-2.0.0 r-2.0.0
component-library-2.0.0 job-2.0.0 repository-2.0.0
configuration-manager-2.0.0 kepler-2.0.0 sms-2.0.0
core-2.0.0 kepler-tasks-2.0.0 ssh-2.0.0
data kepler.jar util-2.0.0
data-handling-2.0.0 kepler.sh
dataturbine-2.0.0 loader-2.0.0
In the Kepler-2.0 branch, the modules have a 2.0 version number:
bash-3.2$ ls ~/src/kepler-2.0
Kepler.app directors-2.0 loader-2.0
actors-2.0 ecogrid-2.0 module-manager-2.0
apple-extensions-2.0 event-state-2.0 module-manager-gui-2.0
authentication-2.0 gui-2.0 opendap-2.0
authentication-gui-2.0 io-2.0 outreach-2.0
build-area job-2.0 ptolemy-8.0
common-2.0 kepler-2.0 r-2.0
component-library-2.0 kepler-tasks-2.0 repository-2.0
configuration-manager-2.0 kepler.bat sms-2.0
core-2.0 kepler.exe ssh-2.0
data-handling-2.0 kepler.jar util-2.0
dataturbine-2.0 kepler.sh
ENM/GARP_MultipleSpecies-V.xml fails:
ptolemy.kernel.util.IllegalActionException: Cannot open file or URL
in .GARP_MultipleSpecies-V.Get Species/Location information.Line Reader.fileOrURL
Because:
Cannot read file '/Users/cxh/KeplerData/Kepler-2.0-Demos/data/garp/speciesList.txt' or '/Users/cxh/KeplerData/Kepler-2.0-Demos/data/garp/speciesList.txt'
at ptolemy.data.expr.FileParameter.openForReading(FileParameter.java:337)
at ptolemy.actor.lib.io.LineReader._openAndReadFirstLine(LineReader.java:325)
at ptolemy.actor.lib.io.LineReader.preinitialize(LineReader.java:298)
at ptolemy.actor.Director.preinitialize(Director.java:998)
at ptolemy.actor.Director.preinitialize(Director.java:979)
at ptolemy.domains.sdf.kernel.SDFDirector.preinitialize(SDFDirector.java:640)
at ptolemy.actor.CompositeActor.preinitialize(CompositeActor.java:1416)
at ptolemy.actor.Manager.preinitializeAndResolveTypes(Manager.java:983)
at ptolemy.actor.Manager.initialize(Manager.java:643)
at ptolemy.actor.Manager.execute(Manager.java:340)
at ptolemy.actor.Manager.run(Manager.java:1162)
at ptolemy.actor.Manager$3.run(Manager.java:1215)
Caused by: java.io.IOException: Cannot read file '/Users/cxh/KeplerData/Kepler-2.0-Demos/data/garp/speciesList.txt' or '/Users/cxh/KeplerData/Kepler-2.0-Demos/data/garp/speciesList.txt'
at ptolemy.util.FileUtilities.nameToURL(FileUtilities.java:332)
at ptolemy.util.FileUtilities.openForReading(FileUtilities.java:501)
at ptolemy.data.expr.FileParameter.openForReading(FileParameter.java:333)
... 11 more
Caused by: java.io.IOException: Cannot read file '/Users/cxh/KeplerData/Kepler-2.0-Demos/data/garp/speciesList.txt' or '/Users/cxh/KeplerData/Kepler-2.0-Demos/data/garp/speciesList.txt'
at ptolemy.util.FileUtilities.nameToURL(FileUtilities.java:332)
at ptolemy.util.FileUtilities.openForReading(FileUtilities.java:501)
at ptolemy.data.expr.FileParameter.openForReading(FileParameter.java:333)
at ptolemy.actor.lib.io.LineReader._openAndReadFirstLine(LineReader.java:325)
at ptolemy.actor.lib.io.LineReader.preinitialize(LineReader.java:298)
at ptolemy.actor.Director.preinitialize(Director.java:998)
at ptolemy.actor.Director.preinitialize(Director.java:979)
at ptolemy.domains.sdf.kernel.SDFDirector.preinitialize(SDFDirector.java:640)
at ptolemy.actor.CompositeActor.preinitialize(CompositeActor.java:1416)
at ptolemy.actor.Manager.preinitializeAndResolveTypes(Manager.java:983)
at ptolemy.actor.Manager.initialize(Manager.java:643)
at ptolemy.actor.Manager.execute(Manager.java:340)
at ptolemy.actor.Manager.run(Manager.java:1162)
at ptolemy.actor.Manager$3.run(Manager.java:1215)
ptolemy.kernel.util.IllegalActionException: Cannot open file or URL
in .GARP_SingleSpecies_BestRuleSet-IV.Future_Climate_Models.Line Reader.fileOrURL
Because:
Cannot read file '/Users/cxh/KeplerData/Kepler-2.0-Demos/data/garp/climateList.txt' or '/Users/cxh/KeplerData/Kepler-2.0-Demos/data/garp/climateList.txt'
at ptolemy.data.expr.FileParameter.openForReading(FileParameter.java:337)
at ptolemy.actor.lib.io.LineReader._openAndReadFirstLine(LineReader.java:325)
at ptolemy.actor.lib.io.LineReader.preinitialize(LineReader.java:298)
at ptolemy.actor.Director.preinitialize(Director.java:998)
at ptolemy.actor.Director.preinitialize(Director.java:979)
at ptolemy.domains.sdf.kernel.SDFDirector.preinitialize(SDFDirector.java:640)
at ptolemy.actor.CompositeActor.preinitialize(CompositeActor.java:1416)
at ptolemy.actor.Manager.preinitializeAndResolveTypes(Manager.java:983)
at ptolemy.actor.Manager.initialize(Manager.java:643)
at ptolemy.actor.Manager.execute(Manager.java:340)
at ptolemy.actor.Manager.run(Manager.java:1162)
at ptolemy.actor.Manager$3.run(Manager.java:1215)
Caused by: java.io.IOException: Cannot read file '/Users/cxh/KeplerData/Kepler-2.0-Demos/data/garp/climateList.txt' or '/Users/cxh/KeplerData/Kepler-2.0-Demos/data/garp/climateList.txt'
at ptolemy.util.FileUtilities.nameToURL(FileUtilities.java:332)
at ptolemy.util.FileUtilities.openForReading(FileUtilities.java:501)
at ptolemy.data.expr.FileParameter.openForReading(FileParameter.java:333)
... 11 more
Caused by: java.io.IOException: Cannot read file '/Users/cxh/KeplerData/Kepler-2.0-Demos/data/garp/climateList.txt' or '/Users/cxh/KeplerData/Kepler-2.0-Demos/data/garp/climateList.txt'
at ptolemy.util.FileUtilities.nameToURL(FileUtilities.java:332)
at ptolemy.util.FileUtilities.openForReading(FileUtilities.java:501)
at ptolemy.data.expr.FileParameter.openForReading(FileParameter.java:333)
at ptolemy.actor.lib.io.LineReader._openAndReadFirstLine(LineReader.java:325)
at ptolemy.actor.lib.io.LineReader.preinitialize(LineReader.java:298)
at ptolemy.actor.Director.preinitialize(Director.java:998)
at ptolemy.actor.Director.preinitialize(Director.java:979)
at ptolemy.domains.sdf.kernel.SDFDirector.preinitialize(SDFDirector.java:640)
at ptolemy.actor.CompositeActor.preinitialize(CompositeActor.java:1416)
at ptolemy.actor.Manager.preinitializeAndResolveTypes(Manager.java:983)
at ptolemy.actor.Manager.initialize(Manager.java:643)
at ptolemy.actor.Manager.execute(Manager.java:340)
at ptolemy.actor.Manager.run(Manager.java:1162)
at ptolemy.actor.Manager$3.run(Manager.java:1215)
ENM/GARP_SingleSpecies_BestRuleSet-IV.xml has a similar failure.
gettingStarted/03-ImageDisplay.xml fails:
ptolemy.kernel.util.IllegalActionException: Image file /Users/cxh/KeplerData/Kepler-2.0-Demos/demos/getting-started/species-distribution.jpg does not exist.
in .03-ImageDisplay.Image Converter
Because:
Image file /Users/cxh/KeplerData/Kepler-2.0-Demos/demos/getting-started/species-distribution.jpg does not exist.
at ptolemy.actor.AtomicActor.iterate(AtomicActor.java:508)
at ptolemy.actor.sched.StaticSchedulingDirector.fire(StaticSchedulingDirector.java:188)
at ptolemy.actor.CompositeActor.fire(CompositeActor.java:458)
at ptolemy.actor.Manager.iterate(Manager.java:749)
at ptolemy.actor.Manager.execute(Manager.java:351)
at ptolemy.actor.Manager.run(Manager.java:1162)
at ptolemy.actor.Manager$3.run(Manager.java:1215)
Caused by: ptolemy.kernel.util.IllegalActionException: Image file /Users/cxh/KeplerData/Kepler-2.0-Demos/demos/getting-started/species-distribution.jpg does not exist.
at util.ImageConverter.fire(ImageConverter.java:138)
at ptolemy.actor.AtomicActor.iterate(AtomicActor.java:469)
... 6 more
Caused by: ptolemy.kernel.util.IllegalActionException: Image file /Users/cxh/KeplerData/Kepler-2.0-Demos/demos/getting-started/species-distribution.jpg does not exist.
at util.ImageConverter.fire(ImageConverter.java:138)
at ptolemy.actor.AtomicActor.iterate(AtomicActor.java:469)
at ptolemy.actor.sched.StaticSchedulingDirector.fire(StaticSchedulingDirector.java:188)
at ptolemy.actor.CompositeActor.fire(CompositeActor.java:458)
at ptolemy.actor.Manager.iterate(Manager.java:749)
at ptolemy.actor.Manager.execute(Manager.java:351)
at ptolemy.actor.Manager.run(Manager.java:1162)
at ptolemy.actor.Manager$3.run(Manager.java:1215)
getting-started/07-CommandLine_1.xml fails:
ptolemy.kernel.util.IllegalActionException: No such directory: /Users/cxh/KeplerData/Kepler-2.0-Demos/demos/getting-started
in .07-CommandLine_1.External Execution
Because:
No such directory: /Users/cxh/KeplerData/Kepler-2.0-Demos/demos/getting-started
at ptolemy.actor.AtomicActor.iterate(AtomicActor.java:508)
at ptolemy.actor.sched.StaticSchedulingDirector.fire(StaticSchedulingDirector.java:188)
at ptolemy.actor.CompositeActor.fire(CompositeActor.java:458)
at ptolemy.actor.Manager.iterate(Manager.java:749)
at ptolemy.actor.Manager.execute(Manager.java:351)
at ptolemy.actor.Manager.run(Manager.java:1162)
at ptolemy.actor.Manager$3.run(Manager.java:1215)
Caused by: ptolemy.kernel.util.IllegalActionException: No such directory: /Users/cxh/KeplerData/Kepler-2.0-Demos/demos/getting-started
at ptolemy.actor.lib.Exec._exec(Exec.java:497)
at ptolemy.actor.lib.Exec.fire(Exec.java:320)
at ptolemy.actor.AtomicActor.iterate(AtomicActor.java:469)
... 6 more
Caused by: ptolemy.kernel.util.IllegalActionException: No such directory: /Users/cxh/KeplerData/Kepler-2.0-Demos/demos/getting-started
at ptolemy.actor.lib.Exec._exec(Exec.java:497)
at ptolemy.actor.lib.Exec.fire(Exec.java:320)
at ptolemy.actor.AtomicActor.iterate(AtomicActor.java:469)
at ptolemy.actor.sched.StaticSchedulingDirector.fire(StaticSchedulingDirector.java:188)
at ptolemy.actor.CompositeActor.fire(CompositeActor.java:458)
at ptolemy.actor.Manager.iterate(Manager.java:749)
at ptolemy.actor.Manager.execute(Manager.java:351)
at ptolemy.actor.Manager.run(Manager.java:1162)
at ptolemy.actor.Manager$3.run(Manager.java:1215)
getting-started/08-CommandLine_2.xml fails:
ptolemy.kernel.util.IllegalActionException: No such directory: /Users/cxh/KeplerData/Kepler-2.0-Demos/demos/getting-started
in .08-CommandLine_2.External Execution
Because:
No such directory: /Users/cxh/KeplerData/Kepler-2.0-Demos/demos/getting-started
at ptolemy.actor.AtomicActor.iterate(AtomicActor.java:508)
at ptolemy.actor.sched.StaticSchedulingDirector.fire(StaticSchedulingDirector.java:188)
at ptolemy.actor.CompositeActor.fire(CompositeActor.java:458)
at ptolemy.actor.Manager.iterate(Manager.java:749)
at ptolemy.actor.Manager.execute(Manager.java:351)
at ptolemy.actor.Manager.run(Manager.java:1162)
at ptolemy.actor.Manager$3.run(Manager.java:1215)
Caused by: ptolemy.kernel.util.IllegalActionException: No such directory: /Users/cxh/KeplerData/Kepler-2.0-Demos/demos/getting-started
at ptolemy.actor.lib.Exec._exec(Exec.java:497)
at ptolemy.actor.lib.Exec.fire(Exec.java:320)
at ptolemy.actor.AtomicActor.iterate(AtomicActor.java:469)
... 6 more
Caused by: ptolemy.kernel.util.IllegalActionException: No such directory: /Users/cxh/KeplerData/Kepler-2.0-Demos/demos/getting-started
at ptolemy.actor.lib.Exec._exec(Exec.java:497)
at ptolemy.actor.lib.Exec.fire(Exec.java:320)
at ptolemy.actor.AtomicActor.iterate(AtomicActor.java:469)
at ptolemy.actor.sched.StaticSchedulingDirector.fire(StaticSchedulingDirector.java:188)
at ptolemy.actor.CompositeActor.fire(CompositeActor.java:458)
at ptolemy.actor.Manager.iterate(Manager.java:749)
at ptolemy.actor.Manager.execute(Manager.java:351)
at ptolemy.actor.Manager.run(Manager.java:1162)
at ptolemy.actor.Manager$3.run(Manager.java:1215)
Updated by David Welker over 14 years ago
These demos now work. There might be others that are failing under RC3, but I have tested all of the demos in getting-started, the two relevant ones in ENM, and R. If so, we can open a new bug for those.