no gui today

Werner Flamme werner.flamme at ufz.de
Wed Jan 17 06:45:38 PST 2007


Andreas Hanke schrieb am 16.01.2007 19:23:
> Werner Flamme schrieb:
>> ImportError: /usr/lib64/python2.4/site-packages/cairo/_cairo.so: 
>> undefined symbol: cairo_pdf_surface_set_dpi
> 
> Great! Broken system...

That's what I guessed :-(

> Your cairo python module doesn't match your cairo library.

I see. 8-(

 > I think that this one is the problem:
> 
>> python-cairo-1.0.2-42.pm.1 (Packman) 
 >> cairo-1.2.4-6.3 (Buildservice)
> 
> These are obviously from different sources. Try to reduce the channels a
>  little bit so that there are no conflicting ones among them.

> Btw. SUSE 10.0 comes with a working gtk2-2.8.3 setup, why do people 
> always break it?

Because the dependencies allow it ;-) If the package python-cairo would
request the package cairo with the exactly same version, they would be 
upgraded together - or never :-). Smart is smart enough to notice this ;-)

I am not wise enough to see that two packages must have the same version. I 
am sorry about that. But this will not change in a few weeks ;-) Until now, 
I rely upon programmers that set dependencies in a way that the 
functionality is kept (or increased) when I do an update...

I just searched on the installation DVD. I did not find python-cairo at 
all. My installed python-cairo is found in the packman channel only. Cairo 
iteslf ;-) is from the "Stable branch of GNOME (SUSE_Linux_10.0)", that 
means from the openSUSE repositories. Hmmm... "Stable branch..."? ;-) Why 
are there upgrades for SUSE 10.0 when they break 10.0?

Now I did the downgrade. Smart still does not start.
rz36:~ # python -c "import gtk"
Traceback (most recent call last):
   File "<string>", line 1, in ?
   File "/usr/lib64/python2.4/site-packages/gtk-2.0/gtk/__init__.py", line 
37, in ?
     from _gtk import *
ImportError: /opt/gnome/lib64/libgtk-x11-2.0.so.0: undefined symbol: 
cairo_surface_set_fallback_resolution

Gtk2-2.10 downgraded to gtk2-2.8. Now smart is running.

Thanks for telling me how to look for non-fitting ;-) packages!

Regards
Werner

-- 
Werner Flamme, Abt. WKDV
Helmholtz-Zentrum für Umweltforschung GmbH - UFZ
Permoserstr. 15 - 04318 Leipzig
Tel.: (0341) 235-3921 - Fax (0341) 235-453921
http://www.ufz.de - eMail: werner.flamme at ufz.de



More information about the Smart mailing list