Hello, Chris!

Chris Arnold wrote:
> I updated using the opensuse repo to pycairo 1.2.2 and get this error
> when starting gpodder:
> 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

You then have to also update the libcairo package to match the version 
of pycairo. It could be named libcairo or cairo-lib or something like 
that. If you have installed pycairo 1.2.2, also install cairo 1.2.2.

> I tried putting the patch in the .config/gpodder folder and running the
> patch but nothing happened, it just sat there at the CL. Do i have to
> use only the svn and patch together or can i run the patch in the
> .config/gpodder folder and it work?

No, you have to download a svn working copy and apply the patch there:

> mkdir ~/src
> cd ~/src
> svn co http://svn.berlios.de/svnroot/repos/gpodder/trunk gpodder
> cd gpodder
> wget 
> https://lists.berlios.de/pipermail/gpodder-devel/attachments/20071217/adc632e0/attachment.bin
> patch -p0 < attachment.bin
> rm attachment.bin
> echo "`pwd`/bin/gpodder --local" >~/start-gpodder
> chmod +x ~/start-gpodder

This should leave you with a "start-gpodder" script in your home 
directory from which you can start your patched gPodder 0.10.3.

>> If you don't miss the new features and can live with the bugs, you can 
>> also downgrade to gPodder 0.10.2. Please note this is not really a "bug" 
>> in gPodder, but simply a downwards compatibility issue of pycairo. 
>> gPodder uses a feature (write_to_png being able to write to a StringIO 
>> object) that has only been added to pycairo in version 1.1.6).
>>   
> I know this is not a bug with gpodder (this is not the first time i ran
> into this with SLED). I really wanted 0.10.3 for the itms and other
> protocol but am willing to put 10.2 back on if i could get the link to
> download it from you?

Old gPodder releases (the source tarballs, at least) can always be found 
on this page:

https://developer.berlios.de/project/showfiles.php?group_id=5351


Thanks,
Tohmas
_______________________________________________
gpodder-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/gpodder-devel

Reply via email to