I am actually unable to trigger the "string" vs "strIng" issue at all
within ufw itself if I revert the codecs.open() change. Eg, if I apply
the following diff to src/backend.py:

=== modified file 'src/backend.py'
--- src/backend.py      2011-05-14 16:03:00 +0000
+++ src/backend.py      2012-03-12 23:03:33 +0000
@@ -205,6 +205,7 @@
 
             orig.close()
 
+        print self.defaults
         # do some default policy sanity checking
         policies = ['accept', 'accept_no_track', 'drop', 'reject']
         for c in [ 'input', 'output', 'forward' ]:

Then do:
$ sudo LC_TYPE=tr_TR.UTF-8 ufw status
{'ipt_modules': 'nf_conntrack_ftp nf_nat_ftp nf_conntrack_netbios_ns', 
'default_output_policy': 'accept', 'loglevel': 'low', 'manage_builtins': 'no', 
'enabled': 'no', 'default_input_policy': 'drop', 'default_forward_policy': 
'drop', 'ipv6': 'yes', 'default_application_policy': 'skip'}
Status: inactive

You can see that I don't have default_Input_policy, but the proper
'default_Input_policy'. I think that this ufw-frontends needs to be
adjusted. Please file a new bug. I am reverting this change in ufw.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/953372

Title:
  ufw 0.31: UnicodeDecodeError errors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ufw/+bug/953372/+subscriptions

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

Reply via email to