[GRASSLIST:5187] Re: newbie question

Glynn Clements glynn.clements at virgin.net
Sun Dec 8 18:42:12 EST 2002


Andy Fraser wrote:

> i've installed the latest cygwin version on an XP pro sp1 box.
> 
> when running some of the demo data i'm finging theat i can create temp 
> files with r.patch but when i go to display, i get the following error
> 
> WARNING:Fail of initial read of compressed file [k059 in andy]
> mail: not found
> WARNING: unable to open raster map [k059 in andy]
> mail:not found
> ERROR: Not able to open cellfile for [k059]
> mail:not found
> 
> i've looked in the andy directory and it does appear to exist.  large file 
> in the cell directory k059 in the cats directory etc.
> 
> i'm stumped.
> permission's problem in cygwin?

It isn't due to permissions. The above error occurs when reading from
a file returns insufficient data (premature end-of-file) or incorrect
data.

The first step is to ensure that the Cygwin filesystem on which the
data resides is mounted in "binary" mode, and not in "text" mode.

If the filesystem was mounted in "text" mode, Cygwin will attempt to
perform LF/CRLF translation, which will corrupt the files; in this
case, you would need to start again, as any files which had been
generated would already be corrupt.

-- 
Glynn Clements <glynn.clements at virgin.net>




More information about the grass-user mailing list