[GRASS-dev] Region problems in grass 6.3 (maybe also 6.1)...

Hi all,

      A very interesting and frustrating problem has just presented itself to me. The region settings seem to "break" after using the new zoom tools from the map display. i get the following error message in the Output window:

region for current mapset is invalid
line 15: <depths: 0>
run "g.region"

    This message displays after zooming a few times, or after attempting to do anything at all with "g.region" (including just printing region settings). Also, all the new zoom tools in the map display seem to do nothing after this message, and I cannot display any of the maps in my mapset. I have looked at the WIND file for the afflicted mapsets, and they seem perfectly normal. For example, the above error message is associated with the following WIND file:

proj: 1
zone: 36
north: 3742844.70455
south: 3309044.70455
east: 944264.754065
west: 560076.932184
cols: 12806
rows: 14460
e-w resol: 30.0006108
n-s resol: 30
top: 1
bottom: 0
cols3: 12806
rows3: 14460
depths: 1
e-w resol3: 30.0006108
n-s resol3: 30
t-b resol: 1

Making a new mapset allows me to run "g.region" without any problems until I use the new zooming tools, and then the same problem occurs. Restarting GRASS initially allows for the maps to be displayed again, but after zooming a bit, or trying to run "g.region" again, the region eventually "breaks" again. What I specifically do not understand is why the error tells me to run "g.region" when doing so does nothing, and seems to even cause the error in the first place. Does anybody have any idea what the issue is here? I am using GRASS 6.3, compiled from the CVS source yesterday (08/15)... Any help would be greatly appreciated.

Cheers,

Isaac

Hi Isaac,

a solution for this (known) problem was proposed by Martin Landa a
few days ago:

http://grass.itc.it/pipermail/grass-dev/2006-August/025040.html

Since he should have CVS write access now, I hope that
he'll submit the patch asap.

Markus

On Tue, Aug 15, 2006 at 06:07:09PM +0000, Isaac Ullah wrote:

Hi all,

     A very interesting and frustrating problem has just presented
itself to me. The region settings seem to "break" after using the new
zoom tools from the map display. i get the following error message in
the Output window:

region for current mapset is invalid
line 15: <depths: 0>
run "g.region"

   This message displays after zooming a few times, or after attempting
to do anything at all with "g.region" (including just printing region
settings). Also, all the new zoom tools in the map display seem to do
nothing after this message, and I cannot display any of the maps in my
mapset. I have looked at the WIND file for the afflicted mapsets, and
they seem perfectly normal. For example, the above error message is
associated with the following WIND file:

proj: 1
zone: 36
north: 3742844.70455
south: 3309044.70455
east: 944264.754065
west: 560076.932184
cols: 12806
rows: 14460
e-w resol: 30.0006108
n-s resol: 30
top: 1
bottom: 0
cols3: 12806
rows3: 14460
depths: 1
e-w resol3: 30.0006108
n-s resol3: 30
t-b resol: 1

Making a new mapset allows me to run "g.region" without any problems
until I use the new zooming tools, and then the same problem occurs.
Restarting GRASS initially allows for the maps to be displayed again,
but after zooming a bit, or trying to run "g.region" again, the region
eventually "breaks" again. What I specifically do not understand is why
the error tells me to run "g.region" when doing so does nothing, and
seems to even cause the error in the first place. Does anybody have any
idea what the issue is here? I am using GRASS 6.3, compiled from the CVS
source yesterday (08/15)... Any help would be greatly appreciated.

Cheers,

Isaac

_______________________________________________
grass-dev mailing list
grass-dev@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass-dev

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

Greetings all,

I am attempting to build GRASS 6.1.0 here, and I am getting undefined errors for EXIT_FAILURE and EXIT_SUCCESS.

After greping around a bit, I cannot find those constants defined anywhere. Where might they supposed to be defined?

Thanks,

Jeshua Lacock, Owner
<http://OpenOSX.com>
phone: 877.240.1364

On Tue, 2006-08-15 at 22:08 -0600, Jeshua Lacock wrote:

I am attempting to build GRASS 6.1.0 here, and I am getting undefined
errors for EXIT_FAILURE and EXIT_SUCCESS.

