[Sugar-devel] Browse-115 stops when pop-up tab closes

James Cameron quozl at laptop.org
Wed Aug 11 00:39:12 EDT 2010


On Wed, Aug 11, 2010 at 12:24:43AM +0000, Christoph Derndorfer wrote:
> cairo-1.8.8-1.fc11.i586 [...]
> Traceback (most recent call last): [...]
>   File "/usr/lib/python2.6/site-packages/sugar/activity/activity.py", line 600, in save
>     preview = self.get_preview()
>   File "/usr/lib/python2.6/site-packages/sugar/activity/activity.py", line 548, in get_preview
>     width, height = pixmap.get_size()
> AttributeError: 'NoneType' object has no attribute 'get_size'

If this is the error that is killing Browse-115, it appears to be a
problem with get_preview in Sugar.  What version of Sugar is it?

Current HEAD presumes the pixmap returned by get_snapshot will have a
method get_size.  If it does not, an exception will result.

-- 
James Cameron
http://quozl.linux.org.au/


More information about the Sugar-devel mailing list