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 root    35 23 janv. 11:41 backend.py ->
/usr/share/pyshared/wicd/backend.py
lrwxrwxrwx 1 root root    41 23 janv. 11:41 configmanager.py ->
/usr/share/pyshared/wicd/configmanager.py
lrwxrwxrwx 1 root root    39 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 root    35 23 janv. 11:41 logfile.py ->
/usr/share/pyshared/wicd/logfile.py
lrwxrwxrwx 1 root root    32 23 janv. 11:41 misc.py ->
/usr/share/pyshared/wicd/misc.py
lrwxrwxrwx 1 root root    38 23 janv. 11:41 networking.py ->
/usr/share/pyshared/wicd/networking.py
lrwxrwxrwx 1 root root    40 23 janv. 11:41 translations.py ->
/usr/share/pyshared/wicd/translations.py
lrwxrwxrwx 1 root root    37 23 janv. 11:41 wnettools.py ->
/usr/share/pyshared/wicd/wnettools.py
lrwxrwxrwx 1 root root    33 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-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to