[Bugs] #4450 sugar UNSP: Sugar needs to be able to launch applications when ~/.i18n missing or corrupt

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Thu Feb 28 15:38:04 EST 2013


#4450: Sugar needs to be able to launch applications when ~/.i18n missing or
corrupt
------------------------------------------+---------------------------------
    Reporter:  greenfeld                  |          Owner:  erikos                     
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  sugar                      |        Version:  0.98.x                     
    Severity:  Major                      |       Keywords:                             
Distribution:  OLPC                       |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------
 Sugar needs to be able to launch applications when ~/.i18n (with the LANG
 variable) is missing or corrupt.

 Reuben updated a XO-1.5 from OLPC 11.3.1 to 13.1.0 os30 where the ~/.i18n
 file had a length of zero.  After upgrading he was not able to launch any
 applications.

 The traceback seen was:
 {{{
 Traceback (most recent call last):
   File "/usr/bin/sugar-activity", line 160, in <module>
     main()
   File "/usr/bin/sugar-activity", line 109, in main
     locale_path = i18n.get_locale_path(bundle.get_bundle_id())
   File "/usr/lib/python2.7/site-packages/sugar3/activity/i18n.py", line
 142, in get_locale_path
     bundle_id + '.mo')
   File "/usr/lib/python2.7/posixpath.py", line 66, in join
     if b.startswith('/'):
 AttributeError: 'NoneType' object has no attribute 'startswith'
 Exited with status 1, pid 866 data (None, <open file '<fdopen>', mode 'w'
 at 0x9b14758>, dbus.ByteArray('9780179d63598547ed68c0f9e3fa2275ac2ce898',
 variant_level=1))
 }}}

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/4450>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list