Bug 2355091
| Summary: | print fatal error: "The PPD version (5.3.4) is not compatible with Gutenprint 5.3.5." | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | pgnd <pgnd> |
| Component: | gutenprint | Assignee: | Zdenek Dohnal <zdohnal> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 41 | CC: | jridky, twaugh, zdohnal |
| Target Milestone: | --- | Keywords: | Regression |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | gutenprint-5.3.5-4.fc43 gutenprint-5.3.5-4.fc42 gutenprint-5.3.5-4.fc41 gutenprint-5.3.5-5.fc40 | Doc Type: | --- |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2025-03-28 05:51:51 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
pgnd
2025-03-26 16:55:53 UTC
downgrade 5.3.5 -> 5.3.4 rpm -qa | grep gutenprint gutenprint-libs-5.3.4-3.fc41.x86_64 gutenprint-5.3.4-3.fc41.x86_64 gutenprint-cups-5.3.4-3.fc41.x86_64 from fork/build @ https://src.fedoraproject.org/fork/pgfed/rpms/gutenprint/commits/f41 https://copr.fedorainfracloud.org/coprs/pgfed/gutenprint/ cures the problem -- printing OK. and, w/ 5.3.4, e.g. /usr/sbin/cups-genppdupdate Updated /etc/cups/ppd/HPLJ_5200.ppd using gutenprint.5.3://hp-lj_5200/expert Updated 1 PPD file Restart cupsd for the changes to take effect. Hi, thank you for the report! I can reproduce the issue and I'm trying to figure out the reason why the python script fails - it looks like the driver gutenprint.5.3 now generates wrong encoded data - when I open the PPD generated by it, I see incorrect symbols for some translations, which worked in 5.3.4. Debugging it further... Ok, get it - Georgian translations, which are now new in 5.3.5, cannot be decoded as UTF-8 when they are in PPD generated by gutenprint.5.3. Gutenprint includes all translation strings into PPD when creating it, so when Georgian translations are removed, the script works. In upstream they use Perl script as cups-genppdupdate, which does not show the issue (although PPD file shows weird symbols, but they work in f.e. Evince dialog) and we have rewritten this script to Python in the past to avoid having Perl in the default image, so it is a downstream issue. I've checked Python docs and there is possibility to influence what to do when UnicodeError happens - one of them is 'replace', which I tried to use for TextWrapper objects and it works - translations in PPD are readable in Vim and in Evince print dialog, so let's go with it for now. > cannot be decoded as UTF-8 when they are in PPD generated by gutenprint.5.3 fwiw, 2 F41 machines, cups/gutenprint clean-installed. one v5.3.4, one v5.3.5 on exec of https://pastebin.com/raw/TPTu4tmR generated ppd with 5.3.5, https://is.gd/6nnD6v Yes, 5.3.4 does not have Georgian translations. Committed in rawhide for now, I will build the fix tomorrow for all branches. For the moment, F41 scratch build https://koji.fedoraproject.org/koji/taskinfo?taskID=130809556 confirmed, own f41 copr build from updated rawhide src rpm -qa | grep gutenprint gutenprint-libs-5.3.5-4.fc41.x86_64 gutenprint-5.3.5-4.fc41.x86_64 gutenprint-cups-5.3.5-4.fc41.x86_64 systemctl restart cups -> printing OK & /usr/sbin/cups-genppdupdate Updated /etc/cups/ppd/HPLJ_4300.ppd using gutenprint.5.3://hp-lj_4300/expert Updated 1 PPD file Restart cupsd for the changes to take effect. FEDORA-2025-245c787fab (gutenprint-5.3.5-4.fc43) has been submitted as an update to Fedora 43. https://bodhi.fedoraproject.org/updates/FEDORA-2025-245c787fab FEDORA-2025-245c787fab (gutenprint-5.3.5-4.fc43) has been pushed to the Fedora 43 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2025-b9233395f4 (gutenprint-5.3.5-4.fc42) has been submitted as an update to Fedora 42. https://bodhi.fedoraproject.org/updates/FEDORA-2025-b9233395f4 FEDORA-2025-0ba91b1ef6 (gutenprint-5.3.5-4.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2025-0ba91b1ef6 FEDORA-2025-77a9ae0dc1 (gutenprint-5.3.5-4.fc40) has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2025-77a9ae0dc1 FEDORA-2025-b9233395f4 has been pushed to the Fedora 42 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-b9233395f4` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-b9233395f4 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2025-0ba91b1ef6 has been pushed to the Fedora 41 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-0ba91b1ef6` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-0ba91b1ef6 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2025-77a9ae0dc1 has been pushed to the Fedora 40 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-77a9ae0dc1` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-77a9ae0dc1 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2025-b9233395f4 (gutenprint-5.3.5-4.fc42) has been pushed to the Fedora 42 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2025-0ba91b1ef6 (gutenprint-5.3.5-4.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2025-d3cac232ac has been pushed to the Fedora 40 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-d3cac232ac` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-d3cac232ac See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2025-d3cac232ac (gutenprint-5.3.5-5.fc40) has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report. |