[GRASSLIST:6075] 5.0.2 problem

Hello,

I downloaded the GRASS 5.0.2 binary
but when I start NVIZ I can choose raster, vector maps etc. but instead of a
display the following error message appears - it looks similar to the error
prompt of my previous GRASS version when it didn't support tc/tkl 8.4 as far
as I can judge it ;-).

BTW the command r.series, r.mapcalc3 etc. all the new one are not found in
grass 5.0.2 (>command not found), I tought that I downloaded the old one by
mistake but I recognized some changes in the interface and the GRASS info
tells me as well that it is 5.0.2.

any idea? otherwise I will try the source code .

cheers Martin

The papers are available at
http://www2.gis.uiuc.edu:2280/modviz/
Loading Data
building color table
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/scripts/nviz2.2_script el=00l -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/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/grass5/bin/nviz" line 16)

Martin,

could it be that the grass binary was linked against another Tcl/tk version
than the libs on your pc? Looks like something like that...
If you can try the source, and this was the problem, it would disappear cause
then it would link against your own libraries.

Regards,
Vincent Schut.

On Thursday 17 April 2003 18:05, Oggi wrote:

Hello,

I downloaded the GRASS 5.0.2 binary
but when I start NVIZ I can choose raster, vector maps etc. but instead of
a display the following error message appears - it looks similar to the
error prompt of my previous GRASS version when it didn't support tc/tkl 8.4
as far as I can judge it ;-).

BTW the command r.series, r.mapcalc3 etc. all the new one are not found in
grass 5.0.2 (>command not found), I tought that I downloaded the old one by
mistake but I recognized some changes in the interface and the GRASS info
tells me as well that it is 5.0.2.

any idea? otherwise I will try the source code .

cheers Martin

The papers are available at
http://www2.gis.uiuc.edu:2280/modviz/
Loading Data
building color table
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/scripts/nviz2.2_script el=00l -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/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/grass5/bin/nviz" line 16)

--
______________________________________
Vincent Schut (schut@sarvision.com)
Sarvision B.V.
Wageningen, The Netherlands
www.sarvision.com

Hi Martin,

for me this error message for NVIZ appears
when I tried to use the package from

http://grass.itc.it/grass5/binary/linux/nviz_postgresql_tk83_i686-pc-linux-gnu_.tar.gz

which was compiled on Redhat with Tcltk 8.3.

If you use Tcltk 8.4 maybe you should try the
other package compiled on SuSe 8.1. This hopefully
works for you ...

http://grass.itc.it/grass5/binary/linux/nviz_postgresql_tk84_i686-pc-linux-gnu_.tar.gz

  Otto

I downloaded the GRASS 5.0.2 binary
but when I start NVIZ I can choose raster, vector maps etc. but instead of a
display the following error message appears - it looks similar to the error
prompt of my previous GRASS version when it didn't support tc/tkl 8.4 as far
as I can judge it ;-).

BTW the command r.series, r.mapcalc3 etc. all the new one are not found in
grass 5.0.2 (>command not found), I tought that I downloaded the old one by
mistake but I recognized some changes in the interface and the GRASS info
tells me as well that it is 5.0.2.

any idea? otherwise I will try the source code .

cheers Martin

The papers are available at
http://www2.gis.uiuc.edu:2280/modviz/
Loading Data
building color table
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/scripts/nviz2.2_script el=00l -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/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/grass5/bin/nviz" line 16)

Hello all --

I've look through the man pages, and the list archives, but I can't figure out how to change the color that null values appear using r.colors.
I can change it using the interactive d.colors, but that is sub-optimal, and I'm interested in it for a "r.colors $MAP col=rules" type application.

FYI, the d.colors man page seems out of date, as there is now both 0 and N, not just 0.

Thanks,
Parviez

~~~~~~~~~~~~~~~~~~~~~~~~~~
Parviez Hosseini
Office 262A
Cornell Laboratory of Ornithology
159 Sapsucker Woods Rd.
Ithaca, NY 14850
607-254-2476
~~~~~~~~~~~~~~~~~~~~~~~~~~

Oggi wrote:

