Re: get_transform crashes with pygoocanvas0.14
- From: Bruno Coudoin <bruno coudoin free fr>
- To: Brandon Lewis <brandon_lewis berkeley edu>
- Cc: goocanvas-list gnome org
- Subject: Re: get_transform crashes with pygoocanvas0.14
- Date: Sat, 27 Jun 2009 10:59:08 +0200
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
/usr/lib/python2.6/dist-packages/cairo
-> /usr/local/lib/python2.6/site-packages/cairo/
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 ?
--
Bruno Coudoin
http://gcompris.net Free educational software for kids
http://toulibre.org Logiciel Libre à Toulouse
http://april.org Promouvoir et défendre le Logiciel Libre
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]