error instantiating actor with port types from KAR
Create an Expression actor, give it an input port of type boolean, save it as a KAR into a local repository, then try and drag it onto the canvas. I get an error:
ptolemy.kernel.util.IllegalActionException: TypeAttribute can only be contained by instances of TypedIOPort.
in .Expression.kepler:input and ._type
Updated by Aaron Aaron almost 13 years ago
A small patch to the Ptolemy class TypeAttribute has solved this particular bug, but there is still a deeper problem with how Kepler handles ports through the ActorMetadata class that should be reworked eventually. Can open a new bug for that later.