[6039] in SIPB bug reports

home help back first fref pref prev next nref lref last post

Exmh won't start the first time.

daemon@ATHENA.MIT.EDU (Jacob Morzinski)
Tue Jul 9 13:56:35 1996

To: bug-sipb@MIT.EDU
Date: Tue, 09 Jul 1996 13:39:37 EDT
From: "Jacob Morzinski" <jmorzins@MIT.EDU>

When users try to run exmh, it sometimes fails to start on the first
try.  Can this be fixed?

Example invocation supplied:

athena% detach tcl
detach: Filesystem "tcl" is not attached
athena% add sipb
athena% exmh &
[1] 11164
athena% application-specific initialization failed: Can't find a usable init.tcl in the following directories: 
    /mit/tcl/lib/tcl7.5 /afs/sipb/project/lib/tcl7.5 /afs/athena.mit.edu/user/j/tcl7.5/library /afs/athena.mit.edu/user/j/m/library
This probably means that Tcl wasn't installed properly.
 
can't read "tk_version": no such variable
    while executing
"if {$tk_version < 3.3} {
    puts stderr "Warning: EXMH requires Tk 3.3 through Tk 4.0."
    exit 1
}"
    (file "/mit/sipb/sun4bin/exmh" line 41)
 
[1]    Exit 1                 exmh
athena% exmh &
[1] 11167



On the first try, exmh failed.  On the second try, it succeeded.  I
would speculate that the reason for failure is that the
"exec attach -h -n tcl" line in the exmh script takes a finite amount
of time to run, and exmh chokes because tcl isn't actually present
in the /mit directory by the time that exmh needs it to be there.
When exmh is run the second time, tcl has completed its attaching, and
there is no problem.  (Of course, I have zero knowledge of Tcl, so I
may be completely wrong...)

Can we get jhawk to append "/afs/sipb/tcl/project/lib/tcl7.5" to the
library search path for tcl?  Failing that, have someone modify the
exmh script so that exmh runs successfully the first time it is
invoked?

Thanks,
-- 
 Jacob Morzinski                                jmorzins@mit.edu

home help back first fref pref prev next nref lref last post