Project

General

Profile

Bug #5593

use setDefaultWidth in actors

Added by Derik Barseghian almost 7 years ago.

Status:
New
Priority:
Normal
Category:
actors
Target version:
Start date:
04/28/2012
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
5593

Description

Building workflows in Kepler these days I spend a lot of time changing relation widths from Auto to 1, because w/ Auto the following error message occurs:

--
ptolemy.kernel.util.IllegalActionException: Error recording workflow structure: Error getting port width: The width of relation .DataTurbineTimeSlice.relation can not be uniquely inferred.
--

The error includes a suggestion, it sounds like we should take a pass through all actors and update code to call setDefaultWidth as appropriate:

--
Please make the width inference deterministic by explicitly specifying the width of this relation. In the user interface, right click on the relation, select Configure and change the width. Note that some actors may need to have their Java code updated to call setDefaultWidth(1) on the output port.
---

History

#1 Updated by Redmine Admin about 6 years ago

Original Bugzilla ID was 5593

Also available in: Atom PDF