[Bugs] #2951 UNSP: TypeError: parent should be a GtkWindow or None in shell.log

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Fri Jul 8 21:23:42 EDT 2011


#2951: TypeError: parent should be a GtkWindow or None in shell.log
------------------------------------------+---------------------------------
    Reporter:  carrott                    |          Owner:                             
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  untriaged                  |        Version:  0.92.x                     
    Severity:  Unspecified                |       Keywords:                             
Distribution:  OLPC                       |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------
Description changed by carrott:

Old description:

> XO-1.0 os872 (which is I think 11.2.0)
>
> See attached for full log. This might be the same bug as #208
>
> {{{
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/site-packages/sugar/graphics/animator.py",
> line 107, in _next_frame_cb
>     animation.do_frame(current_time, self._duration, self._easing)
>   File "/usr/lib/python2.7/site-packages/sugar/graphics/animator.py",
> line 148, in do_frame
>     self.next_frame(frame)
>   File "/usr/lib/python2.7/site-
> packages/sugar/graphics/palettewindow.py", line 418, in next_frame
>     self._palette.popup(immediate=True)
>   File "/usr/lib/python2.7/site-packages/sugar/graphics/palette.py", line
> 187, in popup
>     PaletteWindow.popup(self, immediate)
>   File "/usr/lib/python2.7/site-
> packages/sugar/graphics/palettewindow.py", line 317, in popup
>     self.set_transient_for(self._invoker.get_toplevel())
> TypeError: parent should be a GtkWindow or None
> }}}

New description:

 XO-1.0 os872 (which is I think 11.2.0)

 See attached for full log. This might be the same bug as #208.

 On this XO it appears to happen repeatably, but I don't see it on our
 other XOs

 {{{
 Traceback (most recent call last):
   File "/usr/lib/python2.7/site-packages/sugar/graphics/animator.py", line
 107, in _next_frame_cb
     animation.do_frame(current_time, self._duration, self._easing)
   File "/usr/lib/python2.7/site-packages/sugar/graphics/animator.py", line
 148, in do_frame
     self.next_frame(frame)
   File "/usr/lib/python2.7/site-packages/sugar/graphics/palettewindow.py",
 line 418, in next_frame
     self._palette.popup(immediate=True)
   File "/usr/lib/python2.7/site-packages/sugar/graphics/palette.py", line
 187, in popup
     PaletteWindow.popup(self, immediate)
   File "/usr/lib/python2.7/site-packages/sugar/graphics/palettewindow.py",
 line 317, in popup
     self.set_transient_for(self._invoker.get_toplevel())
 TypeError: parent should be a GtkWindow or None
 }}}

--

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/2951#comment:1>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list