Bug 814487

Summary: [abrt] firewall-applet-0.2.4-1.fc17: firewall-applet:337:update:UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-1: ordinal not in range(128)
Product: [Fedora] Fedora Reporter: netroby <hufeng1987>
Component: firewalldAssignee: Thomas Woerner <twoerner>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: claudiorodrigo, hoboprimate, jpopelka, lovenemesis, tcerede, twoerner
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:a1a1a17e89ad3a9c598985d5f5b6cef217728236
Fixed In Version: firewalld-0.2.6-1.fc18 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-13 09:12:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: smolt_data
none
encode connection (dbus.String) to utf-8 none

Description netroby 2012-04-20 01:21:07 UTC
libreport version: 2.0.10
abrt_version:   2.0.10
cmdline:        /usr/bin/python /usr/bin/firewall-applet
executable:     /usr/bin/firewall-applet
kernel:         3.3.2-1.fc17.x86_64
time:           2012年04月20日 星期五 09时20分38秒
uid:            1000
username:       netroby

smolt_data:     Binary file, 2946 bytes

backtrace:
:firewall-applet:337:update:UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-1: ordinal not in range(128)
:
:Traceback (most recent call last):
:  File "/usr/bin/firewall-applet", line 478, in <module>
:    applet = TrayApplet()
:  File "/usr/bin/firewall-applet", line 170, in __init__
:    self.connect_to_firewalld()
:  File "/usr/bin/firewall-applet", line 245, in connect_to_firewalld
:    self.update()
:  File "/usr/bin/firewall-applet", line 337, in update
:    interface=interface))
:UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-1: ordinal not in range(128)
:
:Local variables in innermost frame:
:zone: 'public'
:text: "Zone '{zone}' active for connection '{connection}' on interface '{interface}'"
:self: <__main__.TrayApplet object at 0x1453590>
:messages: []
:connection: dbus.String(u'\u81ea\u52a8 deyilife_gear', variant_level=1)
:interface: 'wlan0'

Comment 1 netroby 2012-04-20 01:21:11 UTC
Created attachment 578827 [details]
File: smolt_data

Comment 2 Jiri Popelka 2012-04-20 14:58:37 UTC
What does the 'locale' command show ?

Comment 3 Jiri Popelka 2012-04-20 15:52:58 UTC
Created attachment 579048 [details]
encode connection (dbus.String) to utf-8

Maybe there's a better way but this should fix it.

Comment 4 Jiri Popelka 2012-05-07 12:41:48 UTC
*** Bug 819269 has been marked as a duplicate of this bug. ***

Comment 6 Jiri Popelka 2012-05-14 09:49:44 UTC
*** Bug 821203 has been marked as a duplicate of this bug. ***

Comment 7 Jiri Popelka 2012-06-08 08:43:51 UTC
*** Bug 829956 has been marked as a duplicate of this bug. ***

Comment 8 Jiri Popelka 2013-01-05 17:29:17 UTC
*** Bug 892123 has been marked as a duplicate of this bug. ***