Opened 3 years ago

Closed 3 years ago

#4959 closed defect (fixed)

Mesh view buddy palettes don't show if no activity is open

Reported by: SAMdroid Owned by:
Priority: Normal Milestone: Unspecified
Component: Sugar Version: Git as of bugdate
Severity: Major Keywords:
Cc: Distribution/OS: Fedora
Bug Status: Unconfirmed

Description

Steps:

  1. Open sugar
  2. Goto mesh view (F1)
  3. Mouse over and right click on a buddy icon (but not yourself)

Expected:

Palette shows

Actual:

Palette does not show. Log says:

Traceback (most recent call last):
  File "/home/saam/sugar-build/build/out/install/lib/python2.7/site-packages/sugar3/graphics/palettewindow.py", line 1356, in __enter_notify_event_cb
    self.notify_mouse_enter()
  File "/home/saam/sugar-build/build/out/install/lib/python2.7/site-packages/sugar3/graphics/palettewindow.py", line 1011, in notify_mouse_enter
    self._ensure_palette_exists()
  File "/home/saam/sugar-build/build/out/install/lib/python2.7/site-packages/sugar3/graphics/palettewindow.py", line 1006, in _ensure_palette_exists
    palette = self.parent.create_palette()
  File "/home/saam/sugar-build/build/out/install/lib/python2.7/site-packages/jarabe/view/buddyicon.py", line 43, in create_palette
    palette = BuddyMenu(self._buddy)
  File "/home/saam/sugar-build/build/out/install/lib/python2.7/site-packages/jarabe/view/buddymenu.py", line 63, in __init__
    self._add_buddy_items()
  File "/home/saam/sugar-build/build/out/install/lib/python2.7/site-packages/jarabe/view/buddymenu.py", line 90, in _add_buddy_items
    self._update_invite_menu(activity)
  File "/home/saam/sugar-build/build/out/install/lib/python2.7/site-packages/jarabe/view/buddymenu.py", line 179, in _update_invite_menu
    bundle_activity = ActivityBundle(activity.get_bundle_path())
  File "/home/saam/sugar-build/build/out/install/lib/python2.7/site-packages/sugar3/bundle/activitybundle.py", line 103, in __init__
    Bundle.__init__(self, path)
  File "/home/saam/sugar-build/build/out/install/lib/python2.7/site-packages/sugar3/bundle/bundle.py", line 72, in __init__
    self._installation_time = os.stat(path).st_mtime
TypeError: coercing to Unicode: need string or buffer, NoneType found

Change History (1)

comment:1 Changed 3 years ago by sam

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.