Page 1 sur 2

[Internet/Wicd] Probleme lancement wicd (résolu)

Publié : ven. 06 janv. 2012, 13:41
par iiNku
Bonjour,

J'ai mis mon systeme à jour, et il y a une mise a jour de python, je suis passer a la version 3.0.
Maintenant, wicd ne se lance plus. J'ai comme erreur : Impossible de trouver gobject..
Je n'ai donc plus internet sur ma partition Archlinux ( même en filiaire)
J'ai chercher un peu sur le net, mais rien qui a fonctionner pour ma part..

Si vous avez des suggestions..

Merci !

Re: [Internet/Wicd] Probleme lancement wicd

Publié : ven. 06 janv. 2012, 13:49
par karhu
As tu essayé de te connecter avec un autre manager (network ou netcfg) ?
D'accord si tu ne l'as pas déjà installé, cela risque d'être difficile sans réseau.

Re: [Internet/Wicd] Probleme lancement wicd

Publié : ven. 06 janv. 2012, 13:50
par iiNku
Voilà, j'ai rien d'autre d'installer.. :/

Re: [Internet/Wicd] Probleme lancement wicd

Publié : ven. 06 janv. 2012, 13:59
par FoolEcho
iiNku a écrit :et il y a une mise a jour de python, je suis passer a la version 3.0.
... sauf qu'il est en 3.2 depuis un bail et que ce passage s'est fait il y a longtemps... Tu utilises quels dépôts ? grep -Ev "^#|^$" /etc/pacman.d/mirrorlist

Re: [Internet/Wicd] Probleme lancement wicd

Publié : ven. 06 janv. 2012, 14:02
par karhu
Évidement !
Une petite suggestion,
iinku a écrit : Je n'ai donc plus internet sur ma partition Archlinux
me laisse croire que tu as une autre distribution qui je l'espère à accés au réseau. Dans ce cas télécharge le(s) paquet(s) nécessaire(s) pour un autre gestionnaire de réseau depuis cette autre distribution, puis transfert le(s) dans ton répertoire $HOME d'Archlinux. Redémarre sous Archlinux et installe ce(s) paquet(s) manuellement, configure le (/etc/rc.conf et autre) et hop cela devrait repartir.

Re: [Internet/Wicd] Probleme lancement wicd

Publié : ven. 06 janv. 2012, 14:37
par benjarobin
Ce n'est pas parce que tu n'as plus Wicd que tu ne peux plus avoir internet.
Si tu as une connexion Ethernet, il suffit de faire dhcpcd -d eth0
Puis une mise à jour complète du système : pacman -Syu

Re: [Internet/Wicd] Probleme lancement wicd

Publié : sam. 07 janv. 2012, 12:11
par iiNku
J'utilise ces miroirs :

Code : Tout sélectionner

Server = ftp://mirror.archlinux.fi/archlinux/$repo/os/$arch
Server = http://mir.archlinux.fr/$repo/os/$arch
Server = ftp://mir1.archlinux.fr/archlinux/$repo/os/$arch
Server = http://mir1.archlinux.fr/archlinux/$repo/os/$arch
Server = ftp://archlinux.mirrors.ovh.net/archlinux/$repo/os/$arch
Server = http://archlinux.mirrors.ovh.net/archlinux/$repo/os/$arch
Server = http://archlinux.polymorf.fr/$repo/os/$arch
J'ai maintenant une connexion filaire sur Arch, mais la mise à jour du système n'a pas améliorer la chose. J'ai toujours la même erreur.

Re: [Internet/Wicd] Probleme lancement wicd

Publié : sam. 07 janv. 2012, 13:18
par FoolEcho
Même si ça ne devrait pas changer grand-chose (sauf décalage horaire peut-être): c'est voulu le serveur finlandais ?

Sinon, ce serait bien de donner plus d'infos:

Code : Tout sélectionner

pacman -Qs "wicd|python"
iiNku a écrit :J'ai mis mon systeme à jour, et il y a une mise a jour de python, je suis passer a la version 3.0.
De toutes manières, python3 ne remplace pas python2 pour le moment. wicd utilise du 2.

Re: [Internet/Wicd] Probleme lancement wicd

Publié : sam. 07 janv. 2012, 14:20
par iiNku

Code : Tout sélectionner

local/archey3 20111217-1
    Python script to display system infomation alongside the Arch Linux logo
local/dbus-python 0.84.0-1
    Python bindings for DBUS
local/pydb 1.26-1
    Pydb - Extended Python Debugger
local/pygtk 2.24.0-2
    Python bindings for the GTK widget set
