[GRASS-stats] administration rights: unable to use the flag "overwrite" with spgrass6

Roger Bivand Roger.Bivand at nhh.no
Tue Mar 20 15:09:18 EDT 2012


On Tue, 20 Mar 2012, Alexandre Villers wrote:

> Good afternoon,
>
> Sorry, I forgot to mention that I was using GRASS 6.4.1 on Windows 7, not 
> GRASS 7...
> Best regards

OK. I don't have 6.4.1 but have 6.4.2 on Windows 7. Please provide an 
example using spearfish which illustrates the problem. I also need the 
version number of GDAL (printed when rgdal loads). I cannot reproduce your 
problem beyond seeing messages that (raster) files cannot be deleted, but 
which do not matter as the whole location/mapset/.tmp folder where the 
temporary files are stored is emptied when GRASS exits.

Roger

>
> Alex
>
>
> On 19/03/2012 17:26, Roger Bivand wrote:
>> On Mon, 19 Mar 2012, Alexandre Villers wrote:
>> 
>>> Dear list,
>>> 
>>> I am unable to use the "overwrite" flag (e.g. with v.in.ogr) when working 
>>> from within R with spgrass6 on a windows 7 x64bits machine (v.in.ogr.exe 
>>> is not allowed to delete the file). It is apparently an administrator 
>>> rights issue as it works fine when I specifiy gisDbase using a folder on 
>>> my external hard disk. The problem is that I am the administrator on this 
>>> computer... and that I wouldn't expect any error as the tempdir() function 
>>> creates folder in my personal folder in Users where I should have the 
>>> rights anyway.
>> 
>> I've now tried to install two GRASS 7 Windows binaries (19/3 and 12/3), and 
>> both are broken (no g.region.exe). If you can show me where a working GRASS 
>> 7 Windows binary can be found, I may look at this.
>> 
>> Roger
>> 
>>> 
>>> Has anyone experienced such issue with windows 7 ?
>>> Thanks in advance.
>>> 
>>> Alex
>>> 
>>> 
>>> R version 2.14.2 (2012-02-29)
>>> Platform: x86_64-pc-mingw32/x64 (64-bit)
>>> 
>>> locale:
>>> [1] LC_COLLATE=English_United Kingdom.1252  LC_CTYPE=English_United 
>>> Kingdom.1252    LC_MONETARY=English_United Kingdom.1252 LC_NUMERIC=C
>>> [5] LC_TIME=English_United Kingdom.1252
>>> 
>>> attached base packages:
>>> [1] stats     graphics  grDevices utils     datasets  methods   base
>>> 
>>> other attached packages:
>>> [1] spgrass6_0.7-9 XML_3.9-4.1    sp_0.9-97
>>> 
>>> loaded via a namespace (and not attached):
>>> [1] grid_2.14.2    lattice_0.20-0
>>> _______________________________________________
>>> grass-stats mailing list
>>> grass-stats at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/grass-stats
>>> 
>> 
>
>

-- 
Roger Bivand
Department of Economics, NHH Norwegian School of Economics,
Helleveien 30, N-5045 Bergen, Norway.
voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no



More information about the grass-stats mailing list