#4743 HIGH Update.: Poll fails to stop - conflict with self._preview

Zarro Boogs per Child bugtracker at laptop.org
Thu Nov 8 06:19:25 EST 2007


#4743: Poll fails to stop - conflict with self._preview
--------------------------+-------------------------------------------------
 Reporter:  morgs         |       Owner:  morgs             
     Type:  defect        |      Status:  new               
 Priority:  high          |   Milestone:  Update.1          
Component:  poll-builder  |     Version:  Git as of bug date
 Keywords:                |    Verified:  0                 
--------------------------+-------------------------------------------------
 Traceback:
 {{{
 Traceback (most recent call last):
   File "/usr/lib/python2.5/site-packages/sugar/activity/activity.py", line
 161, in __stop_clicked_cb
     self._activity.take_screenshot()
   File "/usr/lib/python2.5/site-packages/sugar/activity/activity.py", line
 662, in take_screenshot
     self._preview.take_screenshot(self.canvas.window)
 AttributeError: 'bool' object has no attribute 'take_screenshot'
 Traceback (most recent call last):
   File "/usr/lib/python2.5/site-packages/sugar/activity/activity.py", line
 161, in __stop_clicked_cb
     self._activity.take_screenshot()
   File "/usr/lib/python2.5/site-packages/sugar/activity/activity.py", line
 662, in take_screenshot
     self._preview.take_screenshot(self.canvas.window)
 AttributeError: 'bool' object has no attribute 'take_screenshot'
 Traceback (most recent call last):
   File "/usr/lib/python2.5/site-packages/sugar/activity/activity.py", line
 501, in do_set_property
     self.save()
   File "/usr/lib/python2.5/site-packages/sugar/activity/activity.py", line
 684, in save
     preview = self._get_preview()
   File "/usr/lib/python2.5/site-packages/sugar/activity/activity.py", line
 624, in _get_preview
     pixbuf = self._preview.get_pixbuf()
 AttributeError: 'bool' object has no attribute 'get_pixbuf'
 }}}

 Can't use self._preview in the activity - it is used for taking the
 screenshot for the journal entry.

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



More information about the Bugs mailing list