Your message dated Mon, 16 Apr 2012 22:46:21 +0200
with message-id <20120416224621.339813b2@local>
and subject line Re: Bug#669051: wicd-curses exits with UnicodeDecodeError 
exception when trying to configure a network
has caused the Debian Bug report #669051,
regarding wicd-curses exits with UnicodeDecodeError exception when trying to 
configure a network
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
669051: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=669051
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: wicd-curses
Version: 1.7.1-1
Severity: important
Tags: patch l10n

Dear Maintainer,

   * What led up to the situation?

Start wicd-curses, choose a wireless network and press the right arrow key to
access the network configuration dialog.

   * What was the outcome of this action?

wicd-curses exits with the following exception:

Traceback (most recent call last):
  File "/usr/share/wicd/curses/wicd-curses.py", line 921, 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 932, in update_ui
    self.handle_keys(input_data[1])
  File "/usr/share/wicd/curses/wicd-curses.py", line 835, in handle_keys
    self.diag = WirelessSettingsDialog(pos,self.frame)
  File "/usr/share/wicd/curses/netentry_curses.py", line 385, in __init__
    title = _('Configuring preferences for wireless network "$A" 
($B)').replace('$A',wireless.GetWirelessProperty(networkID,'essid')).replace('$B',wireless.GetWirelessProperty(networkID,'bssid'))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 15: 
ordinal not in range(128)

The following patch resolved the problem for me:

--- /usr/share/pyshared/wicd/translations.py    2011-10-18 21:44:13.000000000 
+0200
+++ translations.py     2012-04-16 21:12:56.378203394 +0200
@@ -52,7 +52,7 @@
     langs += ["en_US"]
     lang = gettext.translation('wicd', local_path, languages=langs, 
                                fallback=True)
-    _ = lang.gettext
+    _ = lang.ugettext
     return _
 
 _ = get_gettext()

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to de_DE.utf8)
Shell: /bin/sh linked to /bin/dash

Versions of packages wicd-curses depends on:
ii  python        2.7.2-10
ii  python-urwid  1.0.1-2
ii  wicd-daemon   1.7.1-1

Versions of packages wicd-curses recommends:
pn  sudo  <none>

wicd-curses suggests no packages.

Versions of packages wicd-cli depends on:
ii  wicd-daemon  1.7.1-1

Versions of packages wicd-cli recommends:
pn  sudo  <none>

Versions of packages wicd-gtk depends on:
ii  python         2.7.2-10
ii  python-glade2  2.24.0-3
ii  python-gtk2    2.24.0-3
ii  wicd-daemon    1.7.1-1

Versions of packages wicd-gtk recommends:
pn  gksu           <none>
pn  python-notify  <none>

Versions of packages wicd-daemon depends on:
ii  adduser                         3.113+nmu1
ii  dbus                            1.5.12-1
ii  debconf                         1.5.42
ii  dhcp3-client                    4.1.1-P1-17
ii  iproute                         20120319-1
ii  iputils-ping                    3:20101006-1+b1
ii  isc-dhcp-client [dhcp3-client]  4.2.2.dfsg.1-4
ii  lsb-base                        4.1+Debian0
ii  net-tools                       1.60-24.1
ii  psmisc                          22.16-1
ii  python                          2.7.2-10
ii  python-dbus                     0.84.0-3
ii  python-gobject                  3.1.0-2
ii  python-wicd                     1.7.1-1
ii  wireless-tools                  30~pre9-8
ii  wpasupplicant                   0.7.3-6

wicd-daemon recommends no packages.

Versions of packages wicd-daemon suggests:
ii  pm-utils  1.4.1-9

Versions of packages python-wicd depends on:
ii  python     2.7.2-10
ii  python2.6  2.6.7-4
ii  python2.7  2.7.2-8

-- debconf information excluded



--- End Message ---
--- Begin Message ---
Version: 1.7.2-1

Hello Konrad,

On Mon, 16 Apr 2012 21:17:44 +0200, Konrad Schöbel wrote:

> Package: wicd-curses
> Version: 1.7.1-1
> Severity: important
> Tags: patch l10n
> 
> Dear Maintainer,
> [..]

Thanks for your report!

However, this was already fixed in unstable. So please wait for the current
version in unstable to flow into testing :)

And...

> [..]
> The following patch resolved the problem for me:
> 
> --- /usr/share/pyshared/wicd/translations.py  2011-10-18
> 21:44:13.000000000 +0200 +++ translations.py  2012-04-16
> 21:12:56.378203394 +0200 @@ -52,7 +52,7 @@
>      langs += ["en_US"]
>      lang = gettext.translation('wicd', local_path, languages=langs, 
>                                 fallback=True)
> -    _ = lang.gettext
> +    _ = lang.ugettext
>      return _
>  
>  _ = get_gettext()

This patch is much cleaner then how I fixed it in 1.7.2. Many thanks!

  http://bazaar.launchpad.net/~wicd-devel/wicd/experimental/revision/757

-- 
 . ''`.   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


--- End Message ---

Reply via email to