FS#22300 - pygtk now requires python2-cairo; not pycairo

Attached to Project: Arch Linux
Opened by Eric Toombs (ewtoombs) - Monday, 03 January 2011, 23:37 GMT
Last edited by Jan de Groot (JGC) - Tuesday, 04 January 2011, 00:34 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
pygtk (currently version 2.22.0-3) lists pycairo as a dependency. There is no such package (at least, not anymore...). It must depend on python2-cairo instead. This has caused deluge, an app that depends on pygtk, to stop working, citing a missing module, "cairo".

To reproduce:
$ sudo pacman -S deluge
$ deluge
[ERROR ] 18:09:28 ui:146 No module named cairo
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/deluge/ui/ui.py", line 127, in __init__
from deluge.ui.gtkui.gtkui import GtkUI
File "/usr/lib/python2.7/site-packages/deluge/ui/gtkui/__init__.py", line 1, in <module>
from gtkui import start
File "/usr/lib/python2.7/site-packages/deluge/ui/gtkui/gtkui.py", line 39, in <module>
reactor = gtk2reactor.install()
File "/usr/lib/python2.7/site-packages/twisted/internet/gtk2reactor.py", line 377, in install
reactor = Gtk2Reactor(useGtk)
File "/usr/lib/python2.7/site-packages/twisted/internet/gtk2reactor.py", line 103, in __init__
import gtk
File "/usr/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 40, in <module>
from gtk import _gtk
ImportError: No module named cairo
[ERROR ] 18:09:28 ui:147 There was an error whilst launching the request UI: gtk
[ERROR ] 18:09:28 ui:148 Look at the traceback above for more information.
$
This task depends upon

Closed by  Jan de Groot (JGC)
Tuesday, 04 January 2011, 00:34 GMT
Reason for closing:  Not a bug
Additional comments about closing:  This was solved trough provides in python2-cairo. Pygtk should have pulled in python2-cairo on your system.

Loading...