local/python 3.2.2-2
    Next generation of the python high-level scripting language
local/python2 2.7.2-4
    A high-level scripting language
local/python2-cairo 1.10.0-1
    Python2 bindings for the cairo graphics library
local/python2-gobject 3.0.3-1
    Python 2 bindings for GObject
local/python2-gobject2 2.28.6-4
    Python 2 bindings for GObject2
local/python2-urwid 1.0.1-1
    Urwid is a curses-based user interface library.
local/python-distribute 0.6.24-1
    Easily build and distribute Python packages
local/python-urwid 1.0.1-1
    Urwid is a curses-based user interface library.
local/wicd 1.7.0-13
    Wired and wireless network manager for Linux
local/wicd-gtk 1.7.0-13
    Wired and wireless network manager for Linux - GTK client
Voilà ce que me retourne la commande.

Re: [Internet/Wicd] Probleme lancement wicd

Publié : sam. 07 janv. 2012, 14:51
par FoolEcho
Et sinon, lancer le réseau manuellement (voir message de benjarobin), ça fonctionne ?
Quel est exactement le message avec wicd ?

... et merci d'utiliser la balise code dans tes messages. :chinois:

Re: [Internet/Wicd] Probleme lancement wicd

Publié : sam. 07 janv. 2012, 15:05
par iiNku
Oui, je suis actuellement sous ma session Arch, mais brancher en ethernet.

Voilà les messages d'erreur de wicd :
Avec wicd :

Code : Tout sélectionner

Traceback (most recent call last):
  File "/usr/share/wicd/daemon/wicd-daemon.py", line 46, in <module>
    import gobject
ImportError: No module named gobject
wicd-gtk :

Code : Tout sélectionner

Traceback (most recent call last):
  File "/usr/share/wicd/gtk/wicd-client.py", line 40, in <module>
    import gtk
ImportError: No module named gtk
wicd-curses :

Code : Tout sélectionner

Traceback (most recent call last):
  File "/usr/share/wicd/curses/wicd-curses.py", line 44, in <module>
    from dbus import DBusException
ImportError: No module named dbus
Je pense que python à un gros probleme sur mon pc. En effet, lorsque je lance un script python, j'ai une erreur. Alors que le script est bon (script d'installation de OBLogout)

Code : Tout sélectionner

./setup.py install
  File "./setup.py", line 61
    print files
              ^
SyntaxError: invalid syntax

Re: [Internet/Wicd] Probleme lancement wicd

Publié : sam. 07 janv. 2012, 15:16
par FoolEcho
Justement j'allais te demander si tu avais modifié des choses manuellement niveau python ?
Tu as remarqué des choses particulières quand tu as mis à jour, avant que ces problèmes n'apparaissent ? (tu peux retrouver les messages dans /var/log/pacman.log)

Re: [Internet/Wicd] Probleme lancement wicd

Publié : sam. 07 janv. 2012, 15:22
par iiNku
Niveau python, j'ai juste ajouter un dossier dist-packages dans python3.2, avec les fichiers config de wicd qui étaient dans python2.X. Sinon rien d'autre.

Sinon, je sais que le problème est arriver jusqu’à après ma mise a jour système. Je me rappelle que pendant 4-5 jours, la mise a jour ne voulait pas passer (problème de conflit) jusqu'au jour où elle est passé et au redémarrage de mon pc, wicd ne fonctionne plus. Je n'ai pourtant pas utiliser l'option -f de pacman.

Je ne trouve pas ces informations dans les logs, mais je sais que les problème de conflits concernait python.

Re: [Internet/Wicd] Probleme lancement wicd

Publié : sam. 07 janv. 2012, 16:40
par FoolEcho
iiNku a écrit :Niveau python, j'ai juste ajouter un dossier dist-packages dans python3.2, avec les fichiers config de wicd qui étaient dans python2.X.
À mon avis, ça vient de là ou peu s'en faut. Enlève donc ces changements quitte à désinstaller puis réinstaller complétement wicd/python/python2 (sers-toi du cache de pacman si tu ne l'as pas vidé), comme je disais les deux versions de python coexistent encore et wicd sait laquelle utiliser de toutes manières sans plus d'interventions.
iiNku a écrit :Je me rappelle que pendant 4-5 jours, la mise a jour ne voulait pas passer (problème de conflit) jusqu'au jour où elle est passé et au redémarrage de mon pc, wicd ne fonctionne plus. Je n'ai pourtant pas utiliser l'option -f de pacman.
Je trouve ça louche cependant... Donc si ça ne suffit pas, tu pourrais nous poster les passages dans le log de pacman à ces dates ? :?

