Bug 1528851

Summary: Unable to scan and save jpg with color with hp-scan
Product: [Fedora] Fedora Reporter: niklas.laxstrom
Component: hplipAssignee: Zdenek Dohnal <zdohnal>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 27CC: dick, jpopelka, niklas.laxstrom, twaugh, zdohnal
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-01-29 12:15:32 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:

Description niklas.laxstrom 2017-12-24 12:55:34 UTC
Description of problem:

In Fedora 27 I am unable to get color scans from HP DeskJet 1514.


Version-Release number of selected component (if applicable): 3.17.11 (Scan Utility 2.2)


How reproducible:
Always


Steps to Reproduce:
1. Install hplip-gui
2. Run hp-setup
3. Run hp-scan with -m color -s file

Actual results:

error: Error saving file: cannot write mode RGBA as JPEG (I/O)

Expected results:
A jpg file is created

Additional info:
Related to https://github.com/python-pillow/Pillow/issues/2609 ?

Comment 1 Zdenek Dohnal 2018-01-02 14:33:39 UTC
Hi Niklas,

thank you for reporting this issue. Would you mind trying these rpms, if it helps https://koji.fedoraproject.org/koji/taskinfo?taskID=23971488 ?

Comment 2 niklas.laxstrom 2018-01-02 15:49:46 UTC
I am happy to test, but unfortunately it can take a month or two until I visit again the place where the device is located.

Comment 3 Zdenek Dohnal 2018-01-04 09:03:06 UTC
Reported as https://bugs.launchpad.net/hplip/+bug/1741214 .

Comment 4 Zdenek Dohnal 2018-01-04 09:03:56 UTC
I tested the patch with my scanner in F27 VM and it works.

Comment 5 Fedora Update System 2018-01-04 09:58:31 UTC
hplip-3.17.11-2.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-7594a59ab4

Comment 6 Fedora Update System 2018-01-05 11:57:34 UTC
hplip-3.17.11-2.fc27 has been pushed to the Fedora 27 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-2018-7594a59ab4

Comment 7 Dick Marinus 2018-01-07 06:57:09 UTC
This fix seems to work but is incomplete; I get the same error when scanning with -xraw (that's when this fix doesn't work).

Comment 8 Zdenek Dohnal 2018-01-08 08:35:18 UTC
You're right, I'll release fix for xraw too.

Comment 9 Fedora Update System 2018-01-08 09:16:19 UTC
hplip-3.17.11-3.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-b75d703b7f

Comment 10 Fedora Update System 2018-01-08 20:29:51 UTC
hplip-3.17.11-3.fc27 has been pushed to the Fedora 27 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-2018-b75d703b7f

Comment 11 Fedora Update System 2018-01-12 14:42:46 UTC
hplip-3.17.11-3.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.