From: Alan W. I. <ir...@be...> - 2002-06-23 18:48:51
|
Maurice, this is mostly directed to you. With the new python interface I am getting the following stack trace from the tk driver when I invoke ./pythondemos.py -dev tk bad window path name ".pythondemos.py" while executing "plframe $w.plwin -relief sunken" (procedure "plxframe" line 20) invoked from within "plxframe $w $client_id" (procedure "plw_create" line 2) invoked from within "plw_create .pythondemos.py tk" ("after" script) With the old python interface I get no such error, but the name of the window (displayed by the desktop environment at the top of the window and also displayed by the tk driver in the second line) are the garbage characters "le" so I suspect the problem has been occurring all along. If I do something like ./x02c -dev tk The window name is displayed as "x02c". If I use the fortran front end, ./x02f and select the tk device, the window name is displayed as "plclient". If I use the java front end java plplot.examples.x02 -dev tk the window name is displayed as "plclient_1". I believe there must be some assumptions in the tk driver about what the front end is supposed to supply, and I suspect neither the old or new python front ends have done the job properly. Maurice, could you have a quick dig around to find out what must be supplied by all front ends so the window name works properly with the tk driver? Once I know that information, I can see what is missing from the python front end (or what is being wrongly supplied [say through some name-clash] that is confusing the tk driver). Thanks in advance. Alan email: ir...@be... phone: 250-727-2902 FAX: 250-721-7715 snail-mail: Dr. Alan W. Irwin Department of Physics and Astronomy, University of Victoria, P.O. Box 3055, Victoria, British Columbia, Canada, V8W 3P6 __________________________ Linux-powered astrophysics __________________________ |