[GRASS-dev] [GRASS GIS] #2138: winGRASS6.4.svn - addon python script status?
GRASS GIS
trac at osgeo.org
Fri Apr 18 05:16:14 PDT 2014
#2138: winGRASS6.4.svn - addon python script status?
--------------------------+-------------------------------------------------
Reporter: hellik | Owner: martinl
Type: defect | Status: reopened
Priority: critical | Milestone: 6.4.4
Component: Addons | Version: svn-releasebranch64
Resolution: | Keywords: wingrass, addon, python
Platform: MSWindows 7 | Cpu: x86-64
--------------------------+-------------------------------------------------
Comment(by hellik):
Replying to [comment:22 martinl]:
>
> how you managed that? When I type to wxGUI console `r.basin`, press
Enter, fill all parameters and press Start button than the command is
launched correctly (so without .py extension)
very strange ...
{{{
System Info
GRASS Version: 6.4.4svn
GRASS SVN Revision: 59777
GDAL/OGR: 1.10.1
PROJ4: Rel. 4.8.0, 6 March 2012
Python: 2.7.4
wxPython: 2.8.12.1
Platform: Windows-Vista-6.0.6002-SP2 (OSGeo4W)
}}}
can test it later on on my win7-box
(1)
no addons in C:\Users\xxxx\AppData\Roaming\GRASS6
(2)
fetch and install addons => ok
addons are now in C:\Users\xxxx\AppData\Roaming\GRASS6 => ok
(3)
python addon script-related bat-files => ok
e.g.
{{{
@"%GRASS_PYTHON%" "%GRASS_ADDON_PATH%/r.basin.py" %*
}}}
(3)
wxGUI console `r.basin`, press Enter => r.basin-wxgui pops up => ok
(4)
fill all parameters and press Start button of r.basin-wxgui => r.basin-
wxgui command output
{{{
r.basin.py map=elevation at PERMANENT prefix=n easting=636654.791181
northing=218824.126649
C:\OSGeo4W\bin\python.exe: can't open file 'r.basin.py':
[Errno 2] No such file or directory
(Fri Apr 18 14:11:31 2014) Befehl ausgeführt (0 Sek)
}}}
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2138#comment:23>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list