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

GRASS GIS trac at osgeo.org
Fri Apr 18 00:53:37 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                 
--------------------------+-------------------------------------------------
Changes (by hellik):

  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 Replying to [comment:20 hellik]:
 > Replying to [comment:18 hellik]:
 > > for the record I've closed #1768 as duplication of #1768. will close
 this ticket after testing the upcoming nightly.
 >
 > tested with
 >
 > {{{
 > (Fri Apr 18 09:37:14 2014) Befehl ausgeführt (2 Sek)
 > 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)
 > }}}
 >
 > the content of the related bat-file
 >
 > {{{
 > @"%GRASS_PYTHON%" "%GRASS_ADDON_PATH%/r.basin.py" %*
 > }}}
 >
 > closing ticket

 e.g. r.basin start by typing r.basin in the wxgui-commandline, then enter
 all parameters und press the start button in the
 r.basin-wxgui:


 {{{
 r.basin.py --verbose map=elevation at PERMANENT prefix=l
 easting=636654.791181 northing=218824.126649 threshold=20
 C:\OSGeo4W\bin\python.exe: can't open file 'r.basin.py':
 [Errno 2] No such file or directory
 }}}


 but without the the py-extension, the addon script starts


 {{{
 r.basin --verbose map=elevation at PERMANENT prefix=l easting=636654.791181
 northing=218824.126649 threshold=20
 ABSCHNITT 1a (von 4): Initiiere den Speicher.
 ABSCHNITT 1b (of 4): Ermittle den Fluß aus der Karte heraus.
 ABSCHNITT 2: A * Suche.
 }}}


 any idea?

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



More information about the grass-dev mailing list