Project

General

Profile

Actions

Bug #4767

closed

error instantiating actor with port types from KAR

Added by Oliver Soong almost 15 years ago. Updated over 14 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

Actions #1

Updated by Aaron Aaron over 14 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.

Actions #2

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 4767

Actions

Also available in: Atom PDF