Bug 950162

Summary: File "/usr/share/system-config-printer/printerproperties.py", line 595, in show "'%s' on %s") % (name, host)) UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 2: ordinal not in range(128)
Product: [Fedora] Fedora Reporter: Nicolas Mailhot <nicolas.mailhot>
Component: system-config-printerAssignee: Tim Waugh <twaugh>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: jpopelka, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: system-config-printer-1.4.1-1.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-22 03:19:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nicolas Mailhot 2013-04-09 18:45:13 UTC
Description of problem:

$ system-config-printer
Unknown value for media-col: (unknown IPP value tag 0x34)
Choices: [u'media-bottom-margin', u'media-left-margin', u'media-right-margin', u'media-size', u'media-source', u'media-top-margin', u'media-type']
Selecting from choices: media-bottom-margin
Traceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py", line 1659, in on_edit_activate
    self.dests_iconview_item_activated (self.dests_iconview, paths[0])
  File "/usr/share/system-config-printer/system-config-printer.py", line 508, in dests_iconview_item_activated
    parent=self.PrintersWindow)
  File "/usr/share/system-config-printer/printerproperties.py", line 595, in show
    "'%s' on %s") % (name, host))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 2: ordinal not in range(128)


Version-Release number of selected component (if applicable):
system-config-printer-1.4.0-1.fc20.x86_64

Comment 1 Tim Waugh 2013-04-10 16:39:14 UTC
Fixed upstream in commit de0e33d.  Also needs a change in python-cups, upstream as commit 6ef5aa6.

Comment 2 Fedora Update System 2013-04-11 15:40:24 UTC
system-config-printer-1.4.0-2.fc19,python-cups-1.9.63-2.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/system-config-printer-1.4.0-2.fc19,python-cups-1.9.63-2.fc19

Comment 3 Fedora Update System 2013-04-11 16:38:56 UTC
Package system-config-printer-1.4.0-2.fc19, python-cups-1.9.63-2.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.0-2.fc19 python-cups-1.9.63-2.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-5419/system-config-printer-1.4.0-2.fc19,python-cups-1.9.63-2.fc19
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2013-04-12 15:15:05 UTC
Package system-config-printer-1.4.0-3.fc19, python-cups-1.9.63-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.0-3.fc19 python-cups-1.9.63-3.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-5419/system-config-printer-1.4.0-3.fc19,python-cups-1.9.63-3.fc19
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2013-04-15 16:18:47 UTC
Package system-config-printer-1.4.0-4.fc19, python-cups-1.9.63-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.0-4.fc19 python-cups-1.9.63-3.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-5419/system-config-printer-1.4.0-4.fc19,python-cups-1.9.63-3.fc19
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2013-05-10 15:34:26 UTC
Package system-config-printer-1.4.1-1.fc19, python-cups-1.9.63-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-1.fc19 python-cups-1.9.63-3.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-5419/system-config-printer-1.4.1-1.fc19,python-cups-1.9.63-3.fc19
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2013-05-22 03:19:35 UTC
system-config-printer-1.4.1-1.fc19, python-cups-1.9.63-3.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.