Bug#566023: Possible solution?

2010-01-28 Thread Benjamin MAISONNAS
~# /etc/init.d/wicd start
Starting Network connection manager: wicd failed!
~# rm -r /usr/lib/python2.5/site-packages/wicd/
~# /etc/init.d/wicd start
Starting Network connection manager: wicd.
~#

You got it right, thanks !

On 1/28/10, David Paleino da...@debian.org wrote:
 Hello people,
 as per [0], seems like the problem is the module being located somewhere
 else
 from previous installations. Author of [0] is CCed.

 Can you please all confirm the bug disappears when removing
 /usr/*/python*/*-
 packages/wicd ? If yes, I'll handle that during the upgrade process.

 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




-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#566023: Bug#566203: wicd 1.7 fails to start

2010-01-23 Thread Benjamin MAISONNAS
Hi,

I was upgrading from 1.6.2.2-4.

As for python-wicd, note that it's already installed on my system :

localhost:~# LANG=C aptitude show python-wicd
Package: python-wicd
New: yes
State: installed
Automatically installed: yes
Version: 1.7.0-2
[...]

On 1/22/10, David Paleino da...@debian.org wrote:
 reassign 566203 src:wicd
 reassign 566030 src:wicd
 reassign 566027 src:wicd
 reassign 566023 src:wicd
 forcemerge 566203 566030 566027 566023
 retitle 566023 python-wicd is not pulled in with the dependencies
 thanks

 Guilherme, Benjamin,
 you reported the same bug four times. Please DO NOT DO THIS.
 From now on, please only reply to 566...@bugs.debian.org . Thank you.

 On Friday 22 January 2010 00:19:11, Guilherme wrote:
 Hello,

 I even reported it to the wicd guys but they told me that the problem is
 in
  the Debian packages:

 Indeed it is. For some reason, python-wicd isn't pulled in. However, here it
 seems to work fine:

 $ LANG=C sudo apt-get --dry-run --reinstall install wicd
 Reading package lists... Done
 Building dependency tree
 Reading state information... Done
 The following extra packages will be installed:
   python-wicd wicd-cli wicd-curses wicd-daemon wicd-gtk
 The following packages will be upgraded:
   python-wicd wicd wicd-cli wicd-curses wicd-daemon wicd-gtk
 6 upgraded, 0 newly installed, 0 to remove and 130 not upgraded.
 Inst wicd [1.7.0-1] (1.7.0-2 Debian:unstable) []
 Inst wicd-cli [1.7.0-1] (1.7.0-2 Debian:unstable) []
 Inst wicd-curses [1.7.0-1] (1.7.0-2 Debian:unstable) []
 Inst wicd-daemon [1.7.0-1] (1.7.0-2 Debian:unstable) [wicd-gtk ]
 Inst wicd-gtk [1.7.0-1] (1.7.0-2 Debian:unstable) []
 Inst python-wicd [1.7.0-1] (1.7.0-2 Debian:unstable)
 Conf python-wicd (1.7.0-2 Debian:unstable)
 Conf wicd-daemon (1.7.0-2 Debian:unstable)
 Conf wicd-gtk (1.7.0-2 Debian:unstable)
 Conf wicd-curses (1.7.0-2 Debian:unstable)
 Conf wicd-cli (1.7.0-2 Debian:unstable)
 Conf wicd (1.7.0-2 Debian:unstable)
 $

 (see, installing wicd brings everything in, including python-wicd)

 Could you please both say which version of wicd were you upgrading from?
 Maybe
 I just missed testing some upgrade path.

 Thank you,
 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




-- 
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)

2010-01-23 Thread Benjamin MAISONNAS
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)

2010-01-23 Thread Benjamin MAISONNAS
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