[GRASSLIST:10590] Re: GRASS 6.1cvs gis.m error

Michael Barton michael.barton at asu.edu
Sun Feb 26 14:14:31 EST 2006


There is another, better alternative--to create files in the grass .tmp
folder. I'm working on this, but have found that it  is more complicated
than I had envisioned.

Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
Arizona State University
Tempe, AZ 85287-2402

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton



> From: "Ing.Peter Misovic" <peter.misovic at gmail.com>
> Date: Sun, 26 Feb 2006 20:02:42 +0100
> To: GRASSLIST <GRASSLIST at baylor.edu>
> Cc: Michael Barton <michael.barton at asu.edu>, Glynn Clements
> <glynn at gclements.plus.com>
> Subject: Re: [GRASSLIST:10572] GRASS 6.1cvs gis.m error
> 
> Yes, I understand the concept. It works fine now. I've started Grass
> from folder with limited write permissions.
> 
> I have question in regard of this issue. Is it problem to find out in
> script (code) from system WHO is starting script ? If it is not, the
> script could create temp (etc.) files directly into home directory of
> user who has started this script. Even if the sctipt is not starting
> from user's home directory.
> 
> 
> Peter
> 
> 
> 
> On 2/26/06, Glynn Clements <glynn at gclements.plus.com> wrote:
>> 
>> Ing.Peter Misovic wrote:
>> 
>>> I'd like to ask you for help with gis.m Grass manager. Manager is not
>>> starting properly 'cause it is crashing with following error :
>> 
>>> ERROR: PNG: couldn't open output file dispmon_1.ppm
>> 
>> The PNG driver is trying to save its files in the current directory.
>> If you don't have write permission on that directory, it will fail.
>> Similarly, if the file already exists but you don't have write
>> permission on it, it will fail.
>> 
>> ISTR that later versions of gis.m tell the PNG driver to put the files
>> in a temporary directory.
>> 
>> Either cd to a directory for which you have write permission, or
>> update to a more recent version of gis.m. In any event, you should do
>> the latter sooner rather than later, as gis.m is under active
>> development.
>> 
>> --
>> Glynn Clements <glynn at gclements.plus.com>
>> 




More information about the grass-user mailing list