[Bugs] #2149 UNSP: migration.migrate_from_0 fails with file not found error

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Wed Aug 25 06:25:00 EDT 2010


#2149: migration.migrate_from_0 fails with file not found error
------------------------------------------+---------------------------------
    Reporter:  carrott                    |          Owner:  alsroot                    
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  sugar-datastore            |        Version:  0.88.x                     
    Severity:  Critical                   |       Keywords:  migration dextrose r!      
Distribution:  Fedora                     |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------

Comment(by carrott):

 > I can't reproduce this using the test suite (based on sugar-datastore
 0.89) with any of the data stores you gave me and the datastore.log
 attached to this ticket doesn't show any error either

 Sorry, the datastore.log is from os851 which seems to migrate
 successfully. I included it because there were some other strange errors.

 I'll look at why you can't reproduce the missing directory error tomorrow
 and post a proper bug report with steps to reproduce -- this one was an
 "almost no internet special" report. Sorry. I did have a fever (from lack
 of internet no doubt) while coding the fix, but I reproduced it many times
 while fixing it, so I'm sure it's in there somewhere.

 >>Should there be additionl migration code from version 1 to version 5?

 >No, we always migrate from some old version to the very latest version.
 There are no intermediate steps.

 So if you have one migration method that migrates from the oldest to the
 newest, what happens when you encounter an intermediate version, one that
 isn't the oldest but isn't the newest? Do you still run the same migration
 code? I was expecting some sort of chain of methods 0->1 followed by 1->2
 and 2->3, or am I just not looking in the right place?

 >Thanks for the attached data store! May we redistribute it (as part of
 the test suite) under the terms of GPL version 2 and later? When
 attributing you (in the git log), should I use your real name + email
 address or just your user name (carrott)?

 Sure, real name + email is ok.

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


More information about the Bugs mailing list