Bug#812224: IndexError: list index out of range

2016-01-23 Thread Axel Beckert
Control: tag -1 + help upstream

Hi,

Axel Beckert wrote:
> Jens Kubieziel wrote:
> > * Axel Beckert schrieb am 2016-01-22 um 13:23 Uhr:
> > > The connection you've chosen, is that a wireless or a wired one? I
> > > suspect a wireless one.
> > 
> > Your suspicion is right. It's wireless.
> 
> Thanks. Will have a look at it. Seems as if I checked changing
> properties of wireless networks (which resulted in the patch
> https://anonscm.debian.org/cgit/collab-maint/wicd.git/tree/debian/patches/35-fix_ValueError_None_is_not_in_list.patch)
> but not actually connecting to one as I prefer wired connections at
> home for better backup performance. Sorry for missing that.

Hrm, I actually can't connect to my wireless network at home with wicd
anymore, but I couldn't find a solution to either issue. :-/

I'll contact the new upstream about this issue. If neither the new
upstream nor the anyone else reading this comes up with a fix, I'm
considering uploading 1.7.2.4 again to unstable, either with an epoch
added or with a "+really1.7.2.4" suffix to the upstream version.

Regards, Axel
-- 
 ,''`.  |  Axel Beckert , http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-|  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE



Bug#812224: IndexError: list index out of range

2016-01-23 Thread Axel Beckert
Control: tag -1 - help + pending

Hi again,

Axel Beckert wrote:
> I'll contact the new upstream about this issue.

Actually the bug has been reported 4 times upstream. A few of these
bug reports had patches. Took the one from ArchLinux, where someone
thanked for the patch and confirmed that it's working.

Will upload a new package soon. I though fear there are more such
issues in here... Any help is appreciated.

Regards, Axel
-- 
 ,''`.  |  Axel Beckert , http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-|  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE



Bug#812224: IndexError: list index out of range

2016-01-22 Thread Jens Kubieziel
* Axel Beckert schrieb am 2016-01-22 um 13:23 Uhr:
> The connection you've chosen, is that a wireless or a wired one? I
> suspect a wireless one.

Your suspicion is right. It's wireless.

-- 
Jens Kubieziel   http://www.kubieziel.de
My advice (which I'm quite sure someone else has given here previously):
Use the OS you're most comfortable with. All of them can be adequately
secured, and the administrator is in just about all cases the point of
vulnerability.  Charles Duffy



Bug#812224: IndexError: list index out of range

2016-01-22 Thread Jens Kubieziel
* Axel Beckert schrieb am 2016-01-22 um 00:08 Uhr:
> I suspect the relevant "workaround" is to switch on "Always show wired
> interface". At least I was able to reproduce that crash a few times
> (but by far not always) if I turn that option off and there are no
> wireless networks available either, i.e. the list of networks to
> connect to is rather empty.

The workaround doesn't work here. wicd-curses crashes on every
connection. So I open wicd-curses, choose a network and press Enter.
After the connection is etablished, wicd-curses crashes. The error
message (list index out of range) was the same in both cases.

-- 
Jens Kubieziel   http://www.kubieziel.de
Lache nie über die Dummheit der anderen. Sie kann deine Chance sein.
Winston Churchill



Bug#812224: IndexError: list index out of range

2016-01-22 Thread Axel Beckert
Hi Jens,

Jens Kubieziel wrote:
> * Axel Beckert schrieb am 2016-01-22 um 00:08 Uhr:
> > I suspect the relevant "workaround" is to switch on "Always show wired
> > interface". At least I was able to reproduce that crash a few times
> > (but by far not always) if I turn that option off and there are no
> > wireless networks available either, i.e. the list of networks to
> > connect to is rather empty.
> 
> The workaround doesn't work here. wicd-curses crashes on every
> connection. So I open wicd-curses, choose a network and press Enter.
> After the connection is etablished, wicd-curses crashes. The error
> message (list index out of range) was the same in both cases.

Thanks for the additional feedback.

The connection you've chosen, is that a wireless or a wired one? I
suspect a wireless one.

Regards, Axel
-- 
 ,''`.  |  Axel Beckert , http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-|  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE



Bug#812224: IndexError: list index out of range

2016-01-22 Thread Axel Beckert
Hi Jens,

Jens Kubieziel wrote:
> * Axel Beckert schrieb am 2016-01-22 um 13:23 Uhr:
> > The connection you've chosen, is that a wireless or a wired one? I
> > suspect a wireless one.
> 
> Your suspicion is right. It's wireless.

Thanks. Will have a look at it. Seems as if I checked changing
properties of wireless networks (which resulted in the patch
https://anonscm.debian.org/cgit/collab-maint/wicd.git/tree/debian/patches/35-fix_ValueError_None_is_not_in_list.patch)
but not actually connecting to one as I prefer wired connections at
home for better backup performance. Sorry for missing that.

Regards, Axel
-- 
 ,''`.  |  Axel Beckert , http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-|  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE



Bug#812224: IndexError: list index out of range

2016-01-21 Thread Salvo Tomaselli
Package: wicd-curses
Version: 1.7.3-2
Severity: grave
Justification: renders package unusable

Dear Maintainer,

the new version of wicd is rather crashy.

> ERROR:dbus.connection:Exception in handler for D-Bus signal:
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 230, in 
> maybe_handle_message
> self._handler(*args, **kwargs)
>   File "/usr/share/wicd/curses/wicd-curses.py", line 97, in wrapper
> return func(*args, **kargs)
>   File "/usr/share/wicd/curses/wicd-curses.py", line 850, in update_netlist
> self.wiredCB.get_body().set_list(wiredL)
>   File "/usr/share/wicd/curses/wicd-curses.py", line 469, in set_list
> wired.ReadWiredNetworkProfile(self.get_selected_profile())
>   File "/usr/share/wicd/curses/wicd-curses.py", line 535, in 
> get_selected_profile
> return self.theList[loc]
> IndexError: list index out of range


This happens every time, without doing anything at all.

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.4.0f (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages wicd-curses depends on:
ii  python-urwid  1.3.1-2
pn  python:any
ii  wicd-daemon   1.7.3-2

Versions of packages wicd-curses recommends:
ii  sudo  1.8.15-1.1

wicd-curses suggests no packages.

Versions of packages wicd-daemon depends on:
ii  adduser  3.113+nmu3
ii  dbus 1.10.6-1
ii  debconf  1.5.58
ii  ethtool  1:4.2-1
ii  iproute2 4.3.0-1
ii  iputils-ping 3:20121221-5+b2
ii  isc-dhcp-client  4.3.3-5
ii  lsb-base 9.20160110
ii  net-tools1.60+git20150829.73cef8a-2
ii  psmisc   22.21-2.1+b1
ii  python-dbus  1.2.0-3
ii  python-gobject   3.18.2-2
ii  python-wicd  1.7.3-2
pn  python:any   
ii  wireless-tools   30~pre9-8
ii  wpasupplicant2.3-2.3

Versions of packages wicd-daemon recommends:
ii  rfkill  0.5-1

Versions of packages wicd-daemon suggests:
pn  pm-utils  

Versions of packages python-wicd depends on:
pn  python:any  

-- debconf information excluded



Bug#812224: IndexError: list index out of range

2016-01-21 Thread Axel Beckert
Control: tag -1 - unreproducible

Hi Salvo,

Axel Beckert wrote:
> > > ERROR:dbus.connection:Exception in handler for D-Bus signal:
> > > Traceback (most recent call last):
> > >   File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 230, 
> > > in maybe_handle_message
> > > self._handler(*args, **kwargs)
> > >   File "/usr/share/wicd/curses/wicd-curses.py", line 97, in wrapper
> > > return func(*args, **kargs)
> > >   File "/usr/share/wicd/curses/wicd-curses.py", line 850, in 
> > > update_netlist
> > > self.wiredCB.get_body().set_list(wiredL)
> > >   File "/usr/share/wicd/curses/wicd-curses.py", line 469, in set_list
> > > wired.ReadWiredNetworkProfile(self.get_selected_profile())
> > >   File "/usr/share/wicd/curses/wicd-curses.py", line 535, in 
> > > get_selected_profile
> > > return self.theList[loc]
> > > IndexError: list index out of range
> > 
> > This happens every time, without doing anything at all.
> 
> Hrm, not for me. I use mostly wicd-curses, too, and it works fine for
> me.

I suspect the relevant "workaround" is to switch on "Always show wired
interface". At least I was able to reproduce that crash a few times
(but by far not always) if I turn that option off and there are no
wireless networks available either, i.e. the list of networks to
connect to is rather empty.

Pressing "R" in that situation also raises the chance of getting this error.

Regards, Axel
-- 
 ,''`.  |  Axel Beckert , http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-|  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE



Bug#812224: IndexError: list index out of range

2016-01-21 Thread Axel Beckert
Control: tag -1 + unreproducible

Hi Salvo,

Salvo Tomaselli wrote:
> the new version of wicd is rather crashy.

Indeed. I had to add a patch or two already due to that.

> > ERROR:dbus.connection:Exception in handler for D-Bus signal:
> > Traceback (most recent call last):
> >   File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 230, in 
> > maybe_handle_message
> > self._handler(*args, **kwargs)
> >   File "/usr/share/wicd/curses/wicd-curses.py", line 97, in wrapper
> > return func(*args, **kargs)
> >   File "/usr/share/wicd/curses/wicd-curses.py", line 850, in update_netlist
> > self.wiredCB.get_body().set_list(wiredL)
> >   File "/usr/share/wicd/curses/wicd-curses.py", line 469, in set_list
> > wired.ReadWiredNetworkProfile(self.get_selected_profile())
> >   File "/usr/share/wicd/curses/wicd-curses.py", line 535, in 
> > get_selected_profile
> > return self.theList[loc]
> > IndexError: list index out of range
> 
> This happens every time, without doing anything at all.

Hrm, not for me. I use mostly wicd-curses, too, and it works fine for
me.

The question is now: What's the difference? Do you have e.g. multiple
wired connection profiles or such?

Regards, Axel
-- 
 ,''`.  |  Axel Beckert , http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-|  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE