[GRASS-dev] Possible error in r.flow error message

I have tested r.flow looking for messages to standardize. I gave a non existing input elevation raster map, so I waited "Cannot find file %s" but error message is "out of memory". Is it the right behaviour? Does it check memory before looking for the input map? If so, why doesn't it get memory?
I thank any help.
Carlos

On Tue, 2007-07-10 at 17:47 +0200, Carlos Dávila wrote:

I have tested r.flow looking for messages to standardize. I gave a non
existing input elevation raster map, so I waited "Cannot find file %s"
but error message is "out of memory". Is it the right behaviour? Does it
check memory before looking for the input map? If so, why doesn't it get
memory?

that is certainly not a right behavior - let me look at it, Helena

I thank any help.
Carlos

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

On Tue, 2007-07-10 at 17:47 +0200, Carlos Dávila wrote:

I have tested r.flow looking for messages to standardize. I gave a non
existing input elevation raster map, so I waited "Cannot find file %s"
but error message is "out of memory". Is it the right behaviour? Does it
check memory before looking for the input map? If so, why doesn't it get
memory?

are you sure the file that you gave it was indeed non-existing?

I tried it and it gave me the right message:

GRASS 6.3.cvs > r.flow elevin=junk dsout=dsdtest
Reading input files: elevation
ERROR: Cannot find file junk

Helena

I thank any help.
Carlos

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

Helena Mitasova escribió:

On Tue, 2007-07-10 at 17:47 +0200, Carlos Dávila wrote:
  

I have tested r.flow looking for messages to standardize. I gave a non existing input elevation raster map, so I waited "Cannot find file %s" but error message is "out of memory". Is it the right behaviour? Does it check memory before looking for the input map? If so, why doesn't it get memory?
    
are you sure the file that you gave it was indeed non-existing?

I tried it and it gave me the right message:

GRASS 6.3.cvs > r.flow elevin=junk dsout=dsdtest
Reading input files: elevation
ERROR: Cannot find file junk

Helena
  

Yes, sure.
GRASS 6.3.cvs (Extremadura_h29):~ > r.flow elevin=junk dsout=dsdtest
ERROR: G_calloc: sin memoria (out of memory)
May be I need to make distclean, but I have no time now to recompile. Send result later.

Carlos:

>> I have tested r.flow looking for messages to standardize. I gave a
>> non existing input elevation raster map, so I waited "Cannot find
>> file %s" but error message is "out of memory". Is it the right
>> behaviour? Does it check memory before looking for the input map?
>> If so, why doesn't it get memory?
>
> are you sure the file that you gave it was indeed non-existing?
>
> I tried it and it gave me the right message:
>
> GRASS 6.3.cvs > r.flow elevin=junk dsout=dsdtest
> Reading input files: elevation
> ERROR: Cannot find file junk
  
Yes, sure.
GRASS 6.3.cvs (Extremadura_h29):~ > r.flow elevin=junk dsout=dsdtest
ERROR: G_calloc: sin memoria (out of memory)
May be I need to make distclean, but I have no time now to recompile.
Send result later.

I too get:
Reading input files: elevation
ERROR: Cannot find file junk

maybe some hints if run with DEBUG=5 ?

Hamish

Carlos Dávila escribió:

Helena Mitasova escribió:

On Tue, 2007-07-10 at 17:47 +0200, Carlos Dávila wrote:

I have tested r.flow looking for messages to standardize. I gave a non existing input elevation raster map, so I waited "Cannot find file %s" but error message is "out of memory". Is it the right behaviour? Does it check memory before looking for the input map? If so, why doesn't it get memory?
    
are you sure the file that you gave it was indeed non-existing?

I tried it and it gave me the right message:

GRASS 6.3.cvs > r.flow elevin=junk dsout=dsdtest
Reading input files: elevation
ERROR: Cannot find file junk

Helena
  

Yes, sure.
GRASS 6.3.cvs (Extremadura_h29):~ > r.flow elevin=junk dsout=dsdtest
ERROR: G_calloc: sin memoria (out of memory)
May be I need to make distclean, but I have no time now to recompile. Send result later.

Still the same problem after make distclean and cvs update.

Hamish escribió:

Carlos:
  

I have tested r.flow looking for messages to standardize. I gave a
non existing input elevation raster map, so I waited "Cannot find
file %s" but error message is "out of memory". Is it the right
behaviour? Does it check memory before looking for the input map?
If so, why doesn't it get memory?
        

are you sure the file that you gave it was indeed non-existing?

I tried it and it gave me the right message:

GRASS 6.3.cvs > r.flow elevin=junk dsout=dsdtest
Reading input files: elevation
ERROR: Cannot find file junk
      

  Yes, sure.
GRASS 6.3.cvs (Extremadura_h29):~ > r.flow elevin=junk dsout=dsdtest
ERROR: G_calloc: sin memoria (out of memory)
May be I need to make distclean, but I have no time now to recompile. Send result later.
    
I too get:
Reading input files: elevation
ERROR: Cannot find file junk

maybe some hints if run with DEBUG=5 ?
  

Just the same result:
GRASS 6.3.cvs (Extremadura_h29):~ > DEBUG=5
GRASS 6.3.cvs (Extremadura_h29):~ > r.flow elevin=junk dsout=dsdtest
ERROR: G_calloc: sin memoria