[Bugs] #1547 UNSP: failed activity still shown in home view, Traceback on mouseover

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Wed Nov 11 04:59:12 EST 2009


#1547: failed activity still shown in home view, Traceback on mouseover
------------------------------------------+---------------------------------
    Reporter:  sascha_silbe               |          Owner:  tomeu                      
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  sugar                      |        Version:  Git as of bugdate          
    Severity:  Unspecified                |       Keywords:                             
Distribution:  Unspecified                |   Status_field:  New                        
------------------------------------------+---------------------------------
 After an activity failed to launch, its icon is still shown under the XO
 icon in the home view. Moving the mouse over it causes the following
 Traceback:

 {{{
 Traceback (most recent call last):
   File "/home/sascha.silbe/sugar-jhbuild/install/lib/python2.5/site-
 packages/sugar/graphics/palettewindow.py", line 810, in
 __motion_notify_event_cb
     self.notify_mouse_enter()
   File "/home/sascha.silbe/sugar-jhbuild/install/lib/python2.5/site-
 packages/sugar/graphics/palettewindow.py", line 630, in notify_mouse_enter
     self._ensure_palette_exists()
   File "/home/sascha.silbe/sugar-jhbuild/install/lib/python2.5/site-
 packages/sugar/graphics/palettewindow.py", line 625, in
 _ensure_palette_exists
     palette = self.parent.create_palette()
   File "/home/sascha.silbe/sugar-jhbuild/install/lib/python2.5/site-
 packages/jarabe/desktop/favoritesview.py", line 642, in create_palette
     if self._home_activity.is_journal():
   File "/home/sascha.silbe/sugar-jhbuild/install/lib/python2.5/site-
 packages/jarabe/model/shell.py", line 192, in is_journal
     return self.get_type() == 'org.laptop.JournalActivity'
   File "/home/sascha.silbe/sugar-jhbuild/install/lib/python2.5/site-
 packages/jarabe/model/shell.py", line 188, in get_type
     return wm.get_bundle_id(self._window)
   File "/home/sascha.silbe/sugar-jhbuild/install/lib/python2.5/site-
 packages/sugar/wm.py", line 62, in get_bundle_id
     prop_info = _property_get_trapped(window, '_SUGAR_BUNDLE_ID',
 'STRING')
   File "/home/sascha.silbe/sugar-jhbuild/install/lib/python2.5/site-
 packages/sugar/wm.py", line 28, in _property_get_trapped
     prop_info = window.property_get(prop, prop_type)
 AttributeError: 'NoneType' object has no attribute 'property_get'
 }}}

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


More information about the Bugs mailing list