Bug 27486

Summary: pycairo causes pitivi to traceback with TypeError in do_simple_paint()
Product: pycairo Reporter: Jean-François Fortin Tam <nekohayo>
Component: generalAssignee: Steve Chaplin <d74n5pohf9>
Status: RESOLVED NOTOURBUG QA Contact:
Severity: critical    
Priority: medium    
Version: unspecified   
Hardware: All   
OS: Linux (All)   
URL: https://bugs.launchpad.net/ubuntu/+source/pitivi/+bug/537619
Whiteboard:
i915 platform: i915 features:

Description Jean-François Fortin Tam 2010-04-06 06:14:49 UTC
Our #1 pitivi bug on ubuntu 10.04 seems to be due to something misbehaving in pycairo.

See https://bugs.launchpad.net/ubuntu/+source/pitivi/+bug/537619
https://bugzilla.gnome.org/show_bug.cgi?id=612501

This worked without any problems on Ubuntu 9.10 and some other distros, but it seems that distros with more recent versions of pycairo are affected. Any help in fixing this/figuring out what's going on would be much appreciated!
Comment 1 Steve Chaplin 2010-04-06 09:04:04 UTC
pycairo is not the upstream package for this bug, pygtk is (and pycairo is upstream for pygtk).

cr.reset_clip() is calling gtk.gdk.CairoContext.reset_clip.
This is a pygtk function not a pycairo function.

Philippe Gauthier has already successfully diagnosed the problem, on BOTH the bug reports you quote, as being pygtk and not pycairo. Why do you ignore his advice?.

I suggest you open a bug report for pygtk.
Comment 2 Jean-François Fortin Tam 2010-04-06 09:11:00 UTC
Sorry, his comments arrived at roughly the same time that I was filing this bug, so I hadn't seen them and I wasn't sure what was causing it, so I needed your input.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.