[GRASS-dev] [GRASS GIS] #1158: g.mremove fails when used with wildcard in WinGRASS-6.4.0-1

GRASS GIS trac at osgeo.org
Tue Sep 14 10:05:05 EDT 2010


#1158: g.mremove fails when used with wildcard in WinGRASS-6.4.0-1
----------------------------------+-----------------------------------------
 Reporter:  lponti                |       Owner:  grass-dev@…              
     Type:  defect                |      Status:  new                      
 Priority:  normal                |   Milestone:  6.4.1                    
Component:  Vector                |     Version:  6.4.0                    
 Keywords:  g.mremove, wildcards  |    Platform:  MSWindows 7              
      Cpu:  x86-32                |  
----------------------------------+-----------------------------------------
 wxgui g.mremove called on vector with * wildcard does not work:


 {{{
 (Tue Sep 14 15:24:09 2010)
 g.mremove -f vect=map*
 Removing vector <mapBloomday_Olive_11set10_Avg>
 Unable to delete file
 'C:\cygwin\home\andy/latlong/luigi/vector/mapBloomday_Olive_11set10_Avg/hist'
 couldn't be removed
 <mapBloomday_Olive_11set10_Avg> nothing removed
 (Tue Sep 14 15:24:10 2010) Command finished (0 sec)
 }}}


 wxgui g.mremove called with full vector name works fine:


 {{{
 (Tue Sep 14 15:27:01 2010)
 g.mremove -f vect=mapBloomday_Olive_11set10_Avg
 Removing vector <mapBloomday_Olive_11set10_Avg>
 (Tue Sep 14 15:27:01 2010) Command finished (0 sec)
 }}}


 There was only that vector map starting with map* in current location.

 Deleting rasters with g.mremove works fine both ways.

 Trying same test with an old (May 29) WinGRASS-6.4.svn installed on the
 same machine;

 Wildcards work:


 {{{
 (Tue Sep 14 15:49:46 2010)
 g.mremove -f vect=map*
 Removing vector <mapBloomday_Olive_11set10_Avg>
 (Tue Sep 14 15:49:47 2010) Command finished (1 sec)

 }}}

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1158>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list