After greping around a bit, I cannot find those constants defined
anywhere. Where might they supposed to be defined?

They are defined in the ANSI C standard and reside in stdlib.h.

--
Brad Douglas <rez touchofmadness com> KB8UYR
Address: 37.493,-121.924 / WGS84 National Map Corps #TNMC-3785

I can confirm this. There seems no way to satify g.region. We've set the
WIND file manually and still get the same error.

We did a make distclean and recompiled today (15 August) and still have the
same results. This is on an FC4 32bit system.

I tried the identical actions on my Mac, using 6.1.0 binaries compiled 12
August and had no trouble at all.

Did something change with g.region? Could this be due to the parser changes
that Markus mentioned earlier today?

Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

From: Isaac Ullah <isaac.ullah@asu.edu>
Date: Tue, 15 Aug 2006 18:07:09 +0000
To: <grass-dev@grass.itc.it>
Subject: [GRASS-dev] Region problems in grass 6.3 (maybe also 6.1)...

Hi all,

      A very interesting and frustrating problem has just presented
itself to me. The region settings seem to "break" after using the new
zoom tools from the map display. i get the following error message in
the Output window:

region for current mapset is invalid
line 15: <depths: 0>
run "g.region"

    This message displays after zooming a few times, or after attempting
to do anything at all with "g.region" (including just printing region
settings). Also, all the new zoom tools in the map display seem to do
nothing after this message, and I cannot display any of the maps in my
mapset. I have looked at the WIND file for the afflicted mapsets, and
they seem perfectly normal. For example, the above error message is
associated with the following WIND file:

proj: 1
zone: 36
north: 3742844.70455
south: 3309044.70455
east: 944264.754065
west: 560076.932184
cols: 12806
rows: 14460
e-w resol: 30.0006108
n-s resol: 30
top: 1
bottom: 0
cols3: 12806
rows3: 14460
depths: 1
e-w resol3: 30.0006108
n-s resol3: 30
t-b resol: 1

Making a new mapset allows me to run "g.region" without any problems
until I use the new zooming tools, and then the same problem occurs.
Restarting GRASS initially allows for the maps to be displayed again,
but after zooming a bit, or trying to run "g.region" again, the region
eventually "breaks" again. What I specifically do not understand is why
the error tells me to run "g.region" when doing so does nothing, and
seems to even cause the error in the first place. Does anybody have any
idea what the issue is here? I am using GRASS 6.3, compiled from the CVS
source yesterday (08/15)... Any help would be greatly appreciated.

Cheers,

Isaac

Brad Douglas wrote on 08/16/2006 06:31 AM:

On Tue, 2006-08-15 at 22:08 -0600, Jeshua Lacock wrote:
  

I am attempting to build GRASS 6.1.0 here, and I am getting undefined
errors for EXIT_FAILURE and EXIT_SUCCESS.

After greping around a bit, I cannot find those constants defined
anywhere. Where might they supposed to be defined?
    
They are defined in the ANSI C standard and reside in stdlib.h.

Jeshua,

where did that exactly happen (module, library)?

Markus

Michael,

this bug I know for > 1 year. I hope that Martin submits his patch.

Markus

Michael Barton wrote on 08/16/2006 08:13 AM:

I can confirm this. There seems no way to satify g.region. We've set the
WIND file manually and still get the same error.

We did a make distclean and recompiled today (15 August) and still have the
same results. This is on an FC4 32bit system.

I tried the identical actions on my Mac, using 6.1.0 binaries compiled 12
August and had no trouble at all.

Did something change with g.region? Could this be due to the parser changes
that Markus mentioned earlier today?

Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

From: Isaac Ullah <isaac.ullah@asu.edu>
Date: Tue, 15 Aug 2006 18:07:09 +0000
To: <grass-dev@grass.itc.it>
Subject: [GRASS-dev] Region problems in grass 6.3 (maybe also 6.1)...

Hi all,

      A very interesting and frustrating problem has just presented
itself to me. The region settings seem to "break" after using the new
zoom tools from the map display. i get the following error message in
the Output window:

region for current mapset is invalid
line 15: <depths: 0>
run "g.region"

    This message displays after zooming a few times, or after attempting
