#12910 NORM Not Tri: Blank ~/.i18n

Zarro Boogs per Child bugtracker at laptop.org
Mon Jul 20 01:11:11 EDT 2015

#12910: Blank ~/.i18n
            Reporter:  jvonau      |          Owner:
                Type:  defect      |         Status:  new
            Priority:  normal      |      Milestone:  Not Triaged
           Component:  olpc-utils  |        Version:  not specified
          Resolution:              |       Keywords:
          Blocked By:              |       Blocking:
Deployments affected:              |  Action Needed:  never set
            Verified:  0           |

Comment (by Quozl):

 * in testing here, a zero size .i18n doesn't occur,

 * ''olpc-configure'' is responsible for initial write of ~/.i18n,
 * ''olpc-configure'' uses manufacturing tags as input,
 * ''olpc-configure'' will not rewrite the file if it is present,

 * forcing the file to zero size does cause control panel symptom as you
 describe, which is a bug in Sugar;
 Traceback (most recent call last):
   File "/usr/lib/python2.7/site-packages/jarabe/controlpanel/gui.py", line
     in __select_option_cb
   File "/usr/lib/python2.7/site-packages/jarabe/controlpanel/gui.py", line
     in show_section_view
   File "/usr/share/sugar/extensions/cpsection/language/view.py", line 63,
     in __init__
     self._selected_locales = self._model.get_languages()
   File "/usr/share/sugar/extensions/cpsection/language/model.py", line
     in get_languages
     return [lang]
 UnboundLocalError: local variable 'lang' referenced before assignment
 * regenerating .i18n from tags can be done with:
  rm -f ~olpc/.i18n ~olpc/.olpc-configured
  sudo olpc-configure
 * is there a possibility you may have forced a power down during first

Ticket URL: <http://dev.laptop.org/ticket/12910#comment:1>
One Laptop per Child <http://one.laptop.org/>
One Laptop per Child bug tracking system

More information about the Bugs mailing list