Re: [Internet/Wicd] Probleme lancement wicd

Publié : sam. 07 janv. 2012, 17:01
par iiNku
Pour désinstaller, j'ai utilisé :

Code : Tout sélectionner

pacman -Rdd wicd
pacman -Rdd python2
pacman -Rdd python3
pacman -Rdd python
puis

Code : Tout sélectionner

pacman -Scc
J'ai ensuite réinstaller wicd et python, mais j'ai toujours la même erreur. C'est les bonnes commandes ?

Re: [Internet/Wicd] Probleme lancement wicd

Publié : sam. 07 janv. 2012, 17:19
par iiNku
Après la ces commandes, wicd ne veut toujours pas se lancer. Par contre j'ai cela :

Code : Tout sélectionner

sudo rc.d start wicd
:: Starting wicd Daemon                                                  [DONE]
Mais toujours la même erreur en lançant wicd.

Voici ensuite les logs de pacman du jour où je n'ai plus eu internet sur mon pc.

Code : Tout sélectionner

[2012-01-03 08:25] Running 'pacman -Syu'
[2012-01-03 08:25] synchronizing package lists
[2012-01-03 08:26] Running 'pacman -Syu'
[2012-01-03 08:26] synchronizing package lists
[2012-01-03 08:27] Running 'pacman -Syu'
[2012-01-03 08:27] synchronizing package lists
[2012-01-03 08:27] starting full system upgrade
[2012-01-03 08:31] Running 'pacman -Syu'
[2012-01-03 08:31] synchronizing package lists
[2012-01-03 08:31] starting full system upgrade
[2012-01-03 08:33] Running 'pacman -Syu'
[2012-01-03 08:33] synchronizing package lists
[2012-01-03 08:33] starting full system upgrade
[2012-01-03 08:34] upgraded libldap (2.4.26-5 -> 2.4.28-1)
[2012-01-03 08:34] upgraded unixodbc (2.3.0-2 -> 2.3.1-1)
[2012-01-03 08:34] upgraded apr-util (1.3.12-3 -> 1.3.12-4)
[2012-01-03 08:34] upgraded nss (3.12.11-3 -> 3.13.1-2)
[2012-01-03 08:34] upgraded desktop-file-utils (0.18-1 -> 0.19-1)
[2012-01-03 08:34] upgraded chromium (16.0.912.63-1 -> 16.0.912.63-2)
[2012-01-03 08:34] upgraded cmake (2.8.6-1 -> 2.8.7-1)
[2012-01-03 08:34] upgraded feh (2.1-1 -> 2.2-1)
[2012-01-03 08:34] upgraded filesystem (2011.10-1 -> 2011.12-2)
[2012-01-03 08:34] upgraded firefox (8.0.1-1 -> 9.0.1-1)
[2012-01-03 08:34] Generating locales...
[2012-01-03 08:34]   en_US.UTF-8... done
[2012-01-03 08:34]   en_US.ISO-8859-1... done
[2012-01-03 08:34]   fr_FR.UTF-8... done
[2012-01-03 08:34]   fr_FR.ISO-8859-1... done
[2012-01-03 08:34] Generation complete.
[2012-01-03 08:34] upgraded glibc (2.14.1-2 -> 2.14.1-4)
[2012-01-03 08:34] upgraded perl (5.14.2-4 -> 5.14.2-5)
[2012-01-03 08:34] upgraded git (1.7.8-1 -> 1.7.8.1-1)
[2012-01-03 08:34] upgraded libxi (1.4.4-1 -> 1.4.5-1)
[2012-01-03 08:34] upgraded gtk3 (3.2.2-4 -> 3.2.3-2)
[2012-01-03 08:34] upgraded jack (0.121.3-4 -> 0.121.3-5)
[2012-01-03 08:34] upgraded lib32-glibc (2.14.1-2 -> 2.14.1-4)
[2012-01-03 08:34] upgraded lib32-attr (2.4.46-1 -> 2.4.46-2)
[2012-01-03 08:34] upgraded lib32-libglapi (7.11.2-1 -> 7.11.2-2)
[2012-01-03 08:34] upgraded lib32-libgl (7.11.2-1 -> 7.11.2-2)
[2012-01-03 08:34] upgraded lib32-libxfixes (4.0.5-3 -> 5.0-1)
[2012-01-03 08:34] upgraded lib32-libxcursor (1.1.11-1 -> 1.1.12-1)
[2012-01-03 08:34] upgraded lib32-libxext (1.2.0-1 -> 1.3.0-1)
[2012-01-03 08:34] upgraded lib32-libxi (1.4.1-1 -> 1.4.5-1)
[2012-01-03 08:34] upgraded lib32-libxrandr (1.3.1-1 -> 1.3.2-1)
[2012-01-03 08:34] upgraded lib32-mesa (7.11.2-1 -> 7.11.2-2)
[2012-01-03 08:34] upgraded libjpeg-turbo (1.1.1-3 -> 1.1.1-4)
[2012-01-03 08:34] upgraded libgphoto2 (2.4.10.1-2 -> 2.4.11-1)
[2012-01-03 08:34] upgraded redland (1:1.0.15-1 -> 1:1.0.15-2)
[2012-01-03 08:35] upgraded libreoffice-common (3.4.4-3 -> 3.4.4-4)
[2012-01-03 08:35] upgraded libreoffice-base (3.4.4-3 -> 3.4.4-4)
[2012-01-03 08:35] upgraded libreoffice-writer (3.4.4-3 -> 3.4.4-4)
[2012-01-03 08:35] upgraded xfconf (4.8.0-2 -> 4.8.1-1)
[2012-01-03 08:35] upgraded libxfce4ui (4.8.0-3 -> 4.8.1-1)
[2012-01-03 08:35] >>> Updating module dependencies. Please wait ...
[2012-01-03 08:35] >>> Generating initial ramdisk, using mkinitcpio.  Please wait...
[2012-01-03 08:35] ==> Building image from preset: 'default'
[2012-01-03 08:35]   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
[2012-01-03 08:35] ==> Starting build: 3.1.6-1-ARCH
[2012-01-03 08:35]   -> Parsing hook: [base]
[2012-01-03 08:35]   -> Parsing hook: [udev]
[2012-01-03 08:35]   -> Parsing hook: [autodetect]
[2012-01-03 08:35] WARNING: /etc/modprobe.d/alsa.conf line 2: ignoring bad line starting with 'option'
[2012-01-03 08:35]   -> Parsing hook: [pata]
[2012-01-03 08:35]   -> Parsing hook: [scsi]
[2012-01-03 08:35]   -> Parsing hook: [sata]
[2012-01-03 08:35]   -> Parsing hook: [filesystems]
[2012-01-03 08:35]   -> Parsing hook: [usbinput]
[2012-01-03 08:35] ==> Generating module dependencies
[2012-01-03 08:35] ==> Creating gzip initcpio image: /boot/initramfs-linux.img
[2012-01-03 08:35] ==> Image generation successful
[2012-01-03 08:35] ==> Building image from preset: 'fallback'
[2012-01-03 08:35]   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
[2012-01-03 08:35] ==> Starting build: 3.1.6-1-ARCH
[2012-01-03 08:35]   -> Parsing hook: [base]
[2012-01-03 08:35]   -> Parsing hook: [udev]
[2012-01-03 08:35]   -> Parsing hook: [pata]
[2012-01-03 08:35]   -> Parsing hook: [scsi]
[2012-01-03 08:35]   -> Parsing hook: [sata]
[2012-01-03 08:35]   -> Parsing hook: [filesystems]
[2012-01-03 08:35]   -> Parsing hook: [usbinput]
[2012-01-03 08:35] ==> Generating module dependencies
[2012-01-03 08:35] ==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
[2012-01-03 08:35] ==> Image generation successful
[2012-01-03 08:35] upgraded linux (3.1.5-1 -> 3.1.6-1)
[2012-01-03 08:35] upgraded mono (2.10.6-1 -> 2.10.8-1)
[2012-01-03 08:35] upgraded python-urwid (0.9.9.2-1 -> 1.0.1-1)
[2012-01-03 08:35] upgraded rxvt-unicode (9.12-2 -> 9.14-1)
[2012-01-03 08:35] installed python2-urwid (1.0.1-1)
[2012-01-03 08:35] upgraded wicd (1.7.0-12 -> 1.7.0-13)
[2012-01-03 08:35] upgraded wicd-gtk (1.7.0-12 -> 1.7.0-13)
[2012-01-03 08:35] upgraded wine (1.3.35-1 -> 1.3.36-1)
[2012-01-03 08:35] upgraded xorg-xinit (1.3.1-1 -> 1.3.1-2)
[2012-01-03 08:35] upgraded yajl (2.0.3-1 -> 2.0.4-1)
[2012-01-03 09:09] Running 'pacman -S ddd'
[2012-01-03 09:09] installed elfutils (0.152-1)
[2012-01-03 09:09] installed ddd (3.3.12-2)
[2012-01-03 09:10] Running 'pacman -S dgdb'
[2012-01-03 09:10] Running 'pacman -S gdb'
[2012-01-03 09:10] installed gdb (7.3.1-1)
[2012-01-03 09:13] Running 'pacman -S gdb'
[2012-01-03 09:13] upgraded gdb (7.3.1-1 -> 7.3.1-1)
[2012-01-03 09:18] Running 'pacman -S pydb'
[2012-01-03 09:18] installed pydb (1.26-1)
[2012-01-03 09:18] Running 'pacman -S extra/ddd'
[2012-01-03 09:18] upgraded ddd (3.3.12-2 -> 3.3.12-2)
[2012-01-03 09:21] Running 'pacman -S extra/gdb'
[2012-01-03 09:21] upgraded gdb (7.3.1-1 -> 7.3.1-1)
[2012-01-03 09:24] Running 'pacman -S ncurses'
[2012-01-03 09:24] upgraded ncurses (5.9-2 -> 5.9-2)
[2012-01-03 09:24] Running 'pacman -S expat'
[2012-01-03 09:24] upgraded expat (2.0.1-7 -> 2.0.1-7)
[2012-01-03 09:24] Running 'pacman -S python2'
[2012-01-03 09:24] upgraded python2 (2.7.2-4 -> 2.7.2-4)
[2012-01-03 09:25] Running 'pacman -S gdb'
[2012-01-03 09:25] upgraded gdb (7.3.1-1 -> 7.3.1-1)
[2012-01-03 10:18] Running 'pacman -S screensaver'
[2012-01-03 10:19] Running 'pacman -S Xscreensaver'
[2012-01-03 10:19] Running 'pacman -S extra/xscreensaver'
[2012-01-03 10:20] installed xorg-appres (1.0.3-2)
[2012-01-03 10:20] installed perl-encode-locale (1.02-1)
[2012-01-03 10:20] installed perl-http-date (6.00-1)
[2012-01-03 10:20] installed perl-file-listing (6.03-1)
[2012-01-03 10:20] installed perl-html-tagset (3.20-2)
[2012-01-03 10:20] installed perl-html-parser (3.68-2)
[2012-01-03 10:20] installed perl-lwp-mediatypes (6.01-1)
[2012-01-03 10:20] installed perl-uri (1.59-1)
[2012-01-03 10:20] installed perl-http-message (6.02-1)
[2012-01-03 10:20] installed perl-http-cookies (6.00-1)
[2012-01-03 10:20] installed perl-http-daemon (6.00-1)
[2012-01-03 10:20] installed perl-http-negotiate (6.00-1)
[2012-01-03 10:20] installed perl-net-http (6.01-1)
[2012-01-03 10:20] installed perl-www-robotrules (6.01-1)
[2012-01-03 10:20] installed perl-libwww (6.02-2)
[2012-01-03 10:20] installed xscreensaver (5.15-2)

