Ptolemy II 7.0.1 Limitations
The Ptolemy II 7.0.1 Release notes list limitations. The Vergil welcome window has a link to a similar list.If you find bugs, check the limitations page inside Vergil, then check this page, and then send email to ptolemy at eecs berkeley edu.
In your email, please be sure to list
Places to go
Know Limitations
See the Ptolemy Bugzilla page for other bugs.Windows Installer Limitations
We switched from InstallAnywhere, which was bought by Macrovision, because we feel we are an open source project and should use open source software instead of commercial, closed source software from a copy protection vendor. We are using IzPack, which is open source and written in Java. There are a few issues:Other Limitations
vergil -jni
.
ptolemy.kernel.util.IllegalActionException: The number of elements in the input ArrayToken (2047) is not the same as the arrayLength parameter (2048).
The problem is that if an actor does not have an icon file, then the applet may go back to the server multiple times looking for the icon.
If a model with plotters is executed using the run button on the toolbar, and then re-executed using the run control panel accessed through the View menu, then resizing the run control panel does not cause the plots to resize to fit.
Workaround: Close the model and re-open it, and then run first using the run control panel.
If a model has transparent objects, then when it is printed to EPS, the resulting file is a bitmap instead of a Postscript description of the graphics. You can tell by the file size (several Meg vs. several K) and by opening it in Illustrator, where in theory you should be able to ungroup and select and edit individual components.
The way Java prints EPS is that there is an implementation of Graphics2D that literally translates each graphics2D call into a Postscript snippet. If Java detects any transparent colors or images, then the literal translation of each element independently doesn't work, so the printing code reverts to writing everything to an image and then sending the image, encapsulated in Postscript to the printer.
Solution 1: Use one of these pdf writing programs to generate pdf-1.4 compliant pdf files, which have extensions to support transparency that Postscript lacks, and then print them to eps, which would use the distill implementation of the above algorithm. Or alternatively, we could switch to using pdftex instead of latex->dvips->distill which should embed pdf for figures directly at the expense of less robust latex support.
http://www.geocities.com/marcoschmidt.geo/java-libraries-pdf.html
Solution 2: Use the undocumented flag -Dsun.java2d.print.pipeline=pdl on the command line to force the printing to use the postscript path, ignoring transparency. Under Cygwin:
export JAVAFLAGS=-Dsun.java2d.print.pipeline=pdl vergilThen edit the file by hand in Illustrator to add the transparency back in.
https://chess.eecs.berkeley.edu/bugzilla/show_bug.cgi?id=54
.
c:/Ptolemy/ptII7.0.1
.
A path name like /cygdrive/c/Ptolemy/ptII7.0.1
will not work with Java.
For example, if you run copernicus and copernicus runs make, you may see
makefile:360: *** target pattern contains no `%'. Stop.This is because a makefile variable uses the windows style pathnames with colons in them. One solution is to edit the file to use pathnames with /cygdrive. Another solution is to download a working version from
http://www.cmake.org/files/cygwin/make.exe
For details, see
http://www.cygwin.com/ml/cygwin-announce/2006-07/msg00008.html
From: Christopher Faylor <cgf-no-personal-reply-please at cygwin dot com> To: cygwin-announce at cygwin dot com Date: Sun, 9 Jul 2006 18:13:29 -0400 I've made a new version of 'make' available for download. This updates the package to the latest version available from fedora.redhat.com. I've included the relevant portions of the NEWS file and the Fedora ChangeLog at the end of this message.
For a brief description of this package, see http://cygwin.com/packages/.
Note that the --win32 command line option and "MAKE_MODE" environment variable are no longer supported in Cygwin's make. If you need to use a Makefile which contains MS-DOS path names, then please use a MinGW version of make.
See: http://mingw.org/ for details on downloading a version of make which understands MS-DOS path names. Please! direct any questions about the MinGW version of make to the appropriate MinGW mailing list.
For further updates, see
https://chess.eecs.berkeley.edu/bugzilla/show_bug.cgi?id=55
.
4/26/07: Wile compiling in $PTII/jni/test
,
I was getting
Process_begin: CreateProcess((null), /usr/bin/gcc -shared -Wl,--add-stdcall-alias -o testDeux.dll testDeux.c, ...) failed.The problem was I was running a broken version of make and updating to
http://www.cmake.org/files/cygwin/make.exe
helped.