FS#22247 - [wicd] Add python2-cairo to the dependencies

Attached to Project: Arch Linux
Opened by Fabio Varesano (fax8) - Wednesday, 29 December 2010, 16:00 GMT
Last edited by Ionut Biru (wonder) - Wednesday, 29 December 2010, 16:25 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Critical
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

When launching wicd-client I was getting:

Traceback (most recent call last):
File "/usr/share/wicd/gtk/wicd-client.py", line 40, in <module>
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


Until I installed package python2-cairo.

I think that one should be added to the wicd dependencies.


Thanks,

Fabio Varesano
This task depends upon

Closed by  Ionut Biru (wonder)
Wednesday, 29 December 2010, 16:25 GMT
Reason for closing:  Not a bug
Additional comments about closing:  see comments
Comment by Fabio Varesano (fax8) - Wednesday, 29 December 2010, 16:01 GMT
This is critical as missing that dependency completely break wicd.
Comment by Ionut Biru (wonder) - Wednesday, 29 December 2010, 16:08 GMT
the dependency is already met.

wicd->pygtk->pycairo

python2-cairo has pycairo provider and you should have it.

I guess you didn't install wicd in the right way, without doing a fully update before or in the same time while installing wicd
Comment by Fabio Varesano (fax8) - Wednesday, 29 December 2010, 16:23 GMT
Ops, that's true. Don't know what happened. The following confirms what you said.



[root@gamma ~]# pacman -Rd python2-cairo wicd pygtk

Remove (3): wicd-1.7.0-6 pygtk-2.22.0-3 python2-cairo-1.8.10-1

Total Removed Size: 20.30 MB

Do you want to remove these packages? [Y/n]
(1/3) removing wicd [################################################################] 100%
(2/3) removing pygtk [################################################################] 100%
(3/3) removing python2-cairo [################################################################] 100%
[root@gamma ~]# pacman -S wicd
resolving dependencies...
warning: provider package was selected (python2-cairo provides pycairo)
looking for inter-conflicts...

Targets (3): python2-cairo-1.8.10-1 pygtk-2.22.0-3 wicd-1.7.0-6

Total Download Size: 1.58 MB
Total Installed Size: 20.30 MB

Proceed with installation? [Y/n]
:: Retrieving packages from extra...
pygtk-2.22.0-3-x86_64 1616.9K 563.0K/s 00:00:03 [################################################################] 100%
checking package integrity...
(3/3) checking for file conflicts [################################################################] 100%
(1/3) installing python2-cairo [################################################################] 100%
(2/3) installing pygtk [################################################################] 100%
Optional dependencies for pygtk
python-numpy
(3/3) installing wicd [################################################################] 100%

==> You need to restart the dbus service after
==> upgrading wicd.
==> Disable networkmanager,dhcdbd or other networking
==> utility and add 'wicd' to DAEMONS
==> in /etc/rc.conf
==> 'dbus' HAS to be before 'wicd' in rc.conf in the
==> DAEMONS array.
==> Wireless Interface Connection Daemon

==> To run: wicd-client
Optional dependencies for wicd
hicolor-icon-theme
gksu: needed to access some preferences in gtk interface
notification-daemon: needed if you want notifications
python-notify: needed if you want notifications
python-wpactrl: needed if you want to use the new experimental ioctrl backend
python-iwscan: needed if you want to use the new experimental ioctrl backend
Comment by Fabio Varesano (fax8) - Wednesday, 29 December 2010, 16:25 GMT
Thanks for your help.

Loading...