Project

General

Profile

Actions

Bug #5593

open

use setDefaultWidth in actors

Added by Derik Barseghian almost 12 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.
---

Actions #1

Updated by Redmine Admin almost 11 years ago

Original Bugzilla ID was 5593

Actions

Also available in: Atom PDF