[Bugs] #4717 Sugar UNSP: Error trying to open object palette in the journal

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Thu Jan 16 18:08:53 EST 2014


#4717: Error trying to open object palette in the journal
---------------------------------------------+--------------------------
       Reporter:  godiard                    |       Owner:
           Type:  defect                     |      Status:  new
       Priority:  Unspecified by Maintainer  |   Milestone:  Unspecified
      Component:  Sugar                      |     Version:  Unspecified
       Severity:  Unspecified                |    Keywords:
Distribution/OS:  Unspecified                |  Bug Status:  Unconfirmed
---------------------------------------------+--------------------------
\
\
 Some times, when you want open the object palette in the journal using a
 long touch, is not displayed.

 In shell.log you see this error:

 {{{
 Traceback (most recent call last):
   File "/usr/lib/python2.7/site-
 packages/sugar3/graphics/palettewindow.py", line 1483, in
 __long_pressed_event_cb
     self.notify_right_click()
   File "/usr/lib/python2.7/site-
 packages/sugar3/graphics/palettewindow.py", line 984, in
 notify_right_click
     self._ensure_palette_exists()
   File "/usr/lib/python2.7/site-
 packages/sugar3/graphics/palettewindow.py", line 972, in
 _ensure_palette_exists
     palette = self.parent.create_palette()
   File "/usr/lib/python2.7/site-packages/jarabe/journal/listview.py", line
 736, in create_palette
     metadata = tree_model.get_metadata(self.props.palette_invoker.path)
   File "/usr/lib/python2.7/site-packages/jarabe/journal/listmodel.py",
 line 117, in get_metadata
     return model.get(self[path][ListModel.COLUMN_UID])
   File "/usr/lib/python2.7/site-packages/gi/overrides/Gtk.py", line 782,
 in __getitem__
     aiter = self._getiter(key)
   File "/usr/lib/python2.7/site-packages/gi/overrides/Gtk.py", line 776,
 in _getiter
     aiter = self.get_iter(key)
   File "/usr/lib/python2.7/site-packages/gi/overrides/Gtk.py", line 798,
 in get_iter
     path = TreePath(path)
   File "/usr/lib/python2.7/site-packages/gi/overrides/Gtk.py", line 1209,
 in __new__
     if len(path) == 0:
 TypeError: object of type 'NoneType' has no len()
 }}}
\
\
\

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


More information about the Bugs mailing list