Bug 1091945 - [abrt] system-config-printer: newprinter.py:3799:getNPPPD:UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 65: ordinal not in range(128)
Summary: [abrt] system-config-printer: newprinter.py:3799:getNPPPD:UnicodeDecodeError:...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-cups
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:e65fefab4a13b35125bf644f947...
: 1123775 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-28 11:12 UTC by Arthur
Modified: 2014-08-15 02:44 UTC (History)
3 users (show)

Fixed In Version: python-cups-1.9.65-2.fc20
Clone Of:
Environment:
Last Closed: 2014-08-15 02:44:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (753 bytes, text/plain)
2014-04-28 11:12 UTC, Arthur
no flags Details
File: environ (1.57 KB, text/plain)
2014-04-28 11:12 UTC, Arthur
no flags Details

Description Arthur 2014-04-28 11:12:45 UTC
Version-Release number of selected component:
system-config-printer-1.4.4-1.fc20

Additional info:
reporter:       libreport-2.2.1
cmdline:        /usr/bin/python /usr/share/system-config-printer/system-config-printer.py
dso_list:       system-config-printer-libs-1.4.4-1.fc20.noarch
executable:     /usr/share/system-config-printer/system-config-printer.py
kernel:         3.13.10-200.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            1000

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

Traceback (most recent call last):
  File "/usr/share/system-config-printer/newprinter.py", line 912, in on_btnNPForward_clicked
    self.nextNPTab()
  File "/usr/share/system-config-printer/newprinter.py", line 1461, in nextNPTab
    self.ppd = self.getNPPPD()
  File "/usr/share/system-config-printer/newprinter.py", line 3799, in getNPPPD
    ppd = cups.PPD(self.filechooserPPD.get_filename())
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 65: ordinal not in range(128)

Local variables in innermost frame:
self: <NewPrinterGUI object at 0x1c6cd70 (newprinter+NewPrinterGUI at 0x1ac0260)>
ppd: None

Comment 1 Arthur 2014-04-28 11:12:48 UTC
Created attachment 890435 [details]
File: backtrace

Comment 2 Arthur 2014-04-28 11:12:51 UTC
Created attachment 890436 [details]
File: environ

Comment 3 Jiri Popelka 2014-04-28 12:11:42 UTC
Seems like this has already been fixed with python-cups-1.9.66, because running
# python -c "import cups; cups.PPD('ř.ppd')"

with 1.9.65 I got:
UnicodeDecodeError: 'ascii' codec can't decode byte ...

while 1.9.66 succeeded.

Comment 4 Jiri Popelka 2014-07-28 09:52:06 UTC
*** Bug 1123775 has been marked as a duplicate of this bug. ***

Comment 5 Fedora Update System 2014-07-28 11:27:26 UTC
python-cups-1.9.65-2.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/python-cups-1.9.65-2.fc20

Comment 6 Fedora Update System 2014-07-29 02:07:45 UTC
Package python-cups-1.9.65-2.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing python-cups-1.9.65-2.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-8934/python-cups-1.9.65-2.fc20
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2014-08-15 02:44:00 UTC
python-cups-1.9.65-2.fc20 has been pushed to the Fedora 20 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.