to do anything at all with "g.region" (including just printing region
settings). Also, all the new zoom tools in the map display seem to do
nothing after this message, and I cannot display any of the maps in my
mapset. I have looked at the WIND file for the afflicted mapsets, and
they seem perfectly normal. For example, the above error message is
associated with the following WIND file:

proj: 1
zone: 36
north: 3742844.70455
south: 3309044.70455
east: 944264.754065
west: 560076.932184
cols: 12806
rows: 14460
e-w resol: 30.0006108
n-s resol: 30
top: 1
bottom: 0
cols3: 12806
rows3: 14460
depths: 1
e-w resol3: 30.0006108
n-s resol3: 30
t-b resol: 1

Making a new mapset allows me to run "g.region" without any problems
until I use the new zooming tools, and then the same problem occurs.
Restarting GRASS initially allows for the maps to be displayed again,
but after zooming a bit, or trying to run "g.region" again, the region
eventually "breaks" again. What I specifically do not understand is why
the error tells me to run "g.region" when doing so does nothing, and
seems to even cause the error in the first place. Does anybody have any
idea what the issue is here? I am using GRASS 6.3, compiled from the CVS
source yesterday (08/15)... Any help would be greatly appreciated.

Cheers,

Isaac

_______________________________________________
grass-dev mailing list
grass-dev@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass-dev
  

On Aug 16, 2006, at 1:54 AM, Markus Neteler wrote:

where did that exactly happen (module, library)?

Hello Markus,

With the modules:

  v.out.dxf
  r.to.vect

Sure enough, including stdlib.h did the trick (thanks Brad!)...

Let me know if I may be of any assistance.

Regards,

Jeshua Lacock, Owner
<http://OpenOSX.com>
phone: 877.240.1364

Brad Douglas wrote:

> I am attempting to build GRASS 6.1.0 here, and I am getting undefined
> errors for EXIT_FAILURE and EXIT_SUCCESS.
>
> After greping around a bit, I cannot find those constants defined
> anywhere. Where might they supposed to be defined?

They are defined in the ANSI C standard and reside in stdlib.h.

So, which modules are generating errors? Presumably, they aren't
including stdlib.h.

--
Glynn Clements <glynn@gclements.plus.com>

I'm glad it's known and has a fix in the works. But why is it just showing
up now and doesn't affect 6.1?

Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics and Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

From: Markus Neteler <neteler@itc.it>
Date: Wed, 16 Aug 2006 10:10:48 +0200
To: Michael Barton <michael.barton@asu.edu>
Cc: <grass-dev@grass.itc.it>, Martin Landa <landa.martin@gmail.com>
Subject: Re: [GRASS-dev] Region problems in grass 6.3 (maybe also 6.1)...

Michael,

this bug I know for > 1 year. I hope that Martin submits his patch.

Markus

Michael Barton wrote on 08/16/2006 08:13 AM:

I can confirm this. There seems no way to satify g.region. We've set the
WIND file manually and still get the same error.

We did a make distclean and recompiled today (15 August) and still have the
same results. This is on an FC4 32bit system.

I tried the identical actions on my Mac, using 6.1.0 binaries compiled 12
August and had no trouble at all.

Did something change with g.region? Could this be due to the parser changes
that Markus mentioned earlier today?

Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

From: Isaac Ullah <isaac.ullah@asu.edu>
Date: Tue, 15 Aug 2006 18:07:09 +0000
To: <grass-dev@grass.itc.it>
Subject: [GRASS-dev] Region problems in grass 6.3 (maybe also 6.1)...

Hi all,

      A very interesting and frustrating problem has just presented
itself to me. The region settings seem to "break" after using the new
zoom tools from the map display. i get the following error message in
the Output window:

region for current mapset is invalid
line 15: <depths: 0>
run "g.region"

    This message displays after zooming a few times, or after attempting
to do anything at all with "g.region" (including just printing region
settings). Also, all the new zoom tools in the map display seem to do
nothing after this message, and I cannot display any of the maps in my
mapset. I have looked at the WIND file for the afflicted mapsets, and
they seem perfectly normal. For example, the above error message is
associated with the following WIND file:

