[Bugs] #2882 UNSP: Taking a photo with timer set to anything other than 'Immediate' fails

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Sat Jun 4 22:54:15 EDT 2011


#2882: Taking a photo with timer set to anything other than 'Immediate' fails
------------------------------------------+---------------------------------
    Reporter:  garycmartin                |          Owner:  dsd                        
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  Record                     |        Version:  Unspecified                
    Severity:  Unspecified                |       Keywords:                             
Distribution:  Unspecified                |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------
 Testing Record 91 on an XO-1 (build os21). Setting the timer to anything
 other than 'Immediate' and clicking the record button fails to take a
 photo and triggers the below traceback. The record button disappears and
 you need to Stop and resume Record to get it back:
 {{{
 /home/olpc/Activities/Record.activity/record.py:727: 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
   ctx = pixmap.cairo_create()
 Traceback (most recent call last):
   File "/home/olpc/Activities/Record.activity/model.py", line 206, in
 _countdown_tick
     self.activity.set_countdown(value)
   File "/home/olpc/Activities/Record.activity/record.py", line 290, in
 set_countdown
     self._countdown_image.set_value(value)
   File "/home/olpc/Activities/Record.activity/record.py", line 758, in
 set_value
     self._countdown_images[num] = self._generate_image(num)
   File "/home/olpc/Activities/Record.activity/record.py", line 727, in
 _generate_image
     ctx = pixmap.cairo_create()
 cairo.Error: NULL pointer
 }}}

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


More information about the Bugs mailing list