[GRASS5] Re: [GRASS-CVS] markus: grass/src/imagery/i.ortho.photo/photo.rectify write.c,1.2,1.3

Markus Neteler neteler at itc.it
Fri Aug 23 09:59:18 EDT 2002


On Fri, Aug 23, 2002 at 03:49:46PM +0200, Bernhard Reiter wrote:
> Certainly there can be more reasons why writing wouldn't work.
> Like nfs down or wrong permission?

that's right.
 
> To help diagnosing this it might be helpful to give the filename
> in the error message where writing was attempted.
> I would replace the "(disk full?)" comment by
> ". You might want to check available disk space and write permissions."
submitted. thanks.

Markus
 
> 
> 
> On Fri, Aug 23, 2002 at 03:41:48PM +0200, grass at intevation.de wrote:
> > Update of /grassrepository/grass/src/imagery/i.ortho.photo/photo.rectify
> > In directory doto:/tmp/cvs-serv27714
> > 
> > Modified Files:
> > 	write.c 
> > Log Message:
> > made error message a bit more useful
> 
> > -           G_fatal_error("error while writing to temp file");
> > +           G_fatal_error("error while writing to temp file (disk full?)");
> 
> > -          G_fatal_error("error while writing to raster file");
> > +          G_fatal_error("error while writing to raster file (disk full?)");
> >            unlink(temp_name);



-- 
Markus Neteler

ITC-irst, Istituto per la Ricerca Scientifica e Tecnologica
     Project on Predictive Models for the Environment    
Via Sommarive, 18        -      38050 Povo (Trento), Italy
tel +39 0461 314 -520 (fax -591)          http://mpa.itc.it




More information about the grass-dev mailing list