Markus Neteler wrote:
On Tue, Jun 05, 2001 at 02:53:22PM -0400, Helena Mitasova wrote:
> Has anybody tested nviz in 5.0pre1? It has a strange behavior - if I
> start it with -x flag it runs fine. If I start it with -q or a given
> elevation file it crashes everything and logs me out. However, -q and
> elevation
> runs OK if nviz was run with -x flag first. So it seems that -x option
> sets something which is missing
> in the other options. Or am I missing something here? I am running it
> with RedHat 7.1
> I am not sure whether this is a bug or I don't have something set up
> properly.
Helena,
here it crashes, too. AARGH!! Recently it was o.k.
- If I start without maps, it opens.
- If I start with a raster map, it crashes (seg.fault).
- If I start with a raster map and "-q" it opens but doesn't display
anything
- If I start with a raster map and "-x" it opens and works.
Bob, do you have any ideas?
Markus
Markus,
I am hoping to install RedHat 7.1 later this week, so I should be able
to test NVIZ then.
As far as the above flags..., the "-q" option is the quickstart option,
which ignores any supplied parameters and simply starts. The "-x" is
essentially the same (?) as the quickstart option except the "Please
Wait" window does not come up. As far as I can tell that is the only
diffeence between "-q" and "-x".
A good test would be to try loading a raster from nviz after starting
with "-q" or "-x". Presumably it would still crash??
A copy of the standard output from the crash might help.
---------------
Bob Covill
Tekmap Consulting
P.O. Box 2016 Fall River, N.S.
B2T 1K6
Canada
E-Mail: bcovill@tekmap.ns.ca
Phone: 902-860-1496
Fax: 902-860-1498
From neteler Tue Jun 12 18:22:38 2001
Return-Path: <neteler>
Received: by hgeo02.geog.uni-hannover.de (SMI-8.6/SMI-SVR4)
id SAA02885; Tue, 12 Jun 2001 18:22:38 +0100
Date: Tue, 12 Jun 2001 18:22:37 +0100
From: Markus Neteler <neteler@geog.uni-hannover.de>
To: GRASS List <grass5@geog.uni-hannover.de>
Subject: Re: [GRASS5] nviz crashing in pre1
Message-ID: <20010612182237.B2777@hgeo02.geog.uni-hannover.de>
Mail-Followup-To: GRASS List <grass5@geog.uni-hannover.de>
References: <3B1D2AA2.D0EDB689@unity.ncsu.edu> <20010612175255.I24187@hgeo02.geog.uni-hannover.de> <3B2643CA.B0ED7CC5@tekmap.ns.ca>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <3B2643CA.B0ED7CC5@tekmap.ns.ca>; from bcovill@tekmap.ns.ca on Tue, Jun 12, 2001 at 01:31:06PM -0300
Sender: grass5-admin@geog.uni-hannover.de
Errors-To: grass5-admin@geog.uni-hannover.de
X-BeenThere: grass5@geog.uni-hannover.de
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:grass5-request@geog.uni-hannover.de?subject=help>
List-Post: <mailto:grass5@geog.uni-hannover.de>
List-Subscribe: <http://www.geog.uni-hannover.de/mailman/listinfo/grass5>,
<mailto:grass5-request@geog.uni-hannover.de?subject=subscribe>
List-Id: GRASS 5 Developers mailing list <grass5.geog.uni-hannover.de>
List-Unsubscribe: <http://www.geog.uni-hannover.de/mailman/listinfo/grass5>,
<mailto:grass5-request@geog.uni-hannover.de?subject=unsubscribe>
List-Archive: <http://www.geog.uni-hannover.de/pipermail/grass5/>
Status: O
Content-Length: 3735
Lines: 109
Thanks for your quick response, Bob.
On Tue, Jun 12, 2001 at 01:31:06PM -0300, Bob Covill wrote:
Markus Neteler wrote:
>
> On Tue, Jun 05, 2001 at 02:53:22PM -0400, Helena Mitasova wrote:
> > Has anybody tested nviz in 5.0pre1? It has a strange behavior - if I
> > start it with -x flag it runs fine. If I start it with -q or a given
> > elevation file it crashes everything and logs me out. However, -q and
> > elevation
> > runs OK if nviz was run with -x flag first. So it seems that -x option
> > sets something which is missing
> > in the other options. Or am I missing something here? I am running it
> > with RedHat 7.1
> > I am not sure whether this is a bug or I don't have something set up
> > properly.
>
> Helena,
>
> here it crashes, too. AARGH!! Recently it was o.k.
>
> - If I start without maps, it opens.
> - If I start with a raster map, it crashes (seg.fault).
> - If I start with a raster map and "-q" it opens but doesn't display
> anything
> - If I start with a raster map and "-x" it opens and works.
>
> Bob, do you have any ideas?
>
> Markus
Markus,
I am hoping to install RedHat 7.1 later this week, so I should be able
to test NVIZ then.
As far as the above flags..., the "-q" option is the quickstart option,
which ignores any supplied parameters and simply starts. The "-x" is
essentially the same (?) as the quickstart option except the "Please
Wait" window does not come up. As far as I can tell that is the only
diffeence between "-q" and "-x".
A good test would be to try loading a raster from nviz after starting
with "-q" or "-x". Presumably it would still crash??
Loading the raster map within NVIZ it doesn't crash but doesn't display
anything. However, it says:
"shine set to: 76.000000
Color Material: 4609
"
A copy of the standard output from the crash might help.
Here is (from global dataset):
nviz nations
[...]
scripting menu 4 made
scripting menu 5 made
scripting menu 6 made
scripting menu 7 made
scripting menu made
Error in startup script: integer value too large to represent
while executing
"expr int($curr * 1)"
(procedure "Nv_mkFloatScale" line 16)
invoked from within
"Nv_mkFloatScale $W.zexag v zexag $exag $min $val update_exag 2"
(procedure "mk_exag_slider" line 13)
invoked from within
"mk_exag_slider $BASE.midf"
(procedure "mkmainPanel" line 41)
invoked from within
"mk$name\Panel $path"
(procedure "Nv_force_panel" line 10)
invoked from within
"Nv_force_panel main"
(procedure "Nv_makeGUI" line 120)
invoked from within
"Nv_makeGUI .top"
(file
"/home/neteler/ggg/dist.i686-pc-linux-gnu/etc/nviz2.2/scripts/nviz2.2_script"
line 637)
child process exited abnormally
while executing
"exec /home/neteler/ggg/dist.i686-pc-linux-gnu/etc/nviz2.2/NVWISH2.2 -f
/home/neteler/ggg/dist.i686-pc-linux-gnu/etc/nviz2.2/scripts/nviz2.2_script
nat..."
("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 "/home/neteler/ggg/dist.i686-pc-linux-gnu/bin/nviz" line 13)
------------------------------------------------
Aha "funny":
- it crashes if the map region contains only NULL data values (should
gracefully exit here). Above happened when I was (accidentally) working
in a NULL data area in "nations" map.
Maybe that's another bug. Helena, are you sure that your map contains data
when crashing with NVIZ?
Markus
From neteler Tue Jun 12 18:46:58 2001
Return-Path: <neteler>
Received: by hgeo02.geog.uni-hannover.de (SMI-8.6/SMI-SVR4)
id SAA03115; Tue, 12 Jun 2001 18:46:57 +0100
Date: Tue, 12 Jun 2001 18:46:57 +0100
From: Markus Neteler <neteler@geog.uni-hannover.de>
To: Request Tracker <grass-bugs@intevation.de>
Cc: grass5@geog.uni-hannover.de
Subject: Re: [GRASS5] [bug #748] (grass) horrible instructions
Message-ID: <20010612184657.A2967@hgeo02.geog.uni-hannover.de>
Mail-Followup-To: Request Tracker <grass-bugs@intevation.de>,
grass5@geog.uni-hannover.de
References: <20010607182054.D03D4139F3@mailman.intevation.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <20010607182054.D03D4139F3@mailman.intevation.de>; from grass-bugs@intevation.de on Thu, Jun 07, 2001 at 08:20:54PM +0200
Sender: grass5-admin@geog.uni-hannover.de
Errors-To: grass5-admin@geog.uni-hannover.de
X-BeenThere: grass5@geog.uni-hannover.de
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:grass5-request@geog.uni-hannover.de?subject=help>
List-Post: <mailto:grass5@geog.uni-hannover.de>
List-Subscribe: <http://www.geog.uni-hannover.de/mailman/listinfo/grass5>,
<mailto:grass5-request@geog.uni-hannover.de?subject=subscribe>
List-Id: GRASS 5 Developers mailing list <grass5.geog.uni-hannover.de>
List-Unsubscribe: <http://www.geog.uni-hannover.de/mailman/listinfo/grass5>,
<mailto:grass5-request@geog.uni-hannover.de?subject=unsubscribe>
List-Archive: <http://www.geog.uni-hannover.de/pipermail/grass5/>
Status: O
Content-Length: 8970
Lines: 188
Dave,
thanks for your updates. I have updated in CVS and on Hannover web site.
Markus
On Thu, Jun 07, 2001 at 08:20:54PM +0200, Request Tracker wrote:
this bug's URL: http://intevation.de/rt/webrt?serial_num=748
-------------------------------------------------------------------------
--=====================_3001670==_
Content-Type: text/plain; charset="us-ascii"; format=flowed
at ftp://grass.baylor.edu/pub/grass/grass5/binary/linux/ is a file
titled REQUIREMENTS.html. This file is a mess. Attached is a revised
version that is more legible and which has live links.
Dave Stevens
--=====================_3001670==_
Content-Type: text/html; charset="us-ascii"
Content-Disposition: attachment; filename="grass.html"
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="Mozilla/4.74 [en] (Win98; U) [Netscape]">
<title>REQUIREMENTS to compile GRASS GIS</title>
</head>
<body>
REQUIREMENTS to compile GRASS GIS
<br>
<br>
<p>A workstation running some flavor of unix like Solaris, Irix,
<p>Linux, BSD, Mac OS X, CygWindows. Ideally, you should have at
<p>least 500 Mb for data and 32 Mb RAM. The source code package needs
<p>around 100MB uncompressed. The resulting binaries may need between
<p>80MB and 180MB depending on your platform.
<br>
<br>
<p>General requirements:
<p>(most tools are standard tools on Linux, for other platforms you
<p> may have to install some of them.)
<br>
<br>
<p> - C-compiler (cc, gcc, egcs, ...)
<p> gcc: <a href="http://www.gnu.org/software/gcc/gcc.html">http://www.gnu.org/software/gcc/gcc.html</a>
<br>
<br>
<p> - Fortran compiler (f77, g77, ...) for a few modules
<p> g77: coming along with gcc
<br>
<br>
<p> - GNU make is recommended
<p> <a href="http://www.gnu.org/software/make/make.html">http://www.gnu.org/software/make/make.html</a>
<br>
<br>
<p> - zlib compression library (already installed on modern systems)
<p> It is used to compress GRASS raster files:
<p> libz: <a href="http://www.info-zip.org/pub/infozip/zlib/">http://www.info-zip.org/pub/infozip/zlib/</a>
<p> <a href="ftp://ftp.freesoftware.com/pub/infozip/zlib/">ftp://ftp.freesoftware.com/pub/infozip/zlib/</a>
<br>
<br>
<p> - lexical analyzer generator (flex),
<p> (lex is no longer supported, please use flex instead)
<p> flex: <a href="http://www.gnu.org/software/flex/flex.html">http://www.gnu.org/software/flex/flex.html</a>
<br>
<br>
<p> - parser generator (yacc, bison)
<p> bison: <a href="http://www.gnu.org/software/bison/bison.html">http://www.gnu.org/software/bison/bison.html</a>
<br>
<br>
<p> - libncurses4.x/5.x
<p> <a href="http://www.gnu.org/software/ncurses/ncurses.html">http://www.gnu.org/software/ncurses/ncurses.html</a>
<p> <a href="ftp://ftp.gnu.org/pub/gnu/ncurses/">ftp://ftp.gnu.org/pub/gnu/ncurses/</a>
<br>
<br>
<p> - X11 window system for graphical output, development libraries
<p> (X development libraries, in some linux distributions
<p> they are separate packages)
<p> <a href="http://www.xfree.org"> http://www.xfree.org</a><a href="http://www.xfree.org"></a>
<p>
<p>Optional requirements:
<br>
<br>
<p> - Tcl/Tk 8.x libraries to use TclTkGRASS Interface
<p> and to compile src.contrib/GMSL/NVIZ2.2/
<p> see [<a href="http://www.geog.uni-hannover.de/grass/main_tclgrass.html">http://www.geog.uni-hannover.de/grass/main_tclgrass.html</a>\]
<p> - Mesa-3.x (openGL clone) required for NVIZ2.2
<p> [<a href="http://mesa3d.sourceforge.net/">http://mesa3d.sourceforge.net/</a>\]
<p> Compile instructions:
<p> [<a href="http://www.geog.uni-hannover.de/grass/grass5/related/README.mesa3d">http://www.geog.uni-hannover.de/grass/grass5/related/README.mesa3d</a>\]
<p> - libpng (for r.in.png, r.out.png), usually already installed.
<p> [<a href="ftp://ftp.cdrom.com/pub/png/">ftp://ftp.cdrom.com/pub/png/</a>\]
<p> - libjpeg (for r.in.tiff, r.out.tiff, for HDF library),
<p> usually already installed.
<p> [<a href="ftp://ftp.uu.net/graphics/jpeg/">ftp://ftp.uu.net/graphics/jpeg/</a>\]
<p> - libtiff (for r.in.tiff, r.out.tiff), usually already installed.
<p> [<a href="http://www.libtiff.org">http://www.libtiff.org</a>]
<p> - netpbm-tools/libraries (for r.in.png/r.out.png), usually already
installed.
<p> [please look at any decent software mirror
near you!]
<p> [<a href="http://wuarchive.wustl.edu/graphics/graphics/packages/NetPBM">http://wuarchive.wustl.edu/graphics/graphics/packages/NetPBM</a>\]
<p> [<a href="http://www.sourceforge.net/projects/netpbm/">http://www.sourceforge.net/projects/netpbm/</a>\]
<p>
<p> - libg2c (for r.fill.dir, or use g77)
<p> [http://?]
<p>
<p> - PostgreSQL libraries (for the PostgreSQL database interface)
<p> [<a href="http://www.postgresql.org">http://www.postgresql.org</a>]
<br>
<br>
<p> - Unix ODBC (for the ODBC database interface)
<p> [<a href="http://www.unixodbc.org">http://www.unixodbc.org</a>]
<br>
<br>
<p> - R language (for the R language interface)
<p> [<a href="http://cran.r-project.org">http://cran.r-project.org</a>]
<p>
<p> - usually not required (as you will use NVIZ)
<p> Motif or Lesstif libraries required for
<p> src.contrib/GMSL/ogl3d
<p> [<a href="http://www.lesstif.org">http://www.lesstif.org</a>]
<br>
<br>
<p> - r.in.gdal requires GDAL - Geospatial Data Abstraction Library
<p> [<a href="http://www.remotesensing.org/gdal/">http://www.remotesensing.org/gdal/</a>\]
<br>
<br>
<p>Note:
<p> SUN users may go here to download precompiled libraries etc.:
<p> <a href="http://www.sunfreeware.com/">http://www.sunfreeware.com/</a>
<p>
<p> SGI users may go here to download precompiled libraries etc.:
<p> <a href="http://freeware.sgi.com/">http://freeware.sgi.com/</a>
<br>
<br>
<br>
<br>
<p>GRASS Development Team 2001
<p>grass@baylor.edu
<br>
<br>
<p>$Id: REQUIREMENTS,v 1.10.2.1 2001/04/18 10:46:30 markus Exp $
<br>
<br>
</body>
</html>
--=====================_3001670==_--
--- Headers Follow ---
>From dstevens@bulkley.net Thu Jun 7 20:20:54 2001
Return-Path: <dstevens@bulkley.net>
Delivered-To: grass-bugs@mailman.intevation.de
Received: from omecihuatl.rz.uni-osnabrueck.de (omecihuatl.rz.Uni-Osnabrueck.DE [131.173.17.35])
by mailman.intevation.de (Postfix) with ESMTP id D9965139CE
for <grass-bugs@intevation.de>; Thu, 7 Jun 2001 20:20:53 +0200 (CEST)
Received: from bulkley.net (smtp-1.vancouver.ipapp.com [216.152.192.207])
by omecihuatl.rz.uni-osnabrueck.de (8.11.1/8.11.1) with SMTP id f57IJi126935
for <grass-bugs@intevation.de>; Thu, 7 Jun 2001 20:19:44 +0200
Received: from library.bulkley.net ([142.28.185.168]) by smtp.vphos.net ; Thu, 07 Jun 2001 11:19:29 -0700
Message-Id: <5.0.2.1.0.20010607111743.009e9d90@mail.bulkley.net>
X-Sender: dstevens@mail.bulkley.net
X-Mailer: QUALCOMM Windows Eudora Version 5.0.2
Date: Thu, 07 Jun 2001 11:20:17 -0700
To: grass-bugs@intevation.de
From: Dave Stevens <dstevens@bulkley.net>
Subject: horrible instructions
Mime-Version: 1.0
Content-Type: multipart/mixed;
boundary="=====================_3001670==_"
-------------------------------------------- Managed by Request Tracker
_______________________________________________
grass5 mailing list
grass5@geog.uni-hannover.de
http://www.geog.uni-hannover.de/mailman/listinfo/grass5
--
Markus Neteler * University of Hannover
Institute of Physical Geography and Landscape Ecology
Schneiderberg 50 * D-30167 Hannover * Germany
Tel: ++49-(0)511-762-4494 Fax: -3984