[GRASS-dev] [GRASS GIS] #2138: winGRASS6.4.svn - addon python script status?

GRASS GIS trac at osgeo.org
Fri Feb 28 02:24:26 PST 2014


#2138: winGRASS6.4.svn - addon python script status?
-------------------------------------+--------------------------------------
 Reporter:  hellik                   |       Owner:  grass-dev@…              
     Type:  defect                   |      Status:  new                      
 Priority:  blocker                  |   Milestone:  6.4.4                    
Component:  Addons                   |     Version:  svn-releasebranch64      
 Keywords:  wingrass, addon, python  |    Platform:  MSWindows 7              
      Cpu:  x86-64                   |  
-------------------------------------+--------------------------------------

Comment(by hellik):

 sorry for the late response, I'm travelling ....

 Replying to [comment:9 neteler]:
 > Replying to [comment:8 neteler]:
 > > OK, backported in r58680. So to be tested in (win)GRASS 6.4.svn.
 >
 > Does it now work in 6.4.svn?

 just a quick test

 {{{
 System Info
 GRASS Version: 6.4.4svn
 GRASS SVN Revision: 59095
 GDAL/OGR: 1.10.1
 PROJ4: Rel. 4.8.0, 6 March 2012
 Python: 2.7.4
 wxPython: 2.8.12.1
 Platform: Windows-7-6.1.7601-SP1 (OSGeo4W)
 }}}

 {{{
 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
 (Fri Feb 28 11:13:50 2014) Befehl ausgeführt (14 Sek)
 }}}

 r.basin.bat

 {{{
 @"%GRASS_PYTHON%" "%GISBASE%/r.basin.py" %*
 }}}

 see http://trac.osgeo.org/grass/ticket/2138?replyto=9#comment:4

 there is still '''%GISBASE%''' instead of '''%GRASS_ADDON_PATH%''' in the
 related bat-file, altough it should be replaced

 see
 [http://trac.osgeo.org/grass/browser/grass/branches/releasebranch_6_4/gui/scripts/g.extension.py?rev=58680#L637
 line 637 of g.extension.py]

 {{{
 line = line.replace("%GISBSASE%", options['prefix'])
 }}}

 any idea?

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/2138#comment:10>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list