[Bugs] #3804 sugar UNSP: Journal detailview: thumbnails are not shown on the XO

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Tue Aug 14 05:01:12 EDT 2012


#3804: Journal detailview: thumbnails are not shown on the XO
------------------------------------------+---------------------------------
    Reporter:  erikos                     |          Owner:  erikos  
        Type:  defect                     |         Status:  new     
    Priority:  Unspecified by Maintainer  |      Milestone:  0.98    
   Component:  sugar                      |        Version:  0.97.x  
    Severity:  Blocker                    |       Keywords:  nohippo 
Distribution:  OLPC                       |   Status_field:  Assigned
------------------------------------------+---------------------------------
 On the XO the following fails:
 {{{
 >>> import gtk
 >>> pixmap = gtk.gdk.Pixmap(None, 100, 80, 24)
 >>> pixmap.cairo_create()
 <gtk.gdk.CairoContext object at 0x95236f0>
 }}}

 with
 {{{
 __main__:1: GtkWarning: Using Cairo rendering requires the drawable
 argument to
 have a specified colormap. All windows have a colormap,
 however, pixmaps only have colormap by default if they
 were created with a non-NULL window argument. Otherwise
 a colormap must be set on them with gdk_drawable_set_colormap
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
 cairo.Error: NULL pointer
 }}}

 It works fine on my laptop.

 The trace of the Journal is:
 {{{
 1344933830.929263 ERROR root: Error while loading the preview
 Traceback (most recent call last):
   File "/usr/lib/python2.7/site-packages/jarabe/journal/expandedentry.py",
 line 218, in _create_preview
     cr = pixmap.cairo_create()
 Error: NULL pointer
 }}}

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


More information about the Bugs mailing list