From: Alan W. I. <ir...@be...> - 2002-01-27 15:31:18
|
On Sat, 26 Jan 2002, Geoffrey Furnish wrote: > [...]Now, you might suspect its just my code. And that could well be. > However, it runs to completion with no upset using many other devices, > including xwin, ps, and plmeta. With a metafile, I can render to > device tk. Also the plplot C examples work with dev tk. So I realize > this is a pretty inconclusive set of data. The C examples with tk driver may not be adequately exercising the code. Therefore, I think you should exercise every Tk example to see if there are any obvious problems on your system. Here is my script for doing this from plplot/tmp: #!/bin/sh #test suite of all interactive tk stuff that cannot be done by file. #tk driver (x14c), tcldemos, tkdemos. export cdir=. export tcldir=. export tkdir=. export plplotbindir=. $cdir/x14c $cdir/x17c -dev tk $tkdir/xtk01 -f tk01 $tkdir/xtk02 -f tk02 $plplotbindir/plserver -f tk03 $tkdir/xtk04 -f tk04 cd $tcldir $plplotbindir/plserver <<EOF plstdwin . plxframe .plw pack append . .plw {left expand fill} source plgrid.tcl proc 1 {} "plgrid .plw.plwin" 1 exit EOF cd $tkdir $plplotbindir/plserver <<EOF source tkdemos.tcl 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 exit EOF If all these examples work well, then I would pick the nearest to your own use of PLplot and see what is different about yours that is generating an error. I suspect it may be one of the obscure API changes that is messing you about. Recall that part of Maurice's recent work was removing those nameclashes that occurred in plframe.c between special plframe commands and Tcl-wrapped PLplot library code commands. Perhaps your code is calling some of those special plframe commands that were renamed? Finally, does your code work with PLplot 5.0.4? PLplot of September? PLplot of last week? There really haven't been that many tk/plframe changes since 5.0.4 so it should be a relatively quick task to find out which one is causing your problem. Since all the examples work (AFAIK), and there have been too many delays already, I am very much inclined to continue with the tag deadline tomorrow. Ideally, if you actually find something specifically wrong with PLplot today, you will also be able to fix it today. Good luck, and let us know how it goes. Alan |