Dear Ptolemy users,
I can't use gantt, I always have the same error message, whatever file I give in input.
I want to use gantt as a standalone shell ($PTOLEMY/bin/gantt) on a Sun
running SunOS 5.5.1. I use Ptolemy 0.7.
I hope someone will be able to help me.
Thanks in advance.
Thierry.
-----------------------------------------------------------------------------------------------
The error message is :
can't read "ptkGantt_Layout(.gantt_unknown.numprocs)": no such variable
while executing
"ptkGantt_DrawProc $universe $ptkGantt_Layout($chart.numprocs)..."
("default" arm line 1)
invoked from within
"switch [lindex $LINEARR 0] {
numberOfProcessors { set ptkGantt_Layout($chart.numprocs) [lindex
$LINEARR 1];
continue}
period { set ptkGantt_Lay ..."
("while" body line 5)
invoked from within
"while { $NUMCHARS >= 0 } {
set NUMCHARS [gets $GFILE_ID LINEARR]
if (!$NUMCHARS) continue;
switch [lindex $LINEARR 0] {
numberO ..."
invoked from within
"if { [file exists $inputFile] } {
set GFILE_ID [open $inputFile r]
set proc_num 1
set NUMCHARS 0
while { $NUMCHARS >= 0 } {
set NUMCHAR ..."
(procedure "ptkGanttDisplay" line 67)
invoked from within
"ptkGanttDisplay unknown [lindex $argv 0] 1"
invoked from within
"if { $argc != 1 } {
puts stderr "Usage: gantt filename"
exit 1
} else {
ptkGanttDisplay unknown [lindex $argv 0] 1
}"
(file "/applis/ptolemy/0.7/reference/lib/tcl/gantt.tcl" line 54)
------------------------------------------------------------------------------
From:
Thierry Fournet
France
[EMAIL PROTECTED]
----------------------------------------------------------------------------
Posted to the ptolemy-hackers mailing list. Please send administrative
mail for this list to: [EMAIL PROTECTED]