Ecoinformatics Redmine: Issueshttps://projects.ecoinformatics.org/ecoinfo/https://projects.ecoinformatics.org/ecoinfo/ecoinfo/favicon.ico?14691340362015-08-12T23:39:08ZEcoinformatics Redmine
Redmine Kepler - Bug #6829 (Closed): ant change-to fails under Windows Server 2012 R2 with Cygwinhttps://projects.ecoinformatics.org/ecoinfo/issues/68292015-08-12T23:39:08ZChristopher Brookscxh@eecs.berkeley.edu
<p>Under Windows Server 2012 R2 with Cygwin, I ran<br /><pre>
mkdir kepler.modules
cd kepler.modules
svn co https://code.kepler-project.org/code/kepler/trunk/modules/build-area
cd build-area
</pre></p>
<p>and then ant change-to failed:</p>
<pre>
$ ant change-to -Dsuite=kepler
Buildfile: C:\Users\cxh\src\kepler.modules\build-area\build.xml
change-to:
[change-to] Copying 1 file to C:\Users\cxh\src\kepler.modules\build-area
[change-to] Retrieving modules....
[change-to]
[change-to] kepler:
[change-to] Downloading (if necessary) kepler...
[change-to] svn co -r head https://code.kepler-project.org/code/kepler/trunk/modules/kepler C:\Users\cxh\src\kep\
ler.modules\kepler
[change-to] svn: E000002: Can't make directory '/cygdrive/c/Users/cxh/src/kepler.modules/build-area/C:\Users\cxh\
\src\kepler.modules\kepler': No such file or directory
[change-to]
BUILD FAILED
C:\Users\cxh\src\kepler.modules\build-area\build.xml:104: ERROR: It appears that the command did not execute pro\
perly and exited with an exit code of: 1
Total time: 1 second
cxh@AMPERE ~/src/kepler.modules/build-area
$
</pre>
<p>I can give out accounts on ampere.eecs.berkele.edu if necessary.</p> Kepler - Bug #6167 (New): Model Context Menu should have the enableBackwardTypeInference choicehttps://projects.ecoinformatics.org/ecoinfo/issues/61672013-10-23T01:07:20ZChristopher Brookscxh@eecs.berkeley.edu
<p>Ptolemy II now supports backward type inference. The way this is enabled is that the top level container has a parameter called "enableBackwardTypeInference" that is set to true or false.</p>
<p>In Ptolemy II's Vergil, this is visible by right clicking on the background of the top level model.</p>
<p>This functionality is not present in the devel tree of Kepler.</p>
<p>The workaround is to drag in a Parameter, name it "enableBackgroundTypeInference" and set the value to true.</p> Kepler - Bug #6165 (Resolved): The names of instances of the Stop actor do not display in Mac OSX.https://projects.ecoinformatics.org/ecoinfo/issues/61652013-10-22T00:48:43ZChristopher Brookscxh@eecs.berkeley.edu
<p>On Kepler-users, Kenneth Jones wrote:</p>
<blockquote>
<p>The names of instances of the Stop actor do not display in Mac OSX. Let me know if you need more info.</p>
</blockquote>
<p>Indeed, dragging in the Stop Actor results in icons without instance names</p> Kepler - Bug #5892 (Resolved): After running various demos like HelloWorld, the user is prompted ...https://projects.ecoinformatics.org/ecoinfo/issues/58922013-03-19T14:47:26ZChristopher Brookscxh@eecs.berkeley.edu
<p>In the 2.4RC3 Windows installer, after I run various demos, when I close the demo, the "Save changes to KAR" dialog pops up.</p>
<p>Probably the Kar files need to be updated in the svn repository.</p>
<p>HelloWorld, SimpleAddition and others are affected.</p> Kepler - Bug #5650 (Resolved): actors LidarWorkflowExecute and load WorkflowExecute have duplicat...https://projects.ecoinformatics.org/ecoinfo/issues/56502012-08-06T23:27:32ZChristopher Brookscxh@eecs.berkeley.edu
<p>Duplicates detected with CPD. See</p>
<p><a class="external" href="http://bugzilla.ecoinformatics.org/show_bug.cgi?id=4926#c1">http://bugzilla.ecoinformatics.org/show_bug.cgi?id=4926#c1</a></p>
<p>actors/src/org/geon/LidarWorkflowExecute.java line 260<br />loader/src/org/geon/WorkflowExecute.java line 118
# lines : 387 duplicated</p> Kepler - Bug #5633 (Resolved): Actor/Attribute Search/Find Facility needs menu choiceshttps://projects.ecoinformatics.org/ecoinfo/issues/56332012-06-22T21:40:21ZChristopher Brookscxh@eecs.berkeley.edu
<p>Edward developed a search facility for models.<br />Under Mac OS X in the Kepler trunk, if the mouse is over the graph canvas,<br />then typing Command-F brings up a search dialog.</p>
<p>This dialog should be added to the Kepler menus.</p> Kepler - Bug #5022 (Resolved): 2.0-RC3 Windows installer creates Kepler 2.0-RC2 start menu choice...https://projects.ecoinformatics.org/ecoinfo/issues/50222010-05-20T19:52:20ZChristopher Brookscxh@eecs.berkeley.edu
<p>With the Kepler-2.0-RC3 Windows installer, the shortcut in Start->All Programs<br />->Kepler is Kepler 2.0-RC2, not Kepler-2.0-RC3.</p>
<p>Also, the icon for "Kepler 2.0-RC2" is missing, I get a default<br />icon, not the Kepler Icon.</p> Kepler - Bug #5020 (Resolved): 2.0-RC3 installer: R Kepler Module is not optionalhttps://projects.ecoinformatics.org/ecoinfo/issues/50202010-05-20T17:28:08ZChristopher Brookscxh@eecs.berkeley.edu
<p>When installing Kepler-2.0-RC3, I'm presented with<br />two choices:<br />Kepler<br />R Kepler Module</p>
<p>Both are required, I can't uncheck "R Kepler Module",<br />so why bother with this window?</p> Kepler - Bug #4996 (Resolved): 2.0-RC2 demos don't workhttps://projects.ecoinformatics.org/ecoinfo/issues/49962010-05-10T04:55:59ZChristopher Brookscxh@eecs.berkeley.eduKepler - Bug #4913 (Resolved): ant change-to -Dsuite=kepler-2.0 checks out ptolemy from the head ...https://projects.ecoinformatics.org/ecoinfo/issues/49132010-03-30T02:38:26ZChristopher Brookscxh@eecs.berkeley.edu
<p>How do I check out the 2.0 branch?</p>
<p>svn co <a class="external" href="https://code.kepler-project.org/code/kepler/branches/releases/release-branches/build-area-2.0">https://code.kepler-project.org/code/kepler/branches/releases/release-branches/build-area-2.0</a> build-area<br />cd build-area<br />ant change-to -Dsuite=kepler-2.0</p>
<p>Checks out the ptII head, not the rel-8-0-beta-2 branch</p>
<p>svn co svn+ssh://source.eecs.berkeley.edu/chess/ptII/branches/rel-8-0-beta-2 ptolemy-8.0</p>
<p>This is critical because it means that anyone who is working on the <br />Kepler 2.0 branch is working from the Ptolemy head, not the 8.0 release.<br />The primary issue is that the Ptolemy head is larger than the 8.0 release.<br />Over time, a second issue will be that the Ptolemy head will evolve.</p>
<p>The way to check is to look at CURRENT_VERSION in VersionAttribute.jar:<br />bash-3.2$ grep CURRENT_VERSION kepler-2.0/ptolemy-8.0/src/ptolemy/kernel/attributes/VersionAttribute.java<br /> Iterator versionTuples = CURRENT_VERSION.iterator();
* if (VersionAttribute.CURRENT_VERSION.isLessThan(assumedVersion)) {
* if (VersionAttribute.CURRENT_VERSION.compareTo(<br /> public static final VersionAttribute CURRENT_VERSION;<br /> CURRENT_VERSION = new VersionAttribute("8.1.devel");<br /> "Failed to create CURRENT_VERSION: "</p>
<p>The above is the current ptII svn head.<br />Another way is to look at intro.htm:</p>
<p>bash-3.2$ grep Version kepler-2.0/ptolemy-8.0/src/ptolemy/configs/full/intro.htm <br />Ptolemy II Version 8.1.devel</p>
<p>If we had a build system test suite (bug <a class="issue tracker-1 status-1 priority-5 priority-highest" title="Bug: Add a test suite for the build system (New)" href="https://projects.ecoinformatics.org/ecoinfo/issues/4260">#4260</a>), then we could test for<br />this sort of problem.</p> Kepler - Bug #4909 (New): Actor documentation: updates ignored, duplicate info, how to refer to o...https://projects.ecoinformatics.org/ecoinfo/issues/49092010-03-29T21:15:59ZChristopher Brookscxh@eecs.berkeley.edu
<p>A few comments about the Kepler Actor Documentation system</p>
<p>1. If I update the .xml file for a Director, then preexisting models<br />do not get the updates. I think this is wrong. For example,<br />I added text to PNDirector.xml. If a user has a preexisting model<br />that uses PNDirector, then to see the new text, they would need<br />to drag in a new PNDirector.</p>
<p>2. The model files contain copies of the documentation. This is<br />related to point 1 above. This will be an issue for large systems<br />because parsing a large file with redundant info takes time and<br />possibly consumes lots of memory</p>
<p>3. In a documentation .xml file, how do I refer to another actor<br />or director? For example in<br />kepler/directors/resources/kar/CoreDirectors/PNDirector.xml<br />I want to refer to the Ramp actor so that if the user<br />clicks on the link, then they are shown the Ramp actor documentation<br />How do I do that?</p>
<p>4. In a documentation .xml file, how do I refer to a model?<br />For example, in<br />kepler/directors/resources/kar/CoreDirectors/PNDirector.xml<br />I want to refer to<br />ptolemy/domains/pn/demo/RemoveNilTokens/RemoveNilTokens.xml<br />How do I do that?</p> Kepler - Bug #4908 (New): actor/director/attribute .xml file documentation needs to be updatedhttps://projects.ecoinformatics.org/ecoinfo/issues/49082010-03-29T21:05:36ZChristopher Brookscxh@eecs.berkeley.edu
<p>The kar files include documentation for actors, directors and attributes.</p>
<p>These files need to be checked against the corresponding Ptolemy<br />actors, directors and attributes and updated accordingly.</p>
<p>For example, the directors/resources/kar/CoreDirectors/PNDirector.xml<br />file did not include information from June, 2008 about how to stop<br />a PN model.</p>
<p>To fix this bug, all of the .kar files should be reviewed and compared<br />with the original class comments in the .java files.</p> Kepler - Bug #3903 (New): Use Java logging utilities instead of Apache commons logging facilityhttps://projects.ecoinformatics.org/ecoinfo/issues/39032009-03-18T19:21:30ZChristopher Brookscxh@eecs.berkeley.edu
<p>ersonally, I'd like to switch to the logging utilities that<br />now ship with Java, see<br /><a class="external" href="http://java.sun.com/j2se/1.4.2/docs/guide/util/logging/">http://java.sun.com/j2se/1.4.2/docs/guide/util/logging/</a><br />The advantage is that it would be one less jar file to ship.<br />A quick search finds 144 files that use the apache logging facility.<br />Most of these changes could be handled automatically by a script.</p>
<p>Notes about the logging system can be found at<br /><a class="external" href="https://kepler-project.org/developers/reference/using-commons-logging">https://kepler-project.org/developers/reference/using-commons-logging</a></p> Kepler - Bug #3254 (Resolved): Annotations for some Ptolemy demos are not wrappedhttps://projects.ecoinformatics.org/ecoinfo/issues/32542008-04-30T16:11:33ZChristopher Brookscxh@eecs.berkeley.edu
<p>The annotation for the SDF Expression demo is not wrapped,<br />it runs off the right side of the screen.</p>
<p>However, the annotation for the LMS Adaptive demo does properly wrap.</p>
<p>A quick look at the xml shows that the SDF Expression:</p>
<p><property name="annotation1" class="ptolemy.kernel.util.Attribute"><br /> <property name="_location" class="ptolemy.kernel.util.Location" value="140.0, 5.0"><br /> </property><br /> <property name="_iconDescription" class="ptolemy.kernel.util.SingletonConfigurableAttribute"><br /> <configure><br /> <svg><br /> <text x="20" style="font-size:14; font-family:sanserif; fill:blue" y="20">This model repeatedly evaluates an expression, a function of two ramp<br />signals, slow and fast. Try right clicking on the expr actor, select<br />"Configure" and change it to "cos(slow)*cos(fast)" and then run<br />the demo with View->Run Window->Go. Other interesting alternatives<br />include:<br /> "cos(fast*cos(slow))" <br /> "0.2*slow + cos(fast)"</text><br /> </svg><br /> </configure><br /> </property><br /> <property name="_hideName" class="ptolemy.kernel.util.SingletonAttribute"><br /> </property><br /> </property></p>
<p>The LMS Adaptive demo has:</p>
<p><property name="Annotation" class="ptolemy.vergil.kernel.attributes.TextAttribute"><br /> <property name="text" class="ptolemy.kernel.util.StringAttribute" value="This model illustrates an LMS (least mean square) adaptive filter that learns the response of a fixed FIR (finite impulse response) filter by observing the input and noisy output of the filter."><br /> </property><br /> <property name="_location" class="ptolemy.kernel.util.Location" value="[15.0, 265.0]"><br /> </property><br /> </property></p>
<p>Note that LMS Adaptive uses a TextAttribute and it uses<br /> instead of newlines (the above example text is probably wrapped).</p>
<p>The solution here is to filter the demos and change the older style<br />annotation to the newer style.</p> Kepler - Bug #2349 (New): Actors should have preconditions to test for long runshttps://projects.ecoinformatics.org/ecoinfo/issues/23492006-02-07T18:19:21ZChristopher Brookscxh@eecs.berkeley.edu
<p>It would be nice if there was an easy way to for a model to test for<br />trivial problems before getting far down a long run.</p>
<p>One idea would be to have such actors implement an interface that included a<br />method that the director would run.</p>
<p>We should think about why having actors do more testing in preinitialize()<br />will not work here. For example, if we have an FSM model, do all<br />the actors get preinitialize() called right away? What about the Case actor.</p>