I use "sudo ufw status" to view firewall state info, the command line didn't 
return firewall state info, but the following error happened.
Traceback (most recent call last):
  File "/usr/sbin/ufw", line 115, in <module>
    res = ui.do_action(action, rule, ip_version)
  File "/usr/lib/python2.6/dist-packages/ufw/frontend.py", line 763, in 
do_action
    res = self.get_status()
  File "/usr/lib/python2.6/dist-packages/ufw/frontend.py", line 544, in 
get_status
    out = self.backend.get_status(verbose, show_count)
  File "/usr/lib/python2.6/dist-packages/ufw/backend_iptables.py", line 298, in 
get_status
    return _("Status: active%s") % (str)
TypeError: not all arguments converted during string formatting

$ ufw --version
ufw 0.27-0ubuntu1
Copyright (C) 2008-2009 Canonical Ltd.


** Attachment added: "etc_ufw.tar.gz"
   http://launchpadlibrarian.net/24307035/etc_ufw.tar.gz

-- 
ufw crashed with TypeError in get_status()
https://bugs.launchpad.net/bugs/346563
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to