[Bugs] #1876 UNSP: Failure to cleanup temporary files after filesystem full errors

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Tue Apr 27 09:24:14 EDT 2010


#1876: Failure to cleanup temporary files after filesystem full errors
------------------------------------------+---------------------------------
    Reporter:  bernie                     |          Owner:  tomeu                      
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  sugar                      |        Version:  0.84.x                     
    Severity:  Critical                   |       Keywords:  sugar-0.84 r?              
Distribution:  Unspecified                |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------

Comment(by dsd):

 Some of the other problems with unzipping (system unresponsive, no
 progress meter) can be solved by using Python's internal zip file classes
 to do the extraction, rather than calling unzip.

 The reason it isn't done this way at the moment (according to comments in
 the source) is that Pythons zip file classes don't provide parsing of the
 file attributes in order to apply the correct permissions to the extracted
 files, etc. However, the classes do provide raw access to the attribute
 values. So it would be possible (and not too hard) to add a bit of code
 that parses the attributes and applies them as appropriate.

 Once you've got that far, #1499 becomes possible, which is of large value
 in the field.

 (not objecting to the patches here, just followed a discussion on the
 mailing list which points to this ticket as a discussion point for solving
 problems of lack of responsiveness and progress info)

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/1876#comment:9>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list