Bug 960567
| Summary: | printerproperties.py", line 595, in show: UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 2: ordinal not in range(128) | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | nucleo <alekcejk> |
| Component: | system-config-printer | Assignee: | Tim Waugh <twaugh> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 19 | CC: | 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:10:05 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: | |||
Should be already fixed upstream with: https://git.fedorahosted.org/cgit/system-config-printer.git/commit/?id=20868d9503285865b9558ba3cd33e3f33ccde7c0 system-config-printer-1.4.1-1.fc19, python-cups-1.9.63-3.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/FEDORA-2013-5419/system-config-printer-1.4.1-1.fc19,python-cups-1.9.63-3.fc19 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). 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. I again have error in printer properties but not always reproducable.
I have two printers. for one of them properties shown always, but for second sometimes failed with error
Traceback (most recent call last):
File "/usr/share/system-config-printer/system-config-printer.py", line 1664, 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 510, in dests_iconview_item_activated
parent=self.PrintersWindow)
File "/usr/share/system-config-printer/printerproperties.py", line 573, in show
self.load (name, host=host, encryption=encryption, parent=parent)
File "/usr/share/system-config-printer/printerproperties.py", line 1477, in load
self.updatePrinterProperties ()
File "/usr/share/system-config-printer/printerproperties.py", line 1637, in updatePrinterProperties
state += ' - ' + reason
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)
But after I restart cups service properties shown.
Now I have system-config-printer-1.4.1-1.fc19.i686 installed, will try system-config-printer-1.4.1-3.fc19.i686 from updates-testing Looks like this is other bug 965578 Yes, that's right. I think 1.4.1-3.fc19 ought to fix it. |
Description of problem: Show printer properties failed in system-config-printer. Version-Release number of selected component (if applicable): system-config-printer-1.4.0-4.fc19.i686 How reproducible: Works fine on live image, but I installed F19 with own packages set, so maybe some package missing? Steps to Reproduce: 1. Try to open printer properties window 2. 3. Actual results: system-config-printer hangs, here output in console: GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications. 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 1660, 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 509, 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)