#1 Le 07/05/2008, à 17:03
- Davjack
[résolu] wicd : l'icone s'affiche, mais plus gui.py
Bonjour,
J'ai installé récemment wicd (il y a 1-2 semaines) et tout fonctionnais bien :
- L'icone (/opt/wicd/tray.py) s'affichait au démarrage
- en cliquantsur l'icone --> Connect..., je pouvais choisir ma connexion (apparemment, l'interface démarrée est /opt/wicd/gui.py).
Hier, j'ai voulu me connecter sur le réseau d'un ami et tray.py ne répondait plus.
Depuis, l'icone tray.py se charge bien, il me démarre mon réseau wifi quand je suis chez moi (j'avais spécifié de le démarrer automatiquement) mais quand je clique sur Connect... pour choisir un autre réseau, la fenêtre de configuration (/opt/wicd/gui.py) ne s'ouvre pas et j'ai ceci qui s'affiche si je démarre /opt/wicd/tray.py dans un terminal
attempting to connect daemon...
success
wlan0: 450844 640 0 0 0 0 0 0 94623 620 0 0 0 0 0 0
attempting to connect daemon...
success
starting gui.py...
refreshing...
using global dns: 0
disabling ip
disabling dns
dns checkbox toggled False
global dns checkbox toggled False
Traceback (most recent call last):
File "./gui.py", line 1319, in <module>
app = appGui()
File "./gui.py", line 910, in __init__
self.refresh_networks(fresh=False)
File "./gui.py", line 1190, in refresh_networks
wiredNetwork = PrettyWiredNetworkEntry()
File "./gui.py", line 306, in __init__
PrettyNetworkEntry.__init__(self,WiredNetworkEntry())
File "./gui.py", line 540, in __init__
self.profileList = config.GetWiredProfileList()
File "/var/lib/python-support/python2.5/dbus/proxies.py", line 140, in __call__
**keywords)
File "/var/lib/python-support/python2.5/dbus/connection.py", line 607, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.ConfigParser.MissingSectionHeaderError: Traceback (most recent call last):
File "/var/lib/python-support/python2.5/dbus/service.py", line 696, in _message_cb
retval = candidate_method(self, *args, **keywords)
File "/opt/wicd/daemon.py", line 904, in GetWiredProfileList
config.read(self.wired_conf)
File "/usr/lib/python2.5/ConfigParser.py", line 267, in read
self._read(fp, filename)
File "/usr/lib/python2.5/ConfigParser.py", line 462, in _read
raise MissingSectionHeaderError(fpname, lineno, line)
MissingSectionHeaderError: File contains no section headers.
file: data/wired-settings.conf, line: 1
'[]\n'
Comment puis-je résoudre mon problème?
Merci d'avance pour votre aide
Dernière modification par Davjack (Le 07/05/2008, à 18:28)
Hors ligne
#2 Le 07/05/2008, à 18:25
- Davjack
Re : [résolu] wicd : l'icone s'affiche, mais plus gui.py
Je résolu le problème.
Pour ceux à qui ça arriverait, ce que j'ai fait :
- supprimé wicd : sudo apt-get remove wicd
- supprimé /opt/wicd : sudo rm /opt/wicd -R
- réinstallé wicd : sudo apt-get install wicd
Et le tout refonctionne
Hors ligne