Version-Release number of selected component:<br />
system-config-printer-1.4.1-19.el7<br />
<br />
Truncated backtrace:<br />
printerproperties.py:1573:updateMarkerLevels:UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-1: ordinal not in range(128)<br />
<br />
Traceback (most recent call last):<br />
File "/usr/share/system-config-printer/system-config-printer.py", line 1676, in on_edit_activate<br />
self.dests_iconview_item_activated (self.dests_iconview, paths[0])<br />
File "/usr/share/system-config-printer/system-config-printer.py", line 510, in dests_iconview_item_activated<br />
parent=self.PrintersWindow)<br />
File "/usr/share/system-config-printer/printerproperties.py", line 577, in show<br />
self.load (name, host=host, encryption=encryption, parent=parent)<br />
File "/usr/share/system-config-printer/printerproperties.py", line 1479, in load<br />
self.updateMarkerLevels()<br />
File "/usr/share/system-config-printer/printerproperties.py", line 1573, in updateMarkerLevels<br />
localized_name = self.ppd.localizeMarkerName(name)<br />
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-1: ordinal not in range(128)<br />
<br />
Local variables in innermost frame:<br />
rows: 1<br />
name: u'\u78b3\u7c89'<br />
val: [-1, -1]<br />
level: -1<br />
color: u'#000000'<br />
self: <PrinterPropertiesDialog object at 0x2897c30 (printerproperties+PrinterPropertiesDialog at 0x2374a40)><br />
num_markers: 0<br />
cols: 2<br />
markers: [(u'#000000', u'\u78b3\u7c89', u'toner', -1), (u'#000000', u'\u5e9f\u5f03\u78b3\u7c89', u'wasteToner', -1)]<br />
marker_info: {'marker-names': [u'\u78b3\u7c89', u'\u5e9f\u5f03\u78b3\u7c89'], 'marker-types': [u'toner', u'wasteToner'], 'marker-levels': [-1, -1], 'marker-colors': [u'#000000', u'#000000']}<br />
printer: <cupshelpers.Printer "Ricoh-Aficio-3045"><br />
can_refresh: True<br />
marker_type: u'toner'<br />
table: <Table object at 0x2ea0460 (GtkTable at 0x2cf3e70)><br />
typ: <type 'float'><br />
attr: 'marker-levels'
↧