#8438 NORM 8.2.0 (: control panel fails when run with python -OO

Zarro Boogs per Child bugtracker at laptop.org
Fri Sep 12 00:31:14 EDT 2008


#8438: control panel fails when run with python -OO
-------------------------------------+--------------------------------------
 Reporter:  cscott                   |         Owner:  marco                            
     Type:  defect                   |        Status:  new                              
 Priority:  normal                   |     Milestone:  8.2.0 (was Update.2)             
Component:  sugar                    |       Version:  Development build as of this date
 Keywords:  blocks?:8.2.0 csafor8.2  |   Next_action:  review                           
 Verified:  0                        |     Blockedby:                                   
 Blocking:                           |  
-------------------------------------+--------------------------------------
 There are two places in control panel code where we manipulate __doc__
 strings directly with '+='.  When python is run with -OO, the __doc__
 strings are None, and so += of None and a str fails.

 I grepped through sugar and sugar-toolkit looking for other cases where we
 directly manipulate __doc__ and was unable to find more.

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


More information about the Bugs mailing list