From: Maurice L. <mj...@ga...> - 2002-12-01 02:16:53
|
Alan W. Irwin writes: > Actually the AT tcl binding was fine last night, but I just didn't know it. > > I had a tough time finding what the problem was because somebody stripped > the error messages out of tclAPI.c so it just failed silently when the > extended search failed. That is not a good situation since the extended > search is still unreliable. This silent failure may be the reason why > nobody seems to be seriously trying the fundamentally important tclsh (or > wish) methods of running plplot commands. If the extended search fails PlbasicInit() returns TCL_ERROR, which: (a) is all the info you really need since you have a stack trace to find where the error occured, and (b) there's no other info to give really -- at the point of failure "libdir" is NULL after several tries to give it a value. I suppose one nice enhancement would be for PlbasicInit() to set its internal debug variable using a Tcl global variable of the same name so you could get immediate feedback w/o recompilation. But anyway for now to get more info on the search process recompile with debug=1 in PlbasicInit() and see what it tells you, that should help. -- Maurice LeBrun mj...@ga... Research Organization for Information Science and Technology of Japan (RIST) |