Opened 14 years ago

Closed 10 years ago

#1547 closed defect (duplicate)

failed activity still shown in home view, Traceback on mouseover

Reported by: sascha_silbe Owned by: tomeu
Priority: Unspecified by Maintainer Milestone: Unspecified
Component: Sugar Version: Git as of bugdate
Severity: Unspecified Keywords:
Cc: Distribution/OS: Unspecified
Bug Status: Unconfirmed

Description

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'

Change History (5)

comment:1 Changed 14 years ago by RafaelOrtiz

  • Milestone changed from Unspecified by Release Team to 0.88

comment:2 Changed 14 years ago by sascha_silbe

Activity is still shown, but traceback no longer occurs. Might get fixed by #1447.

comment:3 Changed 11 years ago by dnarvaez

  • Milestone changed from 0.88 to Unspecified

comment:4 Changed 11 years ago by dnarvaez

  • Bug Status changed from New to Unconfirmed

comment:5 Changed 10 years ago by dnarvaez

  • Resolution set to duplicate
  • Status changed from new to closed

Dup of #4205

Note: See TracTickets for help on using tickets.