[Sugar-devel] Browse-115 stops when pop-up tab closes
Tomeu Vizoso
tomeu at sugarlabs.org
Wed Aug 11 05:00:57 EDT 2010
On Wed, Aug 11, 2010 at 06:39, James Cameron <quozl at laptop.org> wrote:
> 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.
Those exceptions shouldn't terminate the process because PyGtk's main
loop handles them.
Unhandled exceptions will only stop a process during startup, before
the main loop starts running.
Regards,
Tomeu
> --
> James Cameron
> http://quozl.linux.org.au/
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
More information about the Sugar-devel
mailing list