Bug 1372343 - hplip-3.16.8-1 has a Python coding bug that prevents one of its filters from working
Summary: hplip-3.16.8-1 has a Python coding bug that prevents one of its filters from ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: hplip
Version: 24
Hardware: All
OS: All
unspecified
high
Target Milestone: ---
Assignee: Zdenek Dohnal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1372405 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-01 13:14 UTC by David H. Gutteridge
Modified: 2016-09-06 18:22 UTC (History)
4 users (show)

Fixed In Version: hplip-3.16.8-2.fc24 hplip-3.16.8-2.fc25
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-05 22:51:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
cupsd log excerpt (9.98 KB, text/plain)
2016-09-01 13:17 UTC, David H. Gutteridge
no flags Details
Patch that fixes the problem (581 bytes, patch)
2016-09-01 13:20 UTC, David H. Gutteridge
no flags Details | Diff

Description David H. Gutteridge 2016-09-01 13:14:26 UTC
Description of problem:

hplip-3.16.8-1 has a Python coding bug that prevents one of its filters from working, because tabs and spaces are mixed inconsistently from line to line for the same indentation levels in one code block.

Version-Release number of selected component (if applicable):

hplip-3.16.8-1 

How reproducible:

Always

Steps to Reproduce:
1. Install the updated package.
2. Observe printing from LibreOffice fails on an HP LaserJet 400 M401dne.

Actual results:

Print job ends with an error.

Expected results:

Print job succeeds.

Additional info:

Will be supplied in attachments.

Comment 1 David H. Gutteridge 2016-09-01 13:17:18 UTC
Created attachment 1196823 [details]
cupsd log excerpt

Comment 2 David H. Gutteridge 2016-09-01 13:20:30 UTC
Created attachment 1196826 [details]
Patch that fixes the problem

I've tested the attached patch and it resolves the (very trivial) problem. I can print successfully with it. (The file is installed at /usr/lib/cups/filter.)

Comment 3 Zdenek Dohnal 2016-09-01 16:45:54 UTC
*** Bug 1372405 has been marked as a duplicate of this bug. ***

Comment 4 Zdenek Dohnal 2016-09-01 16:48:26 UTC
Hi David,

thank you for filling the bug and patch. I rebuild package with this patch.

Comment 5 Fedora Update System 2016-09-01 18:07:37 UTC
hplip-3.16.8-2.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-c36c1cfe97

Comment 6 Fedora Update System 2016-09-01 18:17:23 UTC
hplip-3.16.8-2.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-a683b62f49

Comment 7 David H. Gutteridge 2016-09-01 20:15:37 UTC
hplip-3.16.8-2.fc24 has fixed the problem for me, thanks.

Comment 8 Fedora Update System 2016-09-03 03:23:58 UTC
hplip-3.16.8-2.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-c36c1cfe97

Comment 9 Fedora Update System 2016-09-03 03:54:29 UTC
hplip-3.16.8-2.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-a683b62f49

Comment 10 Fedora Update System 2016-09-05 22:51:50 UTC
hplip-3.16.8-2.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2016-09-06 18:22:07 UTC
hplip-3.16.8-2.fc25 has been pushed to the Fedora 25 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.