[GRASSLIST:5036] Re: GRASS 5.0; NVIZ visualation tool: problems starting under SuSE 8.1

Markus Neteler neteler at itc.it
Fri Nov 22 09:30:53 EST 2002


Hi,

below problem is fixed in CVS. It will appear in 5.0.1.
You can also modify the code yourself, see

/usr/local/grass5/etc/nviz2.2/scripts/widgets.tcl

search round line 204 for
   if {$val < $res } {
and change it to
   if {$val < $res || $res == 0} {

This may help,

 Markus

On Thu, Nov 21, 2002 at 10:30:39PM +0100, Lars Forseth wrote:
> Hi!
> 
> I have just uppgraded my linux installation to SuSE 8.1. 
> 
> I have also installed GRASS (GIS) 5.0. This went well; and the basic tcl/tk 
> interfrace (tcltkgrass) startet. When I try to run NVIZ, the 3d vizualation 
> tool, it fails. A note here; I have created the usual symlinks in libtk/tcl; 
> i.e ln -sf /usr/lib/libtcl8.4.so /usr/lib/libtcl.so.0 and 
> /usr/lib/libtk8.4.so /usr/lib/libtk.so.0.
> 
> Mesa is installed; and gears is running.
> 
> Below is the output from the NVIZ program (run from tcltkgrass). Does anyone 
> have any idea why it crashes?
> 
> Regards
> lars Forseth
> 
> 
> Loading Data
> Update elev null mask
> Loading Data
> translating colors
> Site dim: 2
> Sites file bugsites loaded.
> Adding panels from /usr/local/grass5/etc/nviz2.2/scripts
> Nv_(panels)
> toplevel made
> child killed: segmentation violation
>     while executing
> "exec /usr/local/grass5/etc/nviz2.2/NVWISH2.2 -f 
> /usr/local/grass5/etc/nviz2.2/s
> cripts/nviz2.2_script el=elevation.dem si=bugsites -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 $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/scrip
> ts/nviz2.2_script -name NVIZ >&@stdo..."
>     (file "/usr/local/grass5/bin/nviz" line 16)
> 
> Finished - press RETURN or ENTER to continue
> 
> 
> -- 
> ---------------------------------------------
> Lars Forseth
> GIS/IT Kaupang-undersøkelsen
> http://folk.uio.no/forseth
> ----------------------------------------------

-- 
Markus Neteler

ITC-irst, Istituto per la Ricerca Scientifica e Tecnologica
      Project on Predictive Models for the Environment    
Via Sommarive, 18        -       38050 Povo (Trento), Italy
tel +39 0461 314 520 (fax -591)           http://mpa.itc.it




More information about the grass-user mailing list