Bug#566023: Info received (Bug#566203: wicd 1.7 fails to start)
Well, even after reinstall python-wicd (just in case), here is what I get : st...@localhost:~$ python -c import wicd.wpath; print wicd.wpath.version Traceback (most recent call last): File string, line 1, in module AttributeError: 'module' object has no attribute 'version' st...@localhost:~$ python -c from wicd import dbusmanager, logfile; print dbusmanager.__file__; print logfile.__file__ Traceback (most recent call last): File string, line 1, in module ImportError: cannot import name dbusmanager I tried to check exactly which module is imported by python, see : st...@localhost:~$ python -c import wicd.wpath; print wicd.wpath module 'wicd.wpath' from '/usr/lib/python2.5/site-packages/wicd/wpath.pyc' But from your example, I think it shall be the one found in here : st...@localhost:~$ ls -l /usr/lib/pymodules/python2.5/wicd/ | grep .py$ lrwxrwxrwx 1 root root35 23 janv. 11:41 backend.py - /usr/share/pyshared/wicd/backend.py lrwxrwxrwx 1 root root41 23 janv. 11:41 configmanager.py - /usr/share/pyshared/wicd/configmanager.py lrwxrwxrwx 1 root root39 23 janv. 11:41 dbusmanager.py - /usr/share/pyshared/wicd/dbusmanager.py -rw-r--r-- 1 root root 0 20 janv. 18:58 __init__.py lrwxrwxrwx 1 root root35 23 janv. 11:41 logfile.py - /usr/share/pyshared/wicd/logfile.py lrwxrwxrwx 1 root root32 23 janv. 11:41 misc.py - /usr/share/pyshared/wicd/misc.py lrwxrwxrwx 1 root root38 23 janv. 11:41 networking.py - /usr/share/pyshared/wicd/networking.py lrwxrwxrwx 1 root root40 23 janv. 11:41 translations.py - /usr/share/pyshared/wicd/translations.py lrwxrwxrwx 1 root root37 23 janv. 11:41 wnettools.py - /usr/share/pyshared/wicd/wnettools.py lrwxrwxrwx 1 root root33 23 janv. 11:41 wpath.py - /usr/share/pyshared/wicd/wpath.py Indeed : st...@localhost:~$ less /usr/lib/pymodules/python2.5/wicd/wpath.py | grep version version = '1.7.0' So, it seems that the wrong module (an older version maybe) is imported, my python setup may be wrong or something. I didn't mess with it in the past though. Thanks -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#566023: Info received (Bug#566203: wicd 1.7 fails to start)
(please keep Guilherme CCed) On Saturday 23 January 2010 11:54:57, Benjamin MAISONNAS wrote: Well, even after reinstall python-wicd (just in case), here is what I get : [..] I tried to check exactly which module is imported by python, see : st...@localhost:~$ python -c import wicd.wpath; print wicd.wpath module 'wicd.wpath' from '/usr/lib/python2.5/site-packages/wicd/wpath.pyc' Oh, here's the culprit. $ LANG=C ls -d /usr/*/python*.*/*-packages/wicd* ls: cannot access /usr/*/python*.*/*-packages/wicd*: No such file or directory $ [..] So, it seems that the wrong module (an older version maybe) is imported, my python setup may be wrong or something. I didn't mess with it in the past though. I suspect this has something to do with python-support. What version do you have? What happens if you purge python-wicd, and then reinstall it? Also, see: $ dpkg -c ../../build-area/wicd_1.6.2.2-4_all.deb |grep python drwxr-xr-x root/root 0 2010-01-23 11:28 ./usr/share/python-support/ -rw-r--r-- root/root 879 2010-01-23 11:28 ./usr/share/python- support/wicd.private $ i.e. there's no pythonX.Y/*-packages in the 1.6.2.2-4 package, thus I don't think it's some old file staying around. Kindly, David -- . ''`. Debian developer | http://wiki.debian.org/DavidPaleino : :' : Linuxer #334216 --|-- http://www.hanskalabs.net/ `. `'` GPG: 1392B174 | `- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174 signature.asc Description: This is a digitally signed message part.
Bug#566023: Info received (Bug#566203: wicd 1.7 fails to start)
On Sat, Jan 23, 2010 at 12:06 PM, David Paleino da...@debian.org wrote: (please keep Guilherme CCed) Right, done. I suspect this has something to do with python-support. What version do you have? The current one in Sid : localhost:~# LANG=C aptitude show python-support | grep Version Version: 1.0.6 I even ran update-python-modules, nothing changed. What happens if you purge python-wicd, and then reinstall it? Nothing better after purging and reinstalling. Also, see: $ dpkg -c ../../build-area/wicd_1.6.2.2-4_all.deb |grep python drwxr-xr-x root/root 0 2010-01-23 11:28 ./usr/share/python-support/ -rw-r--r-- root/root 879 2010-01-23 11:28 ./usr/share/python- support/wicd.private $ i.e. there's no pythonX.Y/*-packages in the 1.6.2.2-4 package, thus I don't think it's some old file staying around. Kindly, David -- . ''`. Debian developer | http://wiki.debian.org/DavidPaleino : :' : Linuxer #334216 --|-- http://www.hanskalabs.net/ `. `'` GPG: 1392B174 | `- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174 Ciao