proj: 1
zone: 36
north: 3742844.70455
south: 3309044.70455
east: 944264.754065
west: 560076.932184
cols: 12806
rows: 14460
e-w resol: 30.0006108
n-s resol: 30
top: 1
bottom: 0
cols3: 12806
rows3: 14460
depths: 1
e-w resol3: 30.0006108
n-s resol3: 30
t-b resol: 1

Making a new mapset allows me to run "g.region" without any problems
until I use the new zooming tools, and then the same problem occurs.
Restarting GRASS initially allows for the maps to be displayed again,
but after zooming a bit, or trying to run "g.region" again, the region
eventually "breaks" again. What I specifically do not understand is why
the error tells me to run "g.region" when doing so does nothing, and
seems to even cause the error in the first place. Does anybody have any
idea what the issue is here? I am using GRASS 6.3, compiled from the CVS
source yesterday (08/15)... Any help would be greatly appreciated.

Cheers,

Isaac

_______________________________________________
grass-dev mailing list
grass-dev@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass-dev
  

Hi all,

I will submit this patch as soon as I have CVS write access...

Best, Martin

2006/8/16, Markus Neteler <neteler@itc.it>:

Michael,

this bug I know for > 1 year. I hope that Martin submits his patch.

Markus

Michael Barton wrote on 08/16/2006 08:13 AM:
> I can confirm this. There seems no way to satify g.region. We've set the
> WIND file manually and still get the same error.
>
> We did a make distclean and recompiled today (15 August) and still have the
> same results. This is on an FC4 32bit system.
>
> I tried the identical actions on my Mac, using 6.1.0 binaries compiled 12
> August and had no trouble at all.
>
> Did something change with g.region? Could this be due to the parser changes
> that Markus mentioned earlier today?
>
> Michael
> __________________________________________
> Michael Barton, Professor of Anthropology
> School of Human Evolution & Social Change
> Center for Social Dynamics & Complexity
> Arizona State University
>
> phone: 480-965-6213
> fax: 480-965-7671
> www: http://www.public.asu.edu/~cmbarton
>
>> From: Isaac Ullah <isaac.ullah@asu.edu>
>> Date: Tue, 15 Aug 2006 18:07:09 +0000
>> To: <grass-dev@grass.itc.it>
>> Subject: [GRASS-dev] Region problems in grass 6.3 (maybe also 6.1)...
>>
>> Hi all,
>>
>> A very interesting and frustrating problem has just presented
>> itself to me. The region settings seem to "break" after using the new
>> zoom tools from the map display. i get the following error message in
>> the Output window:
>>
>> region for current mapset is invalid
>> line 15: <depths: 0>
>> run "g.region"
>>
>> This message displays after zooming a few times, or after attempting
>> to do anything at all with "g.region" (including just printing region
>> settings). Also, all the new zoom tools in the map display seem to do
>> nothing after this message, and I cannot display any of the maps in my
>> mapset. I have looked at the WIND file for the afflicted mapsets, and
>> they seem perfectly normal. For example, the above error message is
>> associated with the following WIND file:
>>
>> proj: 1
>> zone: 36
>> north: 3742844.70455
>> south: 3309044.70455
>> east: 944264.754065
>> west: 560076.932184
>> cols: 12806
>> rows: 14460
>> e-w resol: 30.0006108
>> n-s resol: 30
>> top: 1
>> bottom: 0
>> cols3: 12806
>> rows3: 14460
>> depths: 1
>> e-w resol3: 30.0006108
>> n-s resol3: 30
>> t-b resol: 1
>>
>> Making a new mapset allows me to run "g.region" without any problems
>> until I use the new zooming tools, and then the same problem occurs.
>> Restarting GRASS initially allows for the maps to be displayed again,
>> but after zooming a bit, or trying to run "g.region" again, the region
>> eventually "breaks" again. What I specifically do not understand is why
>> the error tells me to run "g.region" when doing so does nothing, and
>> seems to even cause the error in the first place. Does anybody have any
>> idea what the issue is here? I am using GRASS 6.3, compiled from the CVS
>> source yesterday (08/15)... Any help would be greatly appreciated.
>>
>> Cheers,
>>
>> Isaac
>>
>
> _______________________________________________
> grass-dev mailing list
> grass-dev@grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass-dev
>

