[GRASS-dev] [GRASS GIS] #1270: wingrass: Error in Attribute Table Manager

GRASS GIS trac at osgeo.org
Sun Mar 10 14:08:43 PDT 2013


#1270: wingrass: Error in Attribute Table Manager
-----------------------------------------------+----------------------------
 Reporter:  antonioall                         |       Owner:  grass-dev@…              
     Type:  defect                             |      Status:  new                      
 Priority:  blocker                            |   Milestone:  6.4.3                    
Component:  wxGUI                              |     Version:  svn-develbranch6         
 Keywords:  wingrass, attribute table manager  |    Platform:  MSWindows Vista          
      Cpu:  x86-32                             |  
-----------------------------------------------+----------------------------

Comment(by annakrat):

 Replying to [comment:24 annakrat]:
 > According to the python doc, NamedTemporaryFile is automatically deleted
 after closing, that's why it's not closed in the code. I suggest using
 [http://docs.python.org/2/library/tempfile.html#tempfile.mkstemp
 tempfile.mkstemp] and use this [http://www.logilab.org/blogentry/17873
 advice].

 Done in r55306 in release branch. I guess this problem affects all
 branches. Please test if it helped. I have no experience with temp files
 on Windows so maybe someone has better solution.

 Anna

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



More information about the grass-dev mailing list