[kepler-users] Problem with instance of String Replace class

Christopher Brooks cxh at eecs.berkeley.edu
Fri Jun 1 13:44:31 PDT 2012


Hi Jon,
A recent change to ptII is causing problems with PortParameters and 
Actor Oriented Classes.
The change is r63638
> :21 -0700 (Tue, 29 May 2012) | 1 line
>
> Fixed so that the initialize() method always sets the current value to 
> match the persistent value.

You could try editing kepler/ptolemy/module-info/revision.txt and change 
it to
63637

and then do:
  ant update
  ant clean
  ant

As a workaround, I reverted ptolemy/actor/parameters/PortParameter.java 
to 63637.
The ptII tree compiles and some tests pass, but I have not tested every 
thing.

So, instead of editing revisions.txt, you could also just try doing ant 
update and rebuilding.

_Christopher

On 6/1/12 1:13 PM, Jonathan Boright wrote:
> All,
>
> I've recently updated my Kepler build (Kepler revision 29881, Ptolomy 
> revision 63644) and I'm experiencing some problematic behavior. I have 
> some large models which use a composite actor which has been converted 
> to a class. Instances of this class are throughout the model (close to 
> 100 of them I would guess), and all of a sudden I'm getting errors... 
> In particular, Kepler has trouble with the "String Replace" actor when 
> it is referred to as an instance of a class. I have an older build 
> (revision 29861 I think) on another machine which runs the same model 
> just fine...
>
> I'm attaching a small .kar which illustrates the problem.
>
> Thanks in advance...
>
> Jon
>
> PS As a last-resort is there a (relatively pain-free) way to roll back 
> svn revisions? Or just start a fresh build with an older revision number?
>
>
> -- 
> ---------------------------------------
> Jonathan Boright
> Research Scientist
> ISciences, LLC
> 61 Main Street, Suite 200
> Burlington, VT 05401
> boright at isciences.com <mailto:boright at isciences.com>
>
>
>
> _______________________________________________
> Kepler-users mailing list
> Kepler-users at kepler-project.org
> http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users

-- 
Christopher Brooks, PMP                       University of California
CHESS Executive Director                      US Mail: 337 Cory Hall
Programmer/Analyst CHESS/Ptolemy/Trust        Berkeley, CA 94720-1774
ph: 510.643.9841                                (Office: 545Q Cory)
home: (F-Tu) 707.665.0131 cell: 707.332.0670

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-users/attachments/20120601/be17b1b8/attachment.html>


More information about the Kepler-users mailing list