[GRASS-dev] [GRASS GIS] #1555: python-scripts in wingrass64svn
GRASS GIS
trac at osgeo.org
Sun Feb 10 01:17:24 PST 2013
#1555: python-scripts in wingrass64svn
--------------------------------------+-------------------------------------
Reporter: hellik | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 6.4.2
Component: Python | Version: 6.4.2 RCs
Keywords: wingrass, python scripts | Platform: MSWindows Vista
Cpu: x86-32 |
--------------------------------------+-------------------------------------
Comment(by hellik):
Replying to [ticket:1555 hellik]:
> ----
>
> '''case study (3)'''
>
> scripts installed by g.extension
>
> g.extension.py extension=r.basin svnurl=http://svn.osgeo.org/grass
/grass-addons/grass6
> Downloading precompiled GRASS Addons <r.basin>...
> Updating metadata file...
> Installation of <r.basin> successfully finished
>
> g.extension.py extension=r.ipso svnurl=http://svn.osgeo.org/grass/grass-
addons/grass6
> Downloading precompiled GRASS Addons <r.ipso>...
> Updating metadata file...
> Installation of <r.ipso> successfully finished
>
> g.extension.py extension=r.wf svnurl=http://svn.osgeo.org/grass/grass-
addons/grass6
> Downloading precompiled GRASS Addons <r.wf>...
> Updating metadata file...
> Installation of <r.wf> successfully finished
>
> the addons are installed:
>
>
> {{{
> C:\Users\syringia\AppData\Roaming\GRASS6\addons
>
> bin
> docs
> modules.xml
> r.ipso.py
> r.wf.py
> }}}
>
>
>
> {{{
> C:\Users\syringia\AppData\Roaming\GRASS6\addons\bin
>
> r.basin.py.bat
> r.ipso.py.bat
> r.wf.py.bat
> }}}
>
>
> the content of the bat-files:
>
>
> {{{
> @"%GRASS_SH%" "%GISBASE%/scripts/r.basin.py" %*
> @"%GRASS_SH%" "%GISBASE%/scripts/r.ipso.py" %*
> @"%GRASS_SH%" "%GISBASE%/scripts/r.wf.py" %*
> }}}
>
>
> ''(3)a'' => r.basin in the wxgui-command-line, a window pops up because
.py is an ankown extension and
> it's asked how to open
>
> ''(3)b'' => r.basin.py in the wxgui-command-line, again following error:
>
> C:\Program Files\GRASS 6.4.2svn\extrabin\python.exe: can't
> open file 'r.basin.py': [Errno 2] No such file or directory
>
>
> ----
>
>
> any ideas how the situation for python-script in wingrass642 can be
improved?
>
> so it seems the corresponding wrapper-bat-files should at least contain
> "%GRASS_PYTHON%" instead of "%GRASS_SH%"
still relevant...
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1555#comment:5>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list