FS#26770 - [wxpython] wxcairo Pycairo_CAPI is broken with pycairo >= 1.10
Attached to Project:
Arch Linux
Opened by Matthias Schiffer (NeoRaider) - Sunday, 06 November 2011, 22:01 GMT
Last edited by Eric Belanger (Snowman) - Monday, 07 November 2011, 00:39 GMT
Opened by Matthias Schiffer (NeoRaider) - Sunday, 06 November 2011, 22:01 GMT
Last edited by Eric Belanger (Snowman) - Monday, 07 November 2011, 00:39 GMT
|
Details
Description:
With the current versions of wxpython and python2-cairo the wxcairo C-API doesn't work anymore. The error messages look like: Traceback (most recent call last): File "/home/neoraider/Devel/ros/rx/xdot/src/xdot/wxxdot.py", line 185, in OnPaint ctx = wxcairo.ContextFromDC(dc) File "/usr/lib/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/lib/wxcairo.py", line 124, in ContextFromDC ctx = pycairoAPI.Context_FromContext(ctxptr, pycairoAPI.Context_Type, None) AttributeError: 'Pycairo_CAPI' object has no attribute 'Context_FromContext' The attached patch from wxpython SVN trunk (Rev 69181) fixes this. Additional info: * wxpython 2.8.12.1-1 * python2-cairo 1.10.0-1 Steps to reproduce: rxgraph from the ROS (Robot Operating System) Framework is the only application I could find using this, but it is rather hard to install on Arch because it uses a special installer script that doesn't know about Arch's python/python2 issue. |
This task depends upon