[Bugs] #979 UNSP: Browse activity does not start if LANG=C

SugarLabs Bugs bugtracker-noreply at sugarlabs.org
Mon Jun 22 06:45:43 EDT 2009


#979: Browse activity does not start if LANG=C
------------------------------------------+---------------------------------
    Reporter:  cyberorg                   |          Owner:  erikos                     
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  Browse                     |        Version:  Unspecified                
    Severity:  Unspecified                |       Keywords:                             
Distribution:  openSUSE                   |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------
 Works fine if LANG=en_US.UTF-8 or something else like that.

 tail -f /home/linux/.sugar/default/logs/org.laptop.WebActivity-1.log
     main.main()
   File "/usr/lib/python2.6/site-packages/sugar/activity/main.py", line
 140, in main
     create_activity_instance(activity_constructor, activity_handle)
   File "/usr/lib/python2.6/site-packages/sugar/activity/main.py", line 34,
 in create_activity_instance
     activity = constructor(handle)
   File "/usr/share/sugar/activities/Browse.activity/webactivity.py", line
 190, in __init__
     _set_accept_languages()
   File "/usr/share/sugar/activities/Browse.activity/webactivity.py", line
 146, in _set_accept_languages
     and lang[2] != "_":
 IndexError: string index out of range

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


More information about the Bugs mailing list