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 #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 #5453 (Resolved): ant javadoc -Dfull=true failshttps://projects.ecoinformatics.org/ecoinfo/issues/54532011-08-05T15:08:21ZChristopher Brookscxh@eecs.berkeley.edu
<p>Running "ant" says</p>
<blockquote>
<p>javadoc Create javadoc for all the modules in modules.txt. Use -Dfull=true if you want to link your documentation to documentation of Kepler and Ptolemy too.</p>
</blockquote>
<p>However, ant javadoc <del>Dfull=true fails.<br />--start-</del></p>
<p>bash-3.2$ ant javadoc -Dfull=true<br />Buildfile: /Users/cxh/src/kepler/build-area/build.xml</p>
<p>javadoc:</p>
<p>BUILD FAILED<br />/Users/cxh/src/kepler/build-area/build.xml:204: src '/Users/cxh/src/kepler/null/lib/jar/kepler-r7920.jar' doesn't exist.</p>
<p>Total time: 0 seconds</p>
<p>--end--</p>
<p>ant javadoc -Dfull=true should be part of the nightly test suite.</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 #4995 (In Progress): ant installer fails under Linuxhttps://projects.ecoinformatics.org/ecoinfo/issues/49952010-05-10T00:15:32ZChristopher Brookscxh@eecs.berkeley.edu
<p>In a clean Kepler 2.0 tree, "ant installer" fails under linux:</p>
<p>build-macapp:<br /> [echo] jarbunder<br /> [null] Deleting directory /home/cxh/src/kepler-2.0/Kepler.app<br />[jarbundler] Creating application bundle: /home/cxh/src/kepler-2.0/Kepler.app</p>
<p>BUILD FAILED<br />/home/cxh/src/kepler-2.0/build-area/build.xml:339: The following error occurred while executing this line:<br />/home/cxh/src/kepler-2.0/build-area/build.xml:370: The following error occurred while executing this line:<br />/home/cxh/src/kepler-2.0/build-area/build.xml:439: Cannot copy Java Application Stub: java.io.FileNotFoundException: /System/Library/Frameworks/JavaVM.framework/Versions/Current/Resources/MacOS/JavaApplicationStub (No such file or directory)</p>
<p>The problem is that the JavaApplicationStub file is not present under Linux.</p> Kepler - Bug #4994 (Resolved): ant installer fails with "Invalid directory 'dir' ... outreach-2.0...https://projects.ecoinformatics.org/ecoinfo/issues/49942010-05-08T03:14:26ZChristopher Brookscxh@eecs.berkeley.edu
<p>Working from the instructions at<br /><a class="external" href="https://kepler-project.org/developers/teams/build/building-kepler-installers">https://kepler-project.org/developers/teams/build/building-kepler-installers</a><br />and using Kepler-2.0 instead of the devel trunk, I have problems with<br />"ant install" </p>
<pre><code>mkdir kepler-2.0<br /> cd kepler-2.0<br /> svn co <a class="external" href="https://code.kepler-project.org/code/kepler/releases/release-branches/build-area-2.0/">https://code.kepler-project.org/code/kepler/releases/release-branches/build-area-2.0/</a> build-area<br /> cd build-area<br /> ant change-to -Dsuite=kepler-2.0<br /> ant clean-cache<br /> ant eclipse<br /> ant installer</code></pre>
<p>Fails with:<br />--start--<br />[installer] Appending packs from the outreach-2.0 module.<br />[installer] Appending packs from the r-2.0 module.<br />[installer] Appending packs from the ptolemy-8.0 module.<br />[installer] basedirPath: /Users/cxh/src/kepler-2.0<br />[installer] Filtering out non-used OS elements.<br />[installer] Writing installer file to /Users/cxh/src/kepler-2.0/build-area/installer/install.xml</p>
<p>BUILD FAILED<br />/Users/cxh/src/kepler-2.0/build-area/build.xml:337: The following error occurred while executing this line:<br />/Users/cxh/src/kepler-2.0/build-area/build.xml:361: com.izforge.izpack.compiler.CompilerException: installer/install.xml:252: Invalid directory 'dir': /Users/cxh/src/kepler-2.0/outreach-2.0.0/resources<br />--end--</p>
<p>build-area/installer/install.xml is generated by the build process and includes<br />a reference to outreach-2.0.0, which does not exist. outreach-2.0 does<br />exist.</p>
<p>See also<br /><a class="external" href="http://mercury.nceas.ucsb.edu/kepler/pipermail/kepler-users/2010-April/002154.html">http://mercury.nceas.ucsb.edu/kepler/pipermail/kepler-users/2010-April/002154.html</a></p>
<p>A test suite would help with this sort of problem.</p> Kepler - 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 #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>