[GRASS-dev] Re: [GRASS GIS] #1303: v.in.ogr leaves TMP file after import

GRASS GIS trac at osgeo.org
Sun Apr 17 19:05:14 EDT 2011


#1303: v.in.ogr leaves TMP file after import
--------------------------------+-------------------------------------------
 Reporter:  marisn              |       Owner:  grass-dev@…              
     Type:  defect              |      Status:  new                      
 Priority:  minor               |   Milestone:  6.4.1                    
Component:  Vector              |     Version:  6.4.1 RCs                
 Keywords:  wingrass, v.in.ogr  |    Platform:  MSWindows Vista          
      Cpu:  Unspecified         |  
--------------------------------+-------------------------------------------

Comment(by hamish):

 Replying to [comment:2 neteler]:
 {{{
 > Unable to delete file
 'C:\Users\tests\Documents\GIS_DataBase/Latvija/SRTM/vector/horizontales_tmp/coor'
 }}}
 >
 > ... this problem looks like the elsewhere fixed \ versus / confusion.

 can we isolate what bit of code is creating that error message? For some
 functions the mixed slashes seem to work ok, for others not. It would be
 good to know exactly which unlink() etc is safe or not so we can do a bulk
 audit, and I'm not a fan of 'fixing' stuff which isn't actually broken as
 it just clutters the code.

 thanks,
 Hamish

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/1303#comment:3>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list