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

Hamish hamish_nospam at yahoo.com
Wed Jul 11 04:45:23 EDT 2007


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




More information about the grass-dev mailing list