[kepler-dev] kepler/ptolemy problem
Dan Higgins
higgins at nceas.ucsb.edu
Tue Jul 5 14:19:42 PDT 2005
Hi All,
I have run into a problem with the attached workflow (test.xml). The
graphical representation is shown below.
The model is fairly simple. The ramp iterates from 0 through 4 and the
first time (0) the switch should output a token which causes "Testing"
to be written to the output file. When the ramp output is not 0, no
token should be sent to the T output and nothing should be output.
This model runs just fine with Kepler using PTII5.0-beta as its base.
However, it does NOT run when I use the head of Ptolemy CVS! (This would
seem to indicate that some recent change in Ptolemy is the problem,
since I am using identical Kepler code int the 2 cases.)
The error message is "Queue is at capacity of 1" and this occurs when
the ramp output is 1 (i.e. it works OK for a ramp output of 0)
Any ideas from anyone on what the problem is?
The stack trace is:
ptolemy.kernel.util.IllegalActionException: in .test.manager
Because:
Queue is at capacity of 1. Cannot put a token.
in .test.Text File Writer.string
at ptolemy.actor.Manager.execute(Manager.java:383)
at ptolemy.actor.Manager.run(Manager.java:951)
at ptolemy.actor.Manager$2.run(Manager.java:1003)
Caused by: ptolemy.actor.NoRoomException: Queue is at capacity of 1.
Cannot put a token.
in .test.Text File Writer.string
at ptolemy.domains.sdf.kernel.SDFReceiver.put(SDFReceiver.java:296)
at ptolemy.actor.TypedIOPort.send(TypedIOPort.java:575)
at ptolemy.actor.lib.Const.fire(Const.java:113)
at ptolemy.actor.AtomicActor.iterate(AtomicActor.java:310)
at
ptolemy.actor.sched.StaticSchedulingDirector.fire(StaticSchedulingDirector.java:169)
at ptolemy.actor.CompositeActor.fire(CompositeActor.java:329)
at ptolemy.actor.Manager.iterate(Manager.java:601)
at ptolemy.actor.Manager.execute(Manager.java:319)
... 2 more
Caused by: ptolemy.actor.NoRoomException: Queue is at capacity of 1.
Cannot put a token.
in .test.Text File Writer.string
at ptolemy.domains.sdf.kernel.SDFReceiver.put(SDFReceiver.java:296)
at ptolemy.actor.TypedIOPort.send(TypedIOPort.java:575)
at ptolemy.actor.lib.Const.fire(Const.java:113)
at ptolemy.actor.AtomicActor.iterate(AtomicActor.java:310)
at
ptolemy.actor.sched.StaticSchedulingDirector.fire(StaticSchedulingDirector.java:169)
at ptolemy.actor.CompositeActor.fire(CompositeActor.java:329)
at ptolemy.actor.Manager.iterate(Manager.java:601)
at ptolemy.actor.Manager.execute(Manager.java:319)
at ptolemy.actor.Manager.run(Manager.java:951)
at ptolemy.actor.Manager$2.run(Manager.java:1003)
--
*******************************************************************
Dan Higgins higgins at nceas.ucsb.edu
http://www.nceas.ucsb.edu/ Ph: 805-893-5127
National Center for Ecological Analysis and Synthesis (NCEAS)
Marine Science Building - Room 3405
Santa Barbara, CA 93195
*******************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mercury.nceas.ucsb.edu/kepler/pipermail/kepler-dev/attachments/20050705/57ee31c5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: moz-screenshot-2.jpg
Type: image/jpeg
Size: 19388 bytes
Desc: not available
URL: <http://mercury.nceas.ucsb.edu/kepler/pipermail/kepler-dev/attachments/20050705/57ee31c5/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.xml
Type: text/xml
Size: 6622 bytes
Desc: not available
URL: <http://mercury.nceas.ucsb.edu/kepler/pipermail/kepler-dev/attachments/20050705/57ee31c5/attachment.xml>
More information about the Kepler-dev
mailing list