[GRASSLIST:3572] Re: NVIZ in 5.7

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.7

I 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

Thanks for the input Michael. I have tried running it quietly (nviz -q) in
both 5.3 and 5.7 and get the same sort of error...Are you aware of any
problems with the NVWISH2.2 executable. I am not sure but it looks like it
is originating from there...Also in some of my reading it appears that there
may be some problem with running it with Tcl/tk 8.4. That is what we are
running for a number of applications...

Cheers
Gerry James, Geomatics Manager
Geomatics and Information Management Group
BGC Engineering Inc.
604 684 5900 ext. 126

  -----Original Message-----
  From: owner-GRASSLIST@baylor.edu [mailto:owner-GRASSLIST@baylor.edu]On
Behalf Of Michael Barton
  Sent: Tuesday, June 01, 2004 10:26 PM
  To: Multiple recipients of list
  Subject: [GRASSLIST:3572] Re: NVIZ in 5.7

  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.7

    I 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

If you are running under Cygwin, there is a documented problem. Rich Greenwood has provided a version of tcltk that works (www.greenwoodmap.com). If you are running on Mac, you need to install an x11 version of tcltk and not go with the one that Apple provides. This can be had via fink or if you use Lorenzo Moretti's binaries. For other platforms, I don't know. Try setting the path to wish in the .grassrc57 file in your home directory.

Michael
______________________________
Michael Barton, Professor & Curator
School of Human Origins, Cultures, & Societies
Arizona State University
Tempe, AZ 85287-2402
USA

voice: 480-965-6262; fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton
On Jun 2, 2004, at 7:40 AM, Gerry James wrote:

Thanks for the input Michael. I have tried running it quietly (nviz -q) in both 5.3 and 5.7 and get the same sort of error...Are you aware of any problems with the NVWISH2.2 executable. I am not sure but it looks like it is originating from there...Also in some of my reading it appears that there may be some problem with running it with Tcl/tk 8.4. That is what we are running for a number of applications...

Cheers

Gerry James, Geomatics Manager
Geomatics and Information Management Group
BGC Engineering Inc.
604 684 5900 ext. 126
-----Original Message-----
From: owner-GRASSLIST@baylor.edu [mailto:owner-GRASSLIST@baylor.edu]On Behalf Of Michael Barton
Sent: Tuesday, June 01, 2004 10:26 PM
To: Multiple recipients of list
Subject: [GRASSLIST:3572] Re: NVIZ in 5.7

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.7

I 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