Project

General

Profile

Bug #4767

error instantiating actor with port types from KAR

Added by Oliver Soong over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
general
Target version:
Start date:
02/05/2010
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
4767

Description

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

History

#1 Updated by Aaron Aaron over 9 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.

#2 Updated by Redmine Admin over 6 years ago

Original Bugzilla ID was 4767

Also available in: Atom PDF