[Bugs] #4959 Sugar NORM: Mesh view buddy palettes don't show if no activity is open

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Wed Apr 20 18:12:09 EDT 2016


#4959: Mesh view buddy palettes don't show if no activity is open
----------------------------+--------------------------------
       Reporter:  SAMdroid  |       Owner:
           Type:  defect    |      Status:  new
       Priority:  Normal    |   Milestone:  Unspecified
      Component:  Sugar     |     Version:  Git as of bugdate
       Severity:  Major     |    Keywords:
Distribution/OS:  Fedora    |  Bug Status:  Unconfirmed
----------------------------+--------------------------------
 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
 }}}

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


More information about the Bugs mailing list