[gpodder-devel] 0.10.3 crash

  • From: thp at perli.net (Thomas Perl)
  • Date: Thu, 13 Dec 2007 18:39:49 +0100

Hello, Chris!

Chris Arnold wrote:
> Thomas Perl wrote:
>> Please try to install at least python-cairo 1.2.0 and see if the problem
>> still exists.
>>   
> I installed 1.2.2 and now gpodder will not start at all:
> Traceback (most recent call last):
> File "/usr/bin/gpodder", line 148, in ?
> sys.exit( main())
> File "/usr/bin/gpodder", line 109, in main
> from gpodder import console
> File "usr/lib/python2.4/site-packages/gpodder/console.py", line 20, in ?
> File "usr/lib/python2.4/site-packages/gpodder/util.py", line 35, in ?
> File "/usr/lib/python2.4/site-packages/gtk-2.0/gtk/__init__.py", line
> 37, in ? from _gtk import *
> File "/usr/lib/python2.4/site-packages/cairo/__init__.py", line 1, in ?
> from _cairo import *
> ImportError: /usr/lib/python2.4/site-packages/cairo/_cairo.so: undefined
> symbol: cairo_ps_surface_dsc_begin_setup
>> It seems that OpenSuSE has this new version of the pycairo package:
>> http://www.novell.com/products/linuxpackages/opensuse/python-cairo.html
>>   
> The link on this page links to cairo page. Maybe i should download the
> source and install from tarball?
>> You can see which pygtk version you have installed by opening a python
>> shell ("python") and then typing the following:
>>
>> import gtk
>> print gtk.ver
> Python 2.4.2 (#1, Jun 22 2007, 12:35:09)
> [GCC 4.1.2 20070115 (prerelease) (SUSE Linux)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import gtk
>>>> print gtk.ver
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> AttributeError: 'module' object has no attribute 'ver'

This probably means you have a very old version of pygtk installed. Try
installing the most recent python-gtk2 package you can find, which
should drag in the right pycairo version as a dependency. At least this
works on Debian and should work likewise on Ubuntu.

Thomas


Other related posts: