#4461 HIGH First D: journal gets out of sync when it can not display entry

Zarro Boogs per Child bugtracker at laptop.org
Thu Oct 25 14:13:00 EDT 2007


#4461: journal gets out of sync when it can not display entry
------------------------------+---------------------------------------------
 Reporter:  erikos            |       Owner:  tomeu                 
     Type:  defect            |      Status:  new                   
 Priority:  high              |   Milestone:  First Deployment, V1.0
Component:  journal-activity  |     Version:                        
 Keywords:                    |    Verified:  0                     
------------------------------+---------------------------------------------
 I have an ogg vorbis (dev.laptop.org/~erikos/chain.ogg) file which is
 recognized with the mime type audio/x-oggvorbis. Since we have not defined
 that one in sugar the journal will not be able to display the
 corresponding icon for that type and the journal get out of sync - means
 another entry get doubled or similar strange things.

 Backtrace:
 {{{
 1193333360.178282 DEBUG do_size_allocate: 11
 1193333367.783844 DEBUG button_press_event_cb
 1193333367.923286 DEBUG _frame_button_release_event_cb
 1193333367.954769 DEBUG datastore.get
 1193333367.955190 DEBUG dbus_helpers.get_properties: 057d82d0-0a0b-42db-
 994f-e8ca0a7f1ae6
 1193333367.965323 ERROR Exception while displaying entry:
 ValueError(u"Icon 'audio-x-oggvorbis' not found.",)
 }}}

 We can display a generic icon like we do for the 'application-octet-
 stream' icon in this case but I am not sure this is the right thing to do
 (you will end up with an entry that you can not resume but apart from that
 it is fine). The question is now how to handle this case best.

-- 
Ticket URL: <https://dev.laptop.org/ticket/4461>
One Laptop Per Child <https://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list