I can reproduce this bug outside of Pitivi. This looks like a
subtlety/bug in pygtk!

In pygtk02.17.0/gtk/gdkcairo.override, lines 128 to 144, the wrapper
requests keyword arguments "cr" and "drawable". Most other wrappers seem
not to use the "cr" arguments, but retrieve the cairo context by using
PycairoContext_GET(self). Maybe we just want to push this upstream and
ask the pygtk developers what was their idea... In any case,
gtk.gdk.CairoContext.reset_clip is undocumented.

A solution (or workaround, depending on how we perceive this) would be
to replace

    cr.reset_clip()

with

    cr.reset_clip(cr=cr, drawable=self.get_canvas())

-- 
pitivi crashed with TypeError in do_simple_paint()
https://bugs.launchpad.net/bugs/537619
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to