[GRASS-dev] [GRASS GIS] #1038: v.surf.rst fails in Windows 7 with "Access is denied"

#1038: v.surf.rst fails in Windows 7 with "Access is denied"
-------------------------+--------------------------------------------------
Reporter: marisn | Owner: grass-dev@lists.osgeo.org
     Type: defect | Status: new
Priority: critical | Milestone: 6.4.0
Component: Vector | Version: 6.4.0 RCs
Keywords: | Platform: MSWindows 7
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
Today one of my students got hit by Windows 7 permission issue. (IIRC it
also applies to XP/Vista)

Launching v.surf.rst from WxGUI fails with "Access is denied".

Problem was solved by allowing User to modify "C:\Program Files\GRASS..."
folder and it's contents. Still it's not an option, as User might not have
rights to change access restrictions in "Program Files" also it's a BAD
design to write anything in "Program Files" during normal usage.

WinGRASS 6.4.0 RC6 on Windows 7

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1038&gt;
GRASS GIS <http://grass.osgeo.org>

#1038: v.surf.rst fails in Windows 7 with "Access is denied"
--------------------------+-------------------------------------------------
  Reporter: marisn | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: critical | Milestone: 6.4.0
Component: Vector | Version: 6.4.0 RCs
Resolution: | Keywords: v.surf.rst, wingrass
  Platform: MSWindows 7 | Cpu: Unspecified
--------------------------+-------------------------------------------------
Changes (by hamish):

  * keywords: => v.surf.rst, wingrass

Comment:

Hi,

I've no way of testing on XP right now. Can anyone reproduce this &
provide debugging output?

Hamish

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1038#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#1038: v.surf.rst fails in Windows 7 with "Access is denied"
--------------------------+-------------------------------------------------
  Reporter: marisn | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: critical | Milestone: 6.4.0
Component: Vector | Version: 6.4.0 RCs
Resolution: | Keywords: v.surf.rst, wingrass
  Platform: MSWindows 7 | Cpu: Unspecified
--------------------------+-------------------------------------------------
Comment (by hellik):

Replying to [comment:2 hamish]:
> Hi,
>
> I've no way of testing on XP right now. Can anyone reproduce this &
provide debugging output?
>
>
> Hamish

taken from the dev-ml (http://lists.osgeo.org/pipermail/grass-dev/2010-
May/050270.html)

{{{
> >
>>
>> [*] ... can someone test if 6.4's v.surf.rst works on XP/Vista/7?
>
>we have been running it all semester on XP/Vista/7 without any
complaints,
>but I would have to specifically
>check who actually ran it with GRASS installed under Program Files.

tested with the nightly-build WinGRASS-6.4.SVN-r42075-1-Setup.exe
(installed in c:\Program Files\ in WinVista32) and the example from the
manual:

Spearfish example (we simulate randomly distributed elevation measures):

g.region rast=elevation.10m -p
# random elevation extraction
r.random elevation.10m vector_output=elevrand n=200
v.info -c elevrand
v.db.select elevrand

# interpolation based on all points
v.surf.rst elevrand zcol=value elev=elev_full
r.colors elev_full rast=elevation.10m
d.rast elev_full
d.vect elevrand

# interpolation based on subset of points (only those over 1300m/asl)
v.surf.rst elevrand zcol=value elev=elev_partial where="value > 1300"
r.colors elev_partial rast=elevation.10m
d.rast elev_partial
d.vect elevrand where="value > 1300"

v.surf.rst is working.
}}}

tried with the spearfish-example in the wx-gui-command-line and also the
wx-gui for v.surf.rst in a WinVista32-box (Grass64 installed in the
default c:\Program Files\ without any modifications).

v.surf.rst is working in both ways.

best regards
Helmut

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1038#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>

#1038: v.surf.rst fails in Windows 7 with "Access is denied"
----------------------------------+-----------------------------------------
Reporter: marisn | Owner: grass-dev@…
     Type: defect | Status: new
Priority: critical | Milestone: 6.4.0
Component: Vector | Version: 6.4.0 RCs
Keywords: v.surf.rst, wingrass | Platform: MSWindows 7
      Cpu: Unspecified |
----------------------------------+-----------------------------------------

Comment(by neteler):

Seems to be solved?

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1038#comment:4&gt;
GRASS GIS <http://grass.osgeo.org>

#1038: v.surf.rst fails in Windows 7 with "Access is denied"
--------------------------+-------------------------------------------------
  Reporter: marisn | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: critical | Milestone: 6.4.0
Component: Vector | Version: 6.4.0 RCs
Resolution: worksforme | Keywords: v.surf.rst, wingrass
  Platform: MSWindows 7 | Cpu: Unspecified
--------------------------+-------------------------------------------------
Changes (by marisn):

  * status: new => closed
  * resolution: => worksforme

Comment:

I have no access to Windows 7, as problem was on one of my students
laptops. Tested on Vista with account without write permission to GISBASE
and everything was working fine.

Closing and let's hope for the best.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1038#comment:5&gt;
GRASS GIS <http://grass.osgeo.org>