Bug 717262 - [abrt] system-config-services-0.101.2-1.fc15: unit.py:98:__init__:UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 11: ordinal not in range(128)
Summary: [abrt] system-config-services-0.101.2-1.fc15: unit.py:98:__init__:UnicodeDeco...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-services
Version: 15
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nils Philippsen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:552167b3e44008ab214032c6c34...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-28 13:21 UTC by Misha Shnurapet
Modified: 2011-07-06 21:33 UTC (History)
1 user (show)

Fixed In Version: system-config-services-0.101.3-1.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-06 21:33:42 UTC
Type: ---


Attachments (Terms of Use)

Description Misha Shnurapet 2011-06-28 13:21:34 UTC
abrt version: 2.0.3
architecture:   i686
cmdline:        /usr/bin/python /usr/share/system-config-services/system-config-services-mechanism.py
comment:        
component:      system-config-services
executable:     /usr/share/system-config-services/system-config-services-mechanism.py
global_uuid:    552167b3e44008ab214032c6c348e175ca11e2d5
kernel:         2.6.38.6-27.fc15.i686
os_release:     Fedora release 15 (Lovelock)
package:        system-config-services-0.101.2-1.fc15
reason:         unit.py:98:__init__:UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 11: ordinal not in range(128)
time:           Sun May 29 14:44:27 2011
uid:            0
username:       root

backtrace:
:unit.py:98:__init__:UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 11: ordinal not in range(128)
:
:Traceback (most recent call last):
:  File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 586, in msg_reply_handler
:    reply_handler(*message.get_args_list(**get_args_opts))
:  File "/usr/lib/python2.7/site-packages/scservices/core/systemd/manager.py", line 87, in on_discover_units_reply
:    self.on_unit_new(unit_id, unit_path)
:  File "/usr/lib/python2.7/site-packages/scservices/core/systemd/manager.py", line 101, in on_unit_new
:    new_unit = SystemDUnit(self, unit_id, unit_path)
:  File "/usr/lib/python2.7/site-packages/scservices/core/systemd/unit.py", line 98, in __init__
:    self.name = name.encode('utf-8', 'replace')
:UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 11: ordinal not in range(128)
:
:Local variables in innermost frame:
:unit_name_encoded: 'home-misha-\\xd0\\xa1\\xd0\\xb2\\xd0\\xb0\\xd0\\xbb\\xd0\\xba\\xd0\\xb0'
:name: 'home-misha-\xd0\xa1\xd0\xb2\xd0\xb0\xd0\xbb\xd0\xba\xd0\xb0'
:self: <SystemDMount object at 0xb758e0cc (GObject at 0x9be8ad0) 'home-misha-\xd0\xa1\xd0\xb2\xd0\xb0\xd0\xbb\xd0\xba\xd0\xb0.mount'>
:unit_id: dbus.String(u'home-misha-\\xd0\\xa1\\xd0\\xb2\\xd0\\xb0\\xd0\\xbb\\xd0\\xba\\xd0\\xb0.mount')
:manager: <SystemDManager object at 0xb761e7ac (GObject at 0x99fa730)>
:bus_path: dbus.ObjectPath('/org/freedesktop/systemd1/unit/home_2dmisha_2d_5cxd0_5cxa1_5cxd0_5cxb2_5cxd0_5cxb0_5cxd0_5cxbb_5cxd0_5cxba_5cxd0_5cxb0_2emount')

Comment 1 Nils Philippsen 2011-06-28 14:02:55 UTC
Seems I got the .encode()/.decode() logic of str objects backwards.

Comment 2 Fedora Update System 2011-06-28 14:19:39 UTC
system-config-services-0.101.3-1.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/system-config-services-0.101.3-1.fc15

Comment 3 Fedora Update System 2011-06-28 20:26:22 UTC
Package system-config-services-0.101.3-1.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing system-config-services-0.101.3-1.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/system-config-services-0.101.3-1.fc15
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2011-07-06 21:33:37 UTC
system-config-services-0.101.3-1.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.