[GRASS5] d.m: nviz start bug

Hi,

a question concerning d.m:
While launching

nviz el=elevation.dem

from CMD line works well, the lauch of
NVIZ from the d.m menu fails if the WIND3 file
was not generated yet:

It seems that the tcl part cannot handle

nviz
WARNING: G3d_readWindow: unable to find
         [/ssi0/ssi/neteler/grassdata/spearfish57/user1/WIND3].
Creating WIND3 File

My assumption is the G_warning message disturbs the tcl part.

Any ideas?

Markus

At the moment, I've just put a warning label on my download site about this,
saying you must run r3.createwind.

I thought this was in the process of being fixed (already fixed??) so that
nviz would generate a 3d region file (or parameters in the merged WIND/WIND3
file) if it found them missing. So I thought that it was a non-issue that
would go away on its own soon. Am I overly optimistic?

Michael

On 12/10/04 7:50 AM, "Markus Neteler" <neteler@itc.it> wrote:

Hi,

a question concerning d.m:
While launching

nviz el=elevation.dem

from CMD line works well, the lauch of
NVIZ from the d.m menu fails if the WIND3 file
was not generated yet:

It seems that the tcl part cannot handle

nviz
WARNING: G3d_readWindow: unable to find
         [/ssi0/ssi/neteler/grassdata/spearfish57/user1/WIND3].
Creating WIND3 File

My assumption is the G_warning message disturbs the tcl part.

Any ideas?

Markus

______________________________
Michael Barton, Professor of Anthropology
School of Human, Evolution and Social Change
Arizona State University
Tempe, AZ 85287-2402
USA

voice: 480-965-6262; fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

On Fri, Dec 10, 2004 at 09:36:59AM -0700, Michael Barton wrote:

At the moment, I've just put a warning label on my download site about this,
saying you must run r3.createwind.

Mhh, but it's not needed any longer to run g3.createwind.

I thought this was in the process of being fixed (already fixed??) so that
nviz would generate a 3d region file (or parameters in the merged WIND/WIND3
file) if it found them missing. So I thought that it was a non-issue that
would go away on its own soon. Am I overly optimistic?

Yes, nviz generates a 3d region file if it found them missing.

The problem is that nviz in d.m seems to be started in a different
way. But I don't understand how/why.

It *should* work out of the box.

Markus

On 12/10/04 7:50 AM, "Markus Neteler" <neteler@itc.it> wrote:

> Hi,
>
> a question concerning d.m:
> While launching
>
> nviz el=elevation.dem
>
> from CMD line works well, the lauch of
> NVIZ from the d.m menu fails if the WIND3 file
> was not generated yet:
>
> It seems that the tcl part cannot handle
>
> nviz
> WARNING: G3d_readWindow: unable to find
> [/ssi0/ssi/neteler/grassdata/spearfish57/user1/WIND3].
> Creating WIND3 File
>
>
> My assumption is the G_warning message disturbs the tcl part.
>
> Any ideas?
>
> Markus
>

______________________________
Michael Barton, Professor of Anthropology
School of Human, Evolution and Social Change
Arizona State University
Tempe, AZ 85287-2402
USA

voice: 480-965-6262; fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

--
Markus Neteler <neteler itc it> http://mpa.itc.it
ITC-irst - Centro per la Ricerca Scientifica e Tecnologica
MPBA - Predictive Models for Biol. & Environ. Data Analysis
Via Sommarive, 18 - 38050 Povo (Trento), Italy