[Bugs] #4339 sugar UNSP: Journal model: traceback

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Mon Dec 17 06:25:13 EST 2012


#4339: Journal model: traceback
------------------------------------------+---------------------------------
    Reporter:  manuq                      |          Owner:  manuq            
        Type:  defect                     |         Status:  new              
    Priority:  Unspecified by Maintainer  |      Milestone:  0.98             
   Component:  sugar                      |        Version:  Git as of bugdate
    Severity:  Unspecified                |       Keywords:  regression       
Distribution:  Unspecified                |   Status_field:  Unconfirmed      
------------------------------------------+---------------------------------
 This may be similar to #3888 .

 {{{
 Traceback (most recent call last):
   File "/usr/lib/python2.7/site-
 packages/sugar3/graphics/palettewindow.py", line 1442, in
 __long_pressed_event_cb
     self.notify_right_click()
   File "/usr/lib/python2.7/site-
 packages/sugar3/graphics/palettewindow.py", line 967, in
 notify_right_click
     self._ensure_palette_exists()
   File "/usr/lib/python2.7/site-
 packages/sugar3/graphics/palettewindow.py", line 955, in
 _ensure_palette_exists
     palette = self.parent.create_palette()
   File "/usr/lib/python2.7/site-packages/jarabe/journal/listview.py", line
 641, 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 103, 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/4339>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list