[Bugs] #1636 UNSP: Journal Entry storage / sharing via USB stick doesn't work

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Wed Dec 30 11:54:06 EST 2009


#1636: Journal Entry storage / sharing via USB stick doesn't work
------------------------------------------+---------------------------------
    Reporter:  martin.langhoff            |          Owner:  alsroot    
        Type:  defect                     |         Status:  new        
    Priority:  Unspecified by Maintainer  |      Milestone:  0.84       
   Component:  journal                    |        Version:  0.84.x     
    Severity:  Unspecified                |       Keywords:  r?         
Distribution:  Unspecified                |   Status_field:  Unconfirmed
------------------------------------------+---------------------------------

Comment(by martin.langhoff):

 Uploaded an updated version of the patch. Working on top of Aleksey's
 patch, it adds

  - Fix to _get_unique_file_name() so that it increments one last item,
 rather than appending increasing numbers.

  - The write() method differentiates between metadata updates (done
 inplace), renames (now done in a failsafe manner) and new-file-on-extdist
 (from DS).

  - Metadata is now written before dealing with the actual data file - this
 simplifies the flow a bit, and allows the failsafe renames.

 All my changes to the patch are in model.py -

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


More information about the Bugs mailing list