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

Carlos Dávila cdavilam at jemila.jazztel.es
Wed Jul 11 05:01:02 EDT 2007


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




More information about the grass-dev mailing list