ufw crashed with UnicodeDecodeError in get_status()

Bug #531886 reported by darthkhamul on 2010-03-04
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ufw (Ubuntu)
High
Jamie Strandboge

Bug Description

Binary package hint: ufw

Everything works at start, I do following operations:
ufw status
ufw enable
ufw default reject
ufw allow ssh
Everything ok... but:
ufw status give now
sudo ufw status
Traceback (most recent call last):
  File "/usr/sbin/ufw", line 111, in <module>
    res = ui.do_action(pr.action, "", "", pr.force)
  File "/usr/lib/python2.6/dist-packages/ufw/frontend.py", line 574, in do_action
    res = self.get_status()
  File "/usr/lib/python2.6/dist-packages/ufw/frontend.py", line 252, in get_status
    out = self.backend.get_status(verbose, show_count)
  File "/usr/lib/python2.6/dist-packages/ufw/backend_iptables.py", line 444, in get_status
    return _("Status: active%s") % (str)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 0: ordinal not in range(128)

ProblemType: Crash
Architecture: amd64
Date: Thu Mar 4 13:29:18 2010
DistroRelease: Ubuntu 10.04
ExecutablePath: /usr/sbin/ufw
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100224.1)
InterpreterPath: /usr/bin/python2.6
NonfreeKernelModules: nvidia
Package: ufw 0.30pre1-0ubuntu1
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/sbin/ufw status
ProcEnviron:
 PATH=(custom, no user)
 LANG=fr_BE.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-15.22-generic
PythonArgs: ['/usr/sbin/ufw', 'status']
SourcePackage: ufw
Title: ufw crashed with UnicodeDecodeError in get_status()
Uname: Linux 2.6.32-15-generic x86_64
UserGroups:

Related branches

darthkhamul (emmanuel-strobbe) wrote :
tags: removed: need-duplicate-check
visibility: private → public
Changed in ufw (Ubuntu):
assignee: nobody → Jamie Strandboge (jdstrand)
importance: Undecided → High
status: New → Confirmed
Changed in ufw (Ubuntu):
status: Confirmed → Triaged
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ufw - 0.30pre1-0ubuntu2

---------------
ufw (0.30pre1-0ubuntu2) lucid; urgency=low

  * debian/postrm: adjust ordering of commands so that NFS mounted root
    filesystems can still access iptables. Thanks to Sebastian J. Bronner
    for discovering the issue and describing the fix. (LP: #524395)
  * merge fix from trunk for UnicodeDecodeError in get_status() (LP: #531886)
 -- Jamie Strandboge <email address hidden> Fri, 05 Mar 2010 11:03:46 -0600

Changed in ufw (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers