Opened 12 years ago
Closed 12 years ago
#2882 closed defect (fixed)
Taking a photo with timer set to anything other than 'Immediate' fails
| Reported by: | garycmartin | Owned by: | dsd |
|---|---|---|---|
| Priority: | Unspecified by Maintainer | Milestone: | Unspecified |
| Component: | Record | Version: | Unspecified |
| Severity: | Unspecified | Keywords: | 11.2.0 |
| Cc: | godiard | Distribution/OS: | Unspecified |
| Bug Status: | Unconfirmed |
Description
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
Change History (2)
comment:1 Changed 12 years ago by erikos
- Cc godiard added
- Keywords 11.2.0 added
comment:2 Changed 12 years ago by dsd
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
fixed in Record-92, thanks