Re: get_transform crashes with pygoocanvas0.14
- From: Brandon Lewis <brandon_lewis berkeley edu>
- To: Bruno Coudoin <bruno coudoin free fr>
- Cc: goocanvas-list gnome org
- Subject: Re: get_transform crashes with pygoocanvas0.14
- Date: Sat, 27 Jun 2009 13:08:20 -0700
Bruno Coudoin wrote:
Le vendredi 26 juin 2009 à 08:20 +0200, bruno a écrit :
Le jeudi 25 juin 2009 à 22:46 -0700, Brandon Lewis a écrit :
I also run ubuntu 9.04 and goocanvas seems to work fine for me, though I am on
64-bit. I tested it with the following script:
Thanks for the test. Your script crashes on my side, I have probably
screwed something on my system.
I found what's going on. By default Ubuntu ships with python-cairo
1.4.12 (on 9.04 and currently on 9.10 as well).
But pygoocanvas requires a pycairo >= 1.8.0
I installed pycairo 1.8.4 but it is installed by default
in /usr/local/lib. When I run a pygoocanvas application, obviously the
installed version in /usr/lib is used. I made a link
and it works.
Next stage, that's a real mess, what is the process to distribute a
pygoocanvas application. Why does goocanvas 0.14 requires cairo 1.4
while pygoocanvas requires pycairo 1.8 ?
I am not sure this is true, as I am running the stock pycairo 1.4.12 and
everything seems to work fine. I simply install python-pygoocanvas through apt
and everything seems to work without taking extra steps, or installing libraries
from source. If you find yourself having to do this sort of thing on a system
like ubuntu, stop, take a deep breath, retrace your steps and figure out where
you went wrong.
] [Thread Prev