--
Martin Landa <landa.martin@gmail.com> * http://gama.fsv.cvut.cz/~landa *

I see reports go back to the first week of July, so I believe both are
affected.

On Wed, 2006-08-16 at 09:25 -0700, Michael Barton wrote:

I'm glad it's known and has a fix in the works. But why is it just showing
up now and doesn't affect 6.1?

Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics and Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

> From: Markus Neteler <neteler@itc.it>
> Date: Wed, 16 Aug 2006 10:10:48 +0200
> To: Michael Barton <michael.barton@asu.edu>
> Cc: <grass-dev@grass.itc.it>, Martin Landa <landa.martin@gmail.com>
> Subject: Re: [GRASS-dev] Region problems in grass 6.3 (maybe also 6.1)...
>
> Michael,
>
> this bug I know for > 1 year. I hope that Martin submits his patch.
>
> Markus
>
> Michael Barton wrote on 08/16/2006 08:13 AM:
>> I can confirm this. There seems no way to satify g.region. We've set the
>> WIND file manually and still get the same error.
>>
>> We did a make distclean and recompiled today (15 August) and still have the
>> same results. This is on an FC4 32bit system.
>>
>> I tried the identical actions on my Mac, using 6.1.0 binaries compiled 12
>> August and had no trouble at all.
>>
>> Did something change with g.region? Could this be due to the parser changes
>> that Markus mentioned earlier today?
>>
>> Michael
>> __________________________________________
>> Michael Barton, Professor of Anthropology
>> School of Human Evolution & Social Change
>> Center for Social Dynamics & Complexity
>> Arizona State University
>>
>> phone: 480-965-6213
>> fax: 480-965-7671
>> www: http://www.public.asu.edu/~cmbarton
>>
>>
>>
>>
>>> From: Isaac Ullah <isaac.ullah@asu.edu>
>>> Date: Tue, 15 Aug 2006 18:07:09 +0000
>>> To: <grass-dev@grass.itc.it>
>>> Subject: [GRASS-dev] Region problems in grass 6.3 (maybe also 6.1)...
>>>
>>> Hi all,
>>>
>>> A very interesting and frustrating problem has just presented
>>> itself to me. The region settings seem to "break" after using the new
>>> zoom tools from the map display. i get the following error message in
>>> the Output window:
>>>
>>> region for current mapset is invalid
>>> line 15: <depths: 0>
>>> run "g.region"
>>>
>>> This message displays after zooming a few times, or after attempting
>>> to do anything at all with "g.region" (including just printing region
>>> settings). Also, all the new zoom tools in the map display seem to do
>>> nothing after this message, and I cannot display any of the maps in my
>>> mapset. I have looked at the WIND file for the afflicted mapsets, and
>>> they seem perfectly normal. For example, the above error message is
>>> associated with the following WIND file:
>>>
>>>
>>> proj: 1
>>> zone: 36
>>> north: 3742844.70455
>>> south: 3309044.70455
>>> east: 944264.754065
>>> west: 560076.932184
>>> cols: 12806
>>> rows: 14460
>>> e-w resol: 30.0006108
>>> n-s resol: 30
>>> top: 1
>>> bottom: 0
>>> cols3: 12806
>>> rows3: 14460
>>> depths: 1
>>> e-w resol3: 30.0006108
>>> n-s resol3: 30
>>> t-b resol: 1
>>>
>>> Making a new mapset allows me to run "g.region" without any problems
>>> until I use the new zooming tools, and then the same problem occurs.
>>> Restarting GRASS initially allows for the maps to be displayed again,
>>> but after zooming a bit, or trying to run "g.region" again, the region
>>> eventually "breaks" again. What I specifically do not understand is why
>>> the error tells me to run "g.region" when doing so does nothing, and
>>> seems to even cause the error in the first place. Does anybody have any
>>> idea what the issue is here? I am using GRASS 6.3, compiled from the CVS
>>> source yesterday (08/15)... Any help would be greatly appreciated.
>>>
>>> Cheers,
>>>
>>> Isaac

--
Brad Douglas <rez touchofmadness com> KB8UYR
Address: 37.493,-121.924 / WGS84 National Map Corps #TNMC-3785