Bug 964673 - [abrt] system-config-printer-libs-1.4.1-1.fc19: statereason.py:124:get_description:UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 2: ordinal not in range(128)
Summary: [abrt] system-config-printer-libs-1.4.1-1.fc19: statereason.py:124:get_descri...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-printer
Version: 19
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:18099607f8d43d460460dff3a6e...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-19 12:24 UTC by klaus
Modified: 2013-05-27 03:19 UTC (History)
2 users (show)

Fixed In Version: system-config-printer-1.4.1-3.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-05-27 03:19:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.86 KB, text/plain)
2013-05-19 12:24 UTC, klaus
no flags Details
File: core_backtrace (226 bytes, text/plain)
2013-05-19 12:24 UTC, klaus
no flags Details
File: environ (908 bytes, text/plain)
2013-05-19 12:24 UTC, klaus
no flags Details

Description klaus 2013-05-19 12:24:22 UTC
Description of problem:
after update to latest system-config-packets I did try to install printer again with fedoras own driver epson-inkjet-printer-escpr version 1.2.2-2.1lsb3.2.fc19 that is provided amongst updates, too. So whenever I do updates this driver package is offered to me, but when I select it for installation, then my printer is not working any longer, i.e gives errors from system-printer config

Version-Release number of selected component:
system-config-printer-libs-1.4.1-1.fc19

Additional info:
reporter:       libreport-2.1.4
cmdline:        /usr/bin/python /usr/share/system-config-printer/scp-dbus-service.py
executable:     /usr/share/system-config-printer/scp-dbus-service.py
kernel:         3.9.2-301.fc19.i686.PAE
runlevel:       N 5
uid:            1000

Truncated backtrace:
statereason.py:124:get_description:UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 2: ordinal not in range(128)

Traceback (most recent call last):
  File "/usr/share/system-config-printer/jobviewer.py", line 2041, in state_reason_added
    (title, text) = reason.get_description ()
  File "/usr/share/system-config-printer/statereason.py", line 124, in get_description
    text = text % self.get_printer ()
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 2: ordinal not in range(128)

Local variables in innermost frame:
text: 'Es Drucker-Filter f\xc3\xbcr den Drucker \xc2\xbb%s\xc2\xab fehlt.'
self: <statereason.StateReason (WARNING,Epson-Stylus-SX218,cups-missing-filter)>
messages: {'media-low': ('Wenig Papier', 'Drucker \xc2\xbb%s\xc2\xab hat nur noch wenig Papier.'), 'toner-empty': ('Toner leer', 'Drucker \xc2\xbb%s\xc2\xab hat keinen Toner mehr'), 'connecting-to-device': ('Nicht angeschlossen?', 'Drucker \xc2\xbb%s\xc2\xab ist ggf. nicht angeschlossen.'), 'door-open': ('Klappe offen', 'Die Klappe des Druckers \xc2\xbb%s\xc2\xab ist offen.'), 'media-empty': ('Kein Papier', 'Drucker \xc2\xbb%s\xc2\xab hat kein Papier mehr'), 'marker-supply-empty': ('Keine Tinte', 'Drucker \xc2\xbb%s\xc2\xab hat keine Tinte mehr'), 'toner-low': ('Wenig Toner', 'Drucker \xc2\xbb%s\xc2\xab hat nur noch wenig Toner'), 'cover-open': ('Abdeckung offen', 'Die Abdeckung des Druckers \xc2\xbb%s\xc2\xab ist offen.'), 'marker-supply-low': ('Wenig Tinte', 'Drucker \xc2\xbb%s\xc2\xab hat nur noch wenig Tinte.'), 'other': ('Drucker-Fehler', 'Es gibt ein Problem mit dem Drucker \xc2\xbb%s\xc2\xab.'), 'cups-missing-filter': ('Fehler in der Druckerkonfiguration', 'Es Drucker-Filter f\xc3\xbcr den Drucker \xc2\xbb%s\xc2\xab fehlt.'), 'offline': ('Drucker ausgeschaltet', 'Drucker \xc2\xbb%s\xc2\xab ist derzeit ausgeschaltet.')}
title: 'Fehler in der Druckerkonfiguration'

Comment 1 klaus 2013-05-19 12:24:26 UTC
Created attachment 750036 [details]
File: backtrace

Comment 2 klaus 2013-05-19 12:24:28 UTC
Created attachment 750037 [details]
File: core_backtrace

Comment 3 klaus 2013-05-19 12:24:30 UTC
Created attachment 750038 [details]
File: environ

Comment 4 Tim Waugh 2013-05-21 15:31:06 UTC
Fixed upstream in commit 0854fc0.

Comment 5 Fedora Update System 2013-05-22 08:32:47 UTC
system-config-printer-1.4.1-3.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/system-config-printer-1.4.1-3.fc19

Comment 6 Fedora Update System 2013-05-22 22:35:36 UTC
Package system-config-printer-1.4.1-3.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing system-config-printer-1.4.1-3.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-8818/system-config-printer-1.4.1-3.fc19
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2013-05-27 03:19:05 UTC
system-config-printer-1.4.1-3.fc19 has been pushed to the Fedora 19 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.