Package: wicd-curses
Version: 1.7.0+ds1-5
Severity: normal

[Due to wicd not properly working, I write this bug report offline. I
know that I reported a similar bug with wicd saving essids with accents
in the wrong format, i.e. not crashing. This may be related, but it
doesn't need to.]

When entering the WEP key "dé Réseau" (the é letters, entered as
"Alt-i", showed up properly in wicd-curses as well as the terminal
itself, "echo -n é | wc -c" printed "2" which means it's really a UTF-8
"é") and saving, wicd-curses crashed:

EXCEPTION! Please report this to the maintainer and file a bug report with the 
backtrace below:
Traceback (most recent call last):
  File "/usr/share/wicd/curses/wicd-curses.py", line 904, in call_update_ui
    self.update_ui(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 915, in update_ui
    self.handle_keys(input_data[1])
  File "/usr/share/wicd/curses/wicd-curses.py", line 896, in handle_keys
    self.diag.save_settings()
  File "/usr/share/wicd/curses/netentry_curses.py", line 363, in save_settings
    self.set_net_prop(entry_key, noneToString(entry_info[0].
  File "/usr/lib/pymodules/python2.6/wicd/misc.py", line 379, in noneToString
    return str(text)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 1: 
ordinal not in range(128)

Environment of that terminal, an uxterm:

USER=abe
HOME=/home/abe
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-TPT9UBd9uG,guid=81c56d747fb6ab3a15c3380200000037
DEBEMAIL=a...@debian.org
DEBFULLNAME=Axel Beckert
LOGNAME=abe
WINDOWPATH=7
PATH=/usr/local/bin:/usr/bin:/bin:/usr/games:/sbin:/usr/sbin:.ratpoison/bin:/sbin:/usr/sbin:/usr/local/bin/sbin:/usr/games:/home/abe/bin:/home/abe/sans/bin
DISPLAY=:0.0
LANG=en_US.UTF-8
WLAN_IF=wireless ath0
SSH_AUTH_SOCK=/tmp/keyring-sN8fMV/ssh
RATPOISON=ratpoison
SHELL=/bin/zsh
DEBUILD_LINTIAN=yes
GPG_AGENT_INFO=/tmp/gpg-GXNKDi/S.gpg-agent:2367:1
PWD=/home/abe
TERM=xterm-256color
WINDOWID=46137380
XTERM_VERSION=XTerm(266)
XTERM_LOCALE=en_US.UTF-8
XTERM_SHELL=/usr/bin/zsh
SHLVL=1
OLDPWD=/home/abe
EDITOR=emacsclient -a emacs
ABROWSER=lynx
BROWSER=conkeror
PAGER=less
MAIL=/var/mail/abe
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
LESS_TERMCAP_mb=
LESS_TERMCAP_md=
LESS_TERMCAP_me=
LESS_TERMCAP_se=
LESS_TERMCAP_so=
LESS_TERMCAP_ue=
LESS_TERMCAP_us=
COLORTERM=yes
QTDIR=/usr/share/qt4
LESSOPEN=/usr/bin/lessfile %s
LESSCLOSE=/usr/bin/lessfile %s %s
vcs_info_msg_0_=%{%}(%{%}git%{%})%{%}-%{%}[%{%}master%{%}]%{%}%}
 
vcs_info_msg_1_=zsh: unburden-home-dir
_=/usr/bin/env


-- System Information:
Debian Release: 6.0
  APT prefers unstable
  APT policy: (990, 'unstable'), (600, 'stable'), (400, 'oldstable'), (110, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.37-trunk-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages wicd-curses depends on:
ii  python                  2.6.6-3+squeeze5 interactive high-level object-orie
ii  python-urwid            0.9.9.1-1        curses-based UI/widget library for
ii  wicd-daemon             1.7.0+ds1-5      wired and wireless network manager

Versions of packages wicd-curses recommends:
ii  sudo                          1.7.4p4-6  Provide limited super user privile

wicd-curses suggests no packages.

Versions of packages wicd depends on:
ii  adduser                 3.112+nmu2       add and remove users and groups
ii  cdebconf [debconf-2.0]  0.153            Debian Configuration Management Sy
ii  dbus                    1.2.24-4         simple interprocess messaging syst
ii  debconf [debconf-2.0]   1.5.38           Debian configuration management sy
ii  iproute                 20100519-3       networking and traffic control too
ii  iputils-ping            3:20100418-3     Tools to test the reachability of 
ii  isc-dhcp-client [dhcp3- 4.1.1-P1-15      ISC DHCP client
ii  lsb-base                3.2-27           Linux Standard Base 3.2 init scrip
ii  net-tools               1.60-23          The NET-3 networking toolkit
ii  psmisc                  22.13-1          utilities that use the proc file s
ii  python                  2.6.6-3+squeeze5 interactive high-level object-orie
ii  python-dbus             0.83.1-1         simple interprocess messaging syst
ii  python-glade2           2.17.0-4         GTK+ bindings: Glade support
ii  python-gtk2             2.17.0-4         Python bindings for the GTK+ widge
ii  python-support          1.0.11           automated rebuilding support for P
ii  python-urwid            0.9.9.1-1        curses-based UI/widget library for
ii  udhcpc                  1:1.17.1-8       Provides the busybox DHCP client i
ii  wireless-tools          30~pre9-5        Tools for manipulating Linux Wirel
ii  wpasupplicant           0.6.10-2.1       client support for WPA and WPA2 (I

Versions of packages wicd-cli depends on:
ii  wicd-daemon                  1.7.0+ds1-5 wired and wireless network manager

Versions of packages wicd-daemon depends on:
ii  adduser               3.112+nmu2         add and remove users and groups
ii  cdebconf [debconf-2.0 0.153              Debian Configuration Management Sy
ii  dbus                  1.2.24-4           simple interprocess messaging syst
ii  debconf [debconf-2.0] 1.5.38             Debian configuration management sy
ii  iproute               20100519-3         networking and traffic control too
ii  iputils-ping          3:20100418-3       Tools to test the reachability of 
ii  isc-dhcp-client [dhcp 4.1.1-P1-15        ISC DHCP client
ii  lsb-base              3.2-27             Linux Standard Base 3.2 init scrip
ii  net-tools             1.60-23            The NET-3 networking toolkit
ii  psmisc                22.13-1            utilities that use the proc file s
ii  python                2.6.6-3+squeeze5   interactive high-level object-orie
ii  python-dbus           0.83.1-1           simple interprocess messaging syst
ii  python-gobject        2.21.4+is.2.21.3-1 Python bindings for the GObject li
ii  python-iniparse       0.3.2-1            Module to access and modify config
ii  python-wicd           1.7.0+ds1-5        wired and wireless network manager
ii  udhcpc                1:1.17.1-8         Provides the busybox DHCP client i
ii  wireless-tools        30~pre9-5          Tools for manipulating Linux Wirel
ii  wpasupplicant         0.6.10-2.1         client support for WPA and WPA2 (I

Versions of packages python-wicd depends on:
ii  python                  2.6.6-3+squeeze5 interactive high-level object-orie
ii  python-support          1.0.11           automated rebuilding support for P

-- debconf information:
* wicd/users: abetest, ermel ["abe" has been added manually to netdev before 
wicd was installed]
* wicd/users: abetest, ermel ["abe" has been added manually to netdev before 
wicd was installed]



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

Reply via email to