Fri, Mar 5 2004
17:40:44
|
|
Request created by smitchell
|
|
Subject: nviz in 5.0.3 fails to start if Spearfish erode.index is drape image
I just tried to answer Markus' call for a new binary build of 5.0.3 on Linux,
and in testing it ran into a problem. I happened to pick erode.index as the
raster file to display on top of the DEM (all from Spearfish), and nviz dumped
with the errors pasted below. Since it seems to work fine if I choose other
files, I'll continue on and make the binaries available for now, but wanted to
report the glitch.
Scott
Nv_mkPanelMenu 2 0
Nv_mkPanelMenu 2 1
Nv_mkPanelMenu 2 2
Nv_mkPanelMenu 2 3
Nv_mkPanelMenu 2 4
Error in startup script: integer value too large to represent
while executing
"expr int([lindex $range 1])"
(procedure "mkcutplanePanel" line 55)
invoked from within
"mk$name\Panel $path"
(procedure "Nv_force_panel" line 10)
invoked from within
"Nv_force_panel $i"
(procedure "Nv_mkPanelMenu" line 12)
invoked from within
"Nv_mkPanelMenu $Nv_(AREA).menu.panel"
(procedure "Nv_makeGUI" line 77)
invoked from within
"Nv_makeGUI .top"
(file "/usr/local/grass5/etc/nviz2.2/scripts/nviz2.2_script" line 660)
child process exited abnormally
while executing
"exec /usr/local/grass5/etc/nviz2.2/NVWISH2.2 -f /usr/local/grass5/etc/nviz2.2/s
cripts/nviz2.2_script -name NVIZ >&@stdout"
("eval" body line 1)
invoked from within
"eval exec $env(GISBASE)/etc/nviz2.2/NVWISH2.2 -f $env(GISBASE)/etc/nviz2.2/scri
pts/nviz2.2_script -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/scrip
ts/nviz2.2_script -name NVIZ >&@stdo..."
(file "/usr/local/grass5/bin/nviz" line 16)
|
|
Sun, Mar 7 2004
23:51:23
|
|
Comments added by hbowman
|
|
Cc: grass5@grass.itc.it
Are you sure that the map is contained in the current region?
ie run 'g.region rast=erode.index' first.
If there is no data to display, NULL (aka very large integer) is passed to the
range-finding routines & it crashes.
It isn't as simple as testing for data at startup, as if you add a second
raster or set a color layer with no data it will crash out as well, which can
be a pain if you've spent some time getting the view right, etc.
Could that be it?? Is there a MASK in place?
Hamish
|
|
Mon, Aug 16 2004
22:58:14
|
|
Mail sent by guest
|
|
Works fine now in GRASS 5.7
nviz elevation.dem col=erode.index
no crash.
Closing the bug. |
|
Sun, Dec 12 2004
16:05:11
|
|
Status changed to resolved by mneteler
|
|