#5416 NORM Never A: sugar-control-panel: setting timezone fails with "SUGAR_PATH environment variable is not set"

Zarro Boogs per Child bugtracker at laptop.org
Sun Dec 9 19:01:26 EST 2007


#5416: sugar-control-panel: setting timezone fails with "SUGAR_PATH environment
variable is not set"
-------------------------+--------------------------------------------------
 Reporter:  HoboPrimate  |       Owner:  jg                               
     Type:  defect       |      Status:  new                              
 Priority:  normal       |   Milestone:  Never Assigned                   
Component:  distro       |     Version:  Development build as of this date
 Keywords:               |    Verified:  0                                
-------------------------+--------------------------------------------------
 In joyride 1393.

 I type "su -" in the terminal activity, then run:
 "sugar-control-panel -s timezone Europe/Lisbon"
 which gives this message:

 "
 Traceback (most recent call past):
   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.
 "

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



More information about the Bugs mailing list