On Wed, 07 Dec 2011 11:20:26 +0100, Raphael Plasson wrote:

> Hi,

Hello,

> since I upgraded wicd to v. 1.7.1~b3-1 today, I cannot connect anymore 
> with wicd (I switched back to network-manager, that I always keep 
> installed as a safety).
> The mistake is very similar to the one reported here. Feel free to 
> change this bug report to wicd package, or to change its criticality if 
> needed.
> 
> Nothing happens if I try to connect with wicd-kde (I do see a list of 
> available networks, but that's it).

The DBus API changed in 1.7.1, and the upcoming wicd-kde release will support
it. Unfortunately, current wicd-kde in Debian doesn't. Me and wicd-kde's
upstream coordinated the respective releases on 17-18 December, so that should
be fixed by then :)

> Trying to launch wicd-curses gives this error:
> Traceback (most recent call last):
>    File "/usr/share/wicd/curses/wicd-curses.py", line 1063, in <module>
>      main()
>    File "/usr/share/wicd/curses/wicd-curses.py", line 995, in main
>      ui.run_wrapper(run)
>    File "/usr/lib/python2.7/dist-packages/urwid/raw_display.py", line 
> 229, in run_wrapper
>      return fn()
>    File "/usr/share/wicd/curses/wicd-curses.py", line 89, in wrapper
>      return func(*args, **kargs)
>    File "/usr/share/wicd/curses/wicd-curses.py", line 1003, in run
>      app = appGUI()
>    File "/usr/share/wicd/curses/wicd-curses.py", line 551, in __init__
>      self.update_netlist(force_check=True,firstrun=True)
>    File "/usr/share/wicd/curses/wicd-curses.py", line 89, in wrapper
>      return func(*args, **kargs)
>    File "/usr/share/wicd/curses/wicd-curses.py", line 670, in update_netlist
>      wiredL,wlessL = gen_network_list()
>    File "/usr/share/wicd/curses/wicd-curses.py", line 177, in 
> gen_network_list
>      label = NetLabel(network_id,is_active)
>    File "/usr/share/wicd/curses/wicd-curses.py", line 358, in __init__
>      self.stren,self.essid,self.encrypt,self.bssid,self.mode,self.channel)
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 5: 
> ordinal not in range(128)

I *hate* this Unicode mess in Python :(

> So there is indeed a bug where some informations that can be in utf-8 
> format are only expected to be in ascii by wicd (I don't know which 
> parameter is , concerned in the reported line 358 of sicd-curses.py, but 
> I suspect it is about the encoding of self.essid, that is indeed 
> unlikely to only contain ASCII characters).

Yup, and the same goes with keys / user identities in general.
I'll see what I can come up with; I'd really like to fix this with 1.7.1.

> This bug seems critical, as wicd cannot be used in this case.

It's not critical, but it's normal/important. WICD can still be used on non-utf
networks ;)

Kindly,
David

-- 
 . ''`.   Debian developer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://deb.li/dapal
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174

Attachment: signature.asc
Description: PGP signature

Reply via email to