[Bugs] #3471 UNSP: Activity.metadata is None

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Wed Apr 18 19:36:17 EDT 2012


#3471: Activity.metadata is None
------------------------------------------+---------------------------------
    Reporter:  AlanJAS                    |          Owner:             
        Type:  defect                     |         Status:  new        
    Priority:  Unspecified by Maintainer  |      Milestone:  0.90       
   Component:  sugar                      |        Version:  0.90.x     
    Severity:  Unspecified                |       Keywords:             
Distribution:  Ubuntu                     |   Status_field:  Unconfirmed
------------------------------------------+---------------------------------
 When create a ActivityToolbarButton for an activity, in some cases,
 appears this:

 File "/usr/lib/python2.7/dist-packages/sugar/activity/widgets.py", line
 37, in _create_activity_icon
     if metadata.get('icon-color', ''):
 AttributeError: 'NoneType' object has no attribute 'get'

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/3471>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list