#5819 NORM Update.: Can't set timezone with control panel with login shell (su -)

Zarro Boogs per Child bugtracker at laptop.org
Tue Jan 15 13:00:06 EST 2008


#5819: Can't set timezone with control panel with login shell (su -)
-----------------------------+----------------------------------------------
  Reporter:  kimquirk        |       Owner:  erikos  
      Type:  defect          |      Status:  reopened
  Priority:  normal          |   Milestone:  Update.1
 Component:  other-activity  |     Version:          
Resolution:                  |    Keywords:  jg      
  Verified:  0               |    Blocking:          
 Blockedby:                  |  
-----------------------------+----------------------------------------------
Changes (by chihyu):

  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 tested with joyride 1537, still failed.

  * Hit ctrl-alt-mesh
  * Hit Enter to login (as root)
  * Type {{{sudo sugar control-panel -s timezone America/New_York}}},
 returns the following error message:
  {{{
  File "/usr/bin/sugar-control-panel", line 26, in <module>
    sys.path.insert(0, env.get_shell_path())
  File "/usr/lib/python2.5/site-packages/sugar/env.py", line 90, in
 get_shell_path
    return _get_sugar_path('shell', path)
  File "/usr/lib/python2.5/site-packages/sugar/env.py", line 36, in
 _get_sugar_path
    raise RuntimeError("The SUGAR_PATH environment variable is not set.")
 RuntimeError: The SUGAR_PATH environment variable is not set.
 }}}
  * Type {{{sugar control-panel -s timezone America/New_York}}} returns the
 same message.

-- 
Ticket URL: <http://dev.laptop.org/ticket/5819#comment:4>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list