Re: [Internet/Wicd] Probleme lancement wicd

Publié : sam. 07 janv. 2012, 17:46
par jc51
bonjours c'est pas plutot pacman -Rs pour suprimer

Re: [Internet/Wicd] Probleme lancement wicd

Publié : sam. 07 janv. 2012, 17:50
par benjarobin
On va y aller bourrin, comme tu as surement casser ton système (On n'utilise jamais l'option -dd !)

Code : Tout sélectionner

pacman -S wicd-gtk wicd python2 bzip2 gdbm openssl zlib expat sqlite3 libffi dbus-python dbus-glib dhcpcd glibc  wpa_supplicant openssl dbus-core readline libnl wireless_tools glibc inetutils readline ncurses pam net-tools glibc ethtool glibc shared-mime-info libxml2 glib2 python2-urwid python2-gobject2 glib2 pygobject2-devel pygtk libglade gtk2 libxml2 python2-cairo cairo
C'est la sortie nettoyé de

Code : Tout sélectionner

pactree -ud 3 wicd-gtk

Re: [Internet/Wicd] Probleme lancement wicd

Publié : sam. 07 janv. 2012, 17:53
par benjarobin
jc51 a écrit :bonjours c'est pas plutot pacman -Rs pour suprimer
Tout dépend ce que l'on veut faire (voir man), pour une suppression simple, l'option -R est largement suffisante, mais dans tout les cas pas besoin de supprimer pour réinstaller un logiciel

Re: [Internet/Wicd] Probleme lancement wicd

Publié : sam. 07 janv. 2012, 18:10
par jc51
merci benjarobin je sais tous ça,je disais sa car je comprenais pas pourquoi il faisait pacman -Rdd je connais pas comme commande,je les même pas vue dans le wiki sur pacman.en tous cas heureusement qui a des mec comme toi sur le forum j apprend beaucoup en te lisant .