[GRASSLIST:99] Wish Problem

Hi, I found out today that despite compiling 5.0.2 with tcltk 8.4, I was still running the GUI with the 8.3 wish, as I has the $GRASS_WISH=/sw/bin/wish (where the 8.3 was).
After changing the variable to /usr/bin/wish I get the following error when I try to start GUI:

GRASS 5.0.2 > Error in startup script: xwininfo: error: No such window with id 0x112e2c8.
     while executing
"exec xwininfo -id [winfo id .w_g] | grep -i Corners"
     invoked from within
"scan [exec xwininfo -id [winfo id .w_g] | grep -i Corners] {%*s %d%d} dx dy"
     (file "/usr/local/grass5/tcltkgrass/main/gui.tcl" line 1887)
     invoked from within
"source $env(TCLTKGRASSBASE)/main/gui.tcl"
     (file "/usr/local/grass5/bin/tcltkgrass" line 21)

[1] Exit 1 tcltkgrass

Any ideas???

Thanks

Konstantinos Theofilis

Edmund Blackadder wrote:

Hi, I found out today that despite compiling 5.0.2 with tcltk 8.4, I
was still running the GUI with the 8.3 wish, as I has the
$GRASS_WISH=/sw/bin/wish (where the 8.3 was).
After changing the variable to /usr/bin/wish I get the following error
when I try to start GUI:

GRASS 5.0.2 > Error in startup script: xwininfo: error: No such window
with id 0x112e2c8.
     while executing
"exec xwininfo -id [winfo id .w_g] | grep -i Corners"

Which platform is this on?

--
Glynn Clements <glynn.clements@virgin.net>

The platform is 10.2.6 OS X

Thanks

Konstantinos Theofilis

On Wednesday, May 21, 2003, at 07:23 PM, Glynn Clements wrote:

Edmund Blackadder wrote:

Hi, I found out today that despite compiling 5.0.2 with tcltk 8.4, I
was still running the GUI with the 8.3 wish, as I has the
$GRASS_WISH=/sw/bin/wish (where the 8.3 was).
After changing the variable to /usr/bin/wish I get the following error
when I try to start GUI:

GRASS 5.0.2 > Error in startup script: xwininfo: error: No such window
with id 0x112e2c8.
     while executing
"exec xwininfo -id [winfo id .w_g] | grep -i Corners"

Which platform is this on?

--
Glynn Clements <glynn.clements@virgin.net>

Edmund Blackadder wrote:

> > Hi, I found out today that despite compiling 5.0.2 with tcltk 8.4, I
> > was still running the GUI with the 8.3 wish, as I has the
> > $GRASS_WISH=/sw/bin/wish (where the 8.3 was).
> > After changing the variable to /usr/bin/wish I get the following error
> > when I try to start GUI:
> >
> > GRASS 5.0.2 > Error in startup script: xwininfo: error: No such window
> > with id 0x112e2c8.
> > while executing
> > "exec xwininfo -id [winfo id .w_g] | grep -i Corners"
>
> Which platform is this on?

The platform is 10.2.6 OS X

Make sure that you are using a Unix/X11 version of Tcl/Tk, not a Mac
(Carbon/Aqua) version.

Ultimately we should get rid of the X-isms from tcltkgrass; none of
them are essential, and they harm portability.

--
Glynn Clements <glynn.clements@virgin.net>