Gerry,
I believe you've hit a known bug in GRASS 5.7. NVIZ won't start from the GUI g.parser interface you get when you run it from the command line, nor will it accept front loaded elevation data (or any other data). The only way it will run is to start 'quietly' without loading data up front.
nviz -q
Then load the data once NVIZ has started.
Michael Barton
____________________
C. Michael Barton, Professor
School of Human Origins, Cultures, & Societies
PO Box 872402
Arizona State University
Tempe, AZ 85287-2402
USA
Phone: 480-965-6262
Fax: 480-965-7671
www: <www.public.asu.edu/~cmbarton>
On Jun 1, 2004, at 10:01 PM, Multiple recipients of list wrote:
From: "Gerry James" <gjames@bgcengineering.ca>
Date: June 1, 2004 3:25:10 PM MST
To: <GRASSLIST@baylor.edu>
Subject: [GRASSLIST:3571] NVIZ in 5.7I am trying to run NVIZ in 5.7 and I keep getting the same error. I have tried to run it from the command line while loading the elevation.dem data that comes with the sample data and get the following lines
Loading Data
Update elev null mask
Loading Data
translating colors
Adding panels from /usr/local/grass57-29_05_2004/etc/nviz2.2/scripts
Nv_(panels)
toplevel made
child killed: segmentation violation
while executing
"exec /usr/local/grass57-29_05_2004/etc/nviz2.2/NVWISH2.2 -f /usr/local/grass57-29_05_2004/etc/nviz2.2/scripts/nviz2.2_script elevation.dem -name NVIZ ..."
("eval" body line 1)
invoked from within
"eval exec $env(GISBASE)/etc/nviz2.2/NVWISH2.2 -f $env(GISBASE)/etc/nviz2.2/scripts/nviz2.2_script $argv -name NVIZ >&@stdout"
invoked from within
"if {$argv == ""} {
#no arguments
eval exec $env(GISBASE)/etc/nviz2.2/NVWISH2.2 -f $env(GISBASE)/etc/nviz2.2/scripts/nviz2.2_script -name NVIZ >&@stdo..."
(file "/usr/local/grass57-29_05_2004/bin/nviz" line 16)I have tried copying the nviz2.2_script into a number of different areas with no luck.
Can anyone help me out.
Cheers