[Trac #1157] Sugar bundlebuilder fails if locale directory is missing
    Zarro Boogs per Child 
    bugtracker at laptop.org
       
    Sat Mar 24 22:57:00 EDT 2007
    
    
  
#1157: Sugar bundlebuilder fails if locale directory is missing
--------------------+-------------------------------------------------------
 Reporter:  leejc   |       Owner:  dcbw     
     Type:  defect  |      Status:  new      
 Priority:  normal  |   Milestone:  Untriaged
Component:  sugar   |    Keywords:           
--------------------+-------------------------------------------------------
 The current version of the Sugar bundlebuilder fails if the activity is
 missing a "locale" directory.  The error occurs on line 157 of
 sugar/sugar/activity/bundlebuilder.py:
     for langdir in os.listdir('locale'):
 The error reads:
     OSError: [Errno 2] No such file or directory: 'locale'
 The error can be resolved by adding a line just before it:
     if os.path.exists('locale'):
 and indenting the "for" block.  I'm not sure if this qualifies as a defect
 or an enhancement, or if the behavior is intentional, but most activities
 don't conform to the new spec yet.
-- 
Ticket URL: <http://dev.laptop.org/ticket/1157>
One Laptop Per Child <http://laptop.org/>
    
    
More information about the Bugs
mailing list