[Bugs] #1408 UNSP: Journal should behave gracefully on entries with unexpected (but syntactically valid) metadata

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Sat Sep 26 22:56:37 EDT 2009


#1408: Journal should behave gracefully on entries with unexpected (but
syntactically valid) metadata
------------------------------------------+---------------------------------
    Reporter:  garycmartin                |          Owner:  alsroot                    
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  journal                    |        Version:  Git as of bugdate          
    Severity:  Major                      |       Keywords:                             
Distribution:  Unspecified                |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------

Comment(by garycmartin):

 Scrolling about the Journal with such entries can be problematic (there
 are perhaps a handful broken entries in my test Journal at this time).
 Scrolling down through entries seems ok, but scrolling back up I often get
 Sugar locking up and displaying many entries as broken entries (see
 attached screen shot). It seems as if scrolling back up seems to hit some
 internal issue that then shows many broken entries. Quitting Sugar and
 then starting again shows that the data-store was not damaged, just that
 Journal had got its self into a confused state. See attached screen shot,
 and shell.log – seems to be full of these tracebacks (look towards the end
 of the log):

 {{{
 Traceback (most recent call last):
   File "/home/garycmartin/sugar-jhbuild/install/lib/python2.6/site-
 packages/jarabe/journal/listmodel.py", line 117, in on_get_value
     return self._cached_row[column]
 IndexError: list index out of range
 }}}

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/1408#comment:1>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list