Unicode Exception of 'network' in wicd-curses.check_for_wireless

Bug #1289947 reported by Mek Karpeles
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
wicd
New
Undecided
Mek Karpeles

Bug Description

Steps to Reproduce:
1. Open wicd-curses
2. Select a network containing unicode
3. Close wicd-curses
4. Attempt to re-open wicd-curses

Results in crash & python traceback, error decoding Unicode character. Specific test case, create network with right single quote (’).

Solution:

    # Line 175, check_for_wireless() in wicd/curses/wicd-curses.py
    network = wireless.GetCurrentNetwork(iwconfig) # becomes ...
    network = wireless.GetCurrentNetwork(iwconfig).decode('utf-8')

Tags: unicode
Changed in wicd:
assignee: nobody → Mek Karpeles (michael-karpeles)
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.