Details Ticket 1508


Comment | Reply | Take | Open


Serial Number 1508
Subject wish - OSX's new X11
Area wish
Queue grass
Requestors roberto@bolzan.it
Owner none
Status resolved
Last User Contact Thu Jan 23 11:04:52 2003 (6 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Tue Mar 1 09:12:22 2005 (3 yr ago)
Created Sun Jan 12 15:20:32 2003 (6 yr ago)

Transaction History Ticket 1508


Sun, Jan 12 2003 15:20:32    Request created by guest  
Subject: wish - OSX's new X11

I have GRASS 5.0.0pre2 installed.
I installed the new X11 in OSX 10.2.3 and nothing works anymore.

I typed grass5 and this is the response:

Starting GRASS ...
: command not foundtc/Init.sh: 
: command not foundtc/Init.sh: 
: command not foundtc/Init.sh: 
ERROR: Invalid return code from gis_set.tcl.
Please advise GRASS developers of this error.
/usr/local/grass5/etc/Init.sh: LOCATION_NAME: parameter null or not set

PS the invalid code return shoud be 127

If I type grass5 + location/mapset I have a correct response, but if I then type:
g.help 
I have:
Error opening terminal: vt100
il I type: tcltkgrass&
I have:
GRASS 5.0.0pre2 > Error in startup script: couldn't execute "xwininfo": no such
file or directory
    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 17)

 and wish shell opens and closes immediatly.

I think there's something wrong with the new graphic interface.
Thu, Jan 23 2003 11:04:52    Mail sent by mneteler  
The error moessage says that
xwininfo

is missing. So you must install it (it's not a GRASS program, but related
to X11).

Markus
Wed, Feb 5 2003 08:23:50    Comments added by guest  
I have a file called 
/usr/X11R6/bin/xwininfo
in my system.
Is it in the wrong place?

ll /usr/X11R6/bin/xwininfo
-rwxr-xr-x  1 root  wheel  35528 Aug 27 01:53 /usr/X11R6/bin/xwininfo

It's intouched since I started grass the first time.
Sat, Jan 24 2004 23:33:03    Comments added by smitchell  
I suspect this is not an OSX issue actually - I just ran in to the same symptoms
on a 
RedHat Linux machine.  For whatever reason (apparently due to logging in remotely
instead of on the console, but I'll deal with that later) the PATH did not include
/usr/X11R6/bin
therefore the call to xwininfo failed just like on your system.  Editing the
PATH manually 
first to include that directory fixed it for me.

This may not be an issue on your system any more, it has been so long, but thought
I'd
document the probable/simple fix.

Scott Mitchell
smitch@mac.com
Tue, Mar 1 2005 09:12:22    Status changed to resolved by pcavallini  
Comment | Reply | Take | Open

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request