[Bugs] #3200 UNSP: Journal fails to load if a single activity icon is broken

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Tue Oct 18 03:28:06 EDT 2011


#3200: Journal fails to load if a single activity icon is broken
------------------------------------------+---------------------------------
    Reporter:  sascha_silbe               |          Owner:  sascha_silbe     
        Type:  defect                     |         Status:  new              
    Priority:  Unspecified by Maintainer  |      Milestone:  0.94             
   Component:  sugar                      |        Version:  Git as of bugdate
    Severity:  Critical                   |       Keywords:                   
Distribution:                             |   Status_field:  Assigned         
------------------------------------------+---------------------------------

Comment(by erikos):

 Ok, I installed your activity, and did start Sugar. The activity icon is
 not displayable in the activity list of home view and the log does show
 the error you describing:

 {{{
 Traceback (most recent call last):
   File "/home/erikos/sugar-jhbuild/install/lib/python2.7/site-
 packages/sugar/graphics/icon.py", line 1155, in on_render
     surface = self._buffer.get_surface()
   File "/home/erikos/sugar-jhbuild/install/lib/python2.7/site-
 packages/sugar/graphics/icon.py", line 262, in get_surface
     handle = self._load_svg(icon_info.file_name)
   File "/home/erikos/sugar-jhbuild/install/lib/python2.7/site-
 packages/sugar/graphics/icon.py", line 121, in _load_svg
     return self._loader.load(file_name, entities, self.cache)
   File "/home/erikos/sugar-jhbuild/install/lib/python2.7/site-
 packages/sugar/graphics/icon.py", line 66, in load
     return rsvg.Handle(data=icon)
 glib.GError: Error domain 1 code 76 on line 27 column 11 of data: Opening
 and ending tag mismatch: svg line 0 and svgX
 }}}

 and

 {{{
 Traceback (most recent call last):
   File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 214, in
 maybe_handle_message
     self._handler(*args, **kwargs)
   File "/home/erikos/sugar-jhbuild/install/lib/python2.7/site-
 packages/jarabe/journal/model.py", line 507, in _datastore_created_cb
     created.send(None, object_id=object_id)
   File "/home/erikos/sugar-jhbuild/install/lib/python2.7/site-
 packages/sugar/dispatch/dispatcher.py", line 125, in send
     response = receiver(signal=self, sender=sender, **named)
   File "/home/erikos/sugar-jhbuild/install/lib/python2.7/site-
 packages/jarabe/journal/journalactivity.py", line 260, in
 __model_created_cb
     self._main_toolbox.search_toolbar.refresh_filters()
   File "/home/erikos/sugar-jhbuild/install/lib/python2.7/site-
 packages/jarabe/journal/journaltoolbox.py", line 326, in refresh_filters
     file_name=activity_info.get_icon())
   File "/home/erikos/sugar-jhbuild/install/lib/python2.7/site-
 packages/sugar/graphics/combobox.py", line 117, in append_item
     file_name, width, height)
 GError: Error writing
 Traceback (most recent call last):
 }}}

 I still can use the Journal fine, it did not die for me. Anything else you
 need to do to make it die?

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


More information about the Bugs mailing list