BTW the command r.series, r.mapcalc3 etc. all the new one are not found in
grass 5.0.2 (>command not found), I tought that I downloaded the old one by
mistake but I recognized some changes in the interface and the GRASS info
tells me as well that it is 5.0.2.

r.series isn't built by default (and so won't be in any of the binary
distributions).

There isn't an "r.mapcalc3" program; the new version of r.mapcalc is
called "r.mapcalc" (the source code is in src/raster/r.mapcalc3; the
old r.mapcalc is still in the source package, but isn't built).

--
Glynn Clements <glynn.clements@virgin.net>

Parviez Hosseini wrote:

I've look through the man pages, and the list archives, but I can't figure
out how to change the color that null values appear using r.colors.
I can change it using the interactive d.colors, but that is sub-optimal,
and I'm interested in it for a "r.colors $MAP col=rules" type application.

Use "nv" to set the null colour, e.g.

  GRASS:~ > r.colors elevation.dem color=rules
  Enter rules, "end" when done, "help" if you need it.
  Data range is 1066 to 1840
  > 1066 black
  > 1840 white
  > nv red
  > end
  Color table for [elevation.dem] set to rules
  GRASS:~ >

This is "mentioned" in the text which is displayed if you type "help",
although it is far from clear:

  > help
  Enter a rule in one of these formats:
   color
   val color
   n% color
====> nv color
   default color
  color can be one of:
   white black red green blue yellow magenta cyan aqua grey gray orange brown
   purple violet indigo
  or an r,g,b triplet, e.g.: 0 127 255

It isn't mentioned in the man page, but should be.

--
Glynn Clements <glynn.clements@virgin.net>

On Thu, Apr 17, 2003 at 10:59:32PM +0100, Glynn Clements wrote:

Oggi wrote:

> BTW the command r.series, r.mapcalc3 etc. all the new one are not found in
> grass 5.0.2 (>command not found), I tought that I downloaded the old one by
> mistake but I recognized some changes in the interface and the GRASS info
> tells me as well that it is 5.0.2.

r.series isn't built by default (and so won't be in any of the binary
distributions).

There isn't an "r.mapcalc3" program; the new version of r.mapcalc is
called "r.mapcalc" (the source code is in src/raster/r.mapcalc3; the
old r.mapcalc is still in the source package, but isn't built).

I guess you are refering to r3.mapcalc? The volume tools?
They *may* show up in 5.0.3 as they are rather stable now.

Markus Neteler

thanks nviz is working!

only one problem but that seems not to be due to GRASS is that the NVIZ window
can'f be resized and therfore I can not see the bottom of the window.

any idea how I can solve this problem?

nice eastern, cheers Martin

On Thursday 17 April 2003 16:19, Otto Dassau wrote:

Hi Martin,

for me this error message for NVIZ appears
when I tried to use the package from

http://grass.itc.it/grass5/binary/linux/nviz_postgresql_tk83_i686-pc-linux-
gnu_.tar.gz

which was compiled on Redhat with Tcltk 8.3.

If you use Tcltk 8.4 maybe you should try the
other package compiled on SuSe 8.1. This hopefully
works for you ...

http://grass.itc.it/grass5/binary/linux/nviz_postgresql_tk84_i686-pc-linux-
gnu_.tar.gz

  Otto

> I downloaded the GRASS 5.0.2 binary
> but when I start NVIZ I can choose raster, vector maps etc. but instead
> of a display the following error message appears - it looks similar to
> the error prompt of my previous GRASS version when it didn't support
> tc/tkl 8.4 as far as I can judge it ;-).
>
> BTW the command r.series, r.mapcalc3 etc. all the new one are not found
> in grass 5.0.2 (>command not found), I tought that I downloaded the old
> one by mistake but I recognized some changes in the interface and the
> GRASS info tells me as well that it is 5.0.2.
>
> any idea? otherwise I will try the source code .
>
> cheers Martin
>
> The papers are available at
> http://www2.gis.uiuc.edu:2280/modviz/
> Loading Data
> building color table
> 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/scripts/nviz2.2_script el=00l -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/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/grass5/bin/nviz" line 16)