#5013 HIGH Update.: Watch and Listen doesn't work with security enabled

Zarro Boogs per Child bugtracker at laptop.org
Tue Nov 27 06:20:31 EST 2007


#5013: Watch and Listen doesn't work with security enabled
---------------------+------------------------------------------------------
  Reporter:  AlexL   |       Owner:  marco              
      Type:  defect  |      Status:  new                
  Priority:  high    |   Milestone:  Update.1           
 Component:  sugar   |     Version:                     
Resolution:          |    Keywords:  rainbow-integration
  Verified:  0       |  
---------------------+------------------------------------------------------
Changes (by marco):

  * owner:  kreneskyp => marco
  * component:  helix-activity => sugar


Comment:

 The unicode string is the arabic for Journal apparently (according to
 translate.google.com, I don't know ar!).

 Python (and so rainbow) is choking when trying to set unicode env
 variables with sys.defaultencoding being ascii. Gtk changes
 sys.defaultencoding to utf-8, so we are not seeing this in sugar. I can
 think of two possible options:

  1. Do not use an environment variable to pass the bundle name around.
 It's quite silly anyway, being in-process communication, and it will have
 to be fixed at some point.
  2. Run our python with default encoding utf8. Since most of our code runs
 with utf8 encoding (because of import gtk), that would have the advantage
 to make it consistent.

 My feeling is that 2 is too risky right now, and since 1 is good to do
 anyway I think we should do 1.

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



More information about the Bugs mailing list