Bug 999629 - [abrt] system-config-printer-1.4.1-8.fc19: newprinter.py:3578:on_NPDrivers_query_tooltip:UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)
Summary: [abrt] system-config-printer-1.4.1-8.fc19: newprinter.py:3578:on_NPDrivers_qu...
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:664e99f3123d79fe49667b02e03...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-21 18:07 UTC by qpmmy
Modified: 2013-11-18 14:30 UTC (History)
2 users (show)

Fixed In Version: system-config-printer-1.4.2-1.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-11-18 13:54:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.29 KB, text/plain)
2013-08-21 18:07 UTC, qpmmy
no flags Details
File: environ (992 bytes, text/plain)
2013-08-21 18:08 UTC, qpmmy
no flags Details

Description qpmmy 2013-08-21 18:07:53 UTC
Description of problem:
Was setting up HP LaserJet printer via system-config-printer and just chose it from the list of all available printer models.

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

Additional info:
reporter:       libreport-2.1.6
cmdline:        /usr/bin/python /usr/share/system-config-printer/system-config-printer.py
dso_list:       system-config-printer-libs-1.4.1-8.fc19.noarch
executable:     /usr/share/system-config-printer/system-config-printer.py
kernel:         3.10.7-200.fc19.i686.PAE
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
newprinter.py:3578:on_NPDrivers_query_tooltip:UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)

Traceback (most recent call last):
  File "/usr/share/system-config-printer/newprinter.py", line 3578, in on_NPDrivers_query_tooltip
    markup += _("This PPD is generated by foomatic.")
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)

Local variables in innermost frame:
keyboard_mode: False
ppddict: {'ppd-type': [u'postscript'], 'ppd-model-number': [0], 'ppd-product': [u''], 'ppd-natural-language': [u'en'], 'ppd-psversion': [u''], 'ppd-make': [u'HP'], 'ppd-make-and-model': [u'HP LaserJet 6L Foomatic/lj4dith'], 'ppd-device-id': [u'MFG:Hewlett-Packard;MDL:HP LaserJet 6L;DES:Hewlett-Packard LaserJet 6L Printer;DRV:Dlj4dith,R0,M0,TG;']}
tv: <TreeView object at 0x94568ec (GtkTreeView at 0x94f0e78)>
markup: u'HP LaserJet 6L Foomatic/lj4dith '
tooltip: <Tooltip object at 0xacb05acc (GtkTooltip at 0x97c5418)>
ret: (<GtkTreePath at 0xa2723d0>, <TreeViewColumn object at 0xacb05cac (GtkTreeViewColumn at 0x9629518)>, 121, 7)
drivername: u'foomatic:HP-LaserJet_6L-lj4dith.ppd'
x: 121
y: 113
path: <GtkTreePath at 0xa2723d0>
self: <NewPrinterGUI object at 0x94520f4 (newprinter+NewPrinterGUI at 0x92ced70)>
bin_y: 91
bin_x: 121

Comment 1 qpmmy 2013-08-21 18:07:59 UTC
Created attachment 788953 [details]
File: backtrace

Comment 2 qpmmy 2013-08-21 18:08:02 UTC
Created attachment 788954 [details]
File: environ

Comment 3 Tim Waugh 2013-11-18 13:54:13 UTC
Are you able to reproduce this with system-config-printer >= 1.4.2?  I think this might have been fixed in system-config-printer-1.4.2-1.fc19.


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