Recent Changes - Search:

edit SideBar

CapeCodeInstaller

This page is about issues surrounding the CapeCode installer. See http://capecode.org for installation instructions

Issues

  • We want a 100% jar file distribution for testing and for Triquetrum.
  • Nashorn does not seem to play well with Jar URLs

Testing

To test, we use the Java WebStart version and then check the copyrights to check for configuration issues

  1. To build: (cd $PTII; ant jars; make jnlp_all)
  2. To run: javaws vergilCapeCode.jnlp
  3. Copyright -> Copyrights -> More information about this configuration

about:configuration

Accessing Accessors via accessors.org

While expanding about:configuration, the following appears in the Java console:

In "/Users/cxh/src/ptII11.0.devel/signed/org/terraswarm/accessor/accessors", about to execute:
    svn update --non-interactive --trust-server-cert --accept postpone
Skipped '.'
svn: E155007: None of the targets are working copies

Also, messages about reading http://accessors.org appear in the status bar.

What we would like to do is to read the accessors that are defined in the jar file.

One way to do this is to unjar the accessors jar file.

Tesseract

During about:configuration, it looks like a tesseract module is needed, but not available:

  The tesseract module was not present.  The CharacterRecognition accessor is not supported on this accessor host.
  The tesseract module was not present.  The CharacterRecognition accessor is not supported on this accessor host.

OpenCV

During about:configuration, it looks like OpenCV is using the shared library that is already installed:

  JNLPClassLoader: Finding library libopencv_java320.dylib
  Loaded /opt/local/share/OpenCV/java/libopencv_java320.dylib
  JNLPClassLoader: Finding library libopencv_java320.dylib
  Loaded /opt/local/share/OpenCV/java/libopencv_java320.dylib
  JNLPClassLoader: Finding library libopencv_java320.dylib
  Loaded /opt/local/share/OpenCV/java/libopencv_java320.dylib

about:expandLibrary

Invoking the Cape Code model editor

Code Generation

Code Generation does not work because node can't find the files

  Error: Cannot find module '/Users/cxh/src/ptII11.0.devel/signed/org/terraswarm/accessor/accessors/web/node_modules/@accessors-hosts/node/nodeHostInvoke.js'

OccupancyLights

  ptolemy.kernel.util.IllegalActionException: Failure executing the react function: Error: commonHost.js, react(), invoking a specific handler   for "input": Exception occurred in input handler, which has now has been removed.  Exception was: ptolemy.kernel.util.IllegalActionException:  FaceDetector: No filter found for [object Object] Stacktrace was: undefined in jar:file:/Users/cxh/src/ptII11.0.devel/signed/ptolemy/actor/lib/jjs/jjs.jar!/ptolemy/actor/lib/jjs/external/require.js#401:30<eval> at line number 1682 at column number 24
  in .OccupancyLights.FaceDetector2

OccupancyCount has a similar failure.

Edit - History - Print - Recent Changes - Search
Page last modified on June 14, 2017, at 05:25 am