wicd-gtk and wict-curses freeze on Unicode SSIDs

Bug #1722061 reported by Liudvikas Akelis
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
wicd
New
Undecided
Unassigned

Bug Description

wicd-gtk progress bar freezes on 'Disconnecting active connections' when attempting to connect to Unicode-containing SSIDs. Most other buttons still work, for example you can scan for new networks, but it's impossible to connect to another network or stop the current connection process. There is no output or indication of any error when running from a terminal.
wicd-curses actually crashes when trying to connect to Unicode SSIDs right after it shows 'Obtaining IP address'. The terminal then has this:

Traceback (most recent call last):
  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 924, in update_status
    self.set_status):
  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 175, in check_for_wireless
    ('$A', network).replace
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc4 in position 7: ordinal not in range(128)

SSIDs that exhibit this:
LNB Svečiai
Šmirgel
Ąg

SSIDs that work fine:
TP-LINK_43B336
Redmi
Redmi the Great
uneek

Revision history for this message
Flávio Amieiro (flavioamieiro) wrote :

This patch solved it for me (on wicd-curses, but the workaround in the gtk client should be similar). This might not be the best way to solve it, but it does work around the problem for now.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.