Bug 1208985
| Summary: | psnup: could not get default paper size | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jan Rauberg <jan.rauberg> |
| Component: | psutils | Assignee: | Jiri Popelka <jpopelka> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 21 | CC: | d.lesca, jpopelka |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | psutils-1.23-7.fc21 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-06-21 00:13:16 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
Jan Rauberg
2015-04-04 21:18:40 UTC
I have same error: On Fedora 21 NOT work (same input file): [lesca@dodo ~]$ rpm -q psutils psutils-1.23-6.fc21.x86_64 [lesca@dodo ~]$ cat /tmp/out.ps | psnup -q -2 >/tmp/out2.ps psnup: could not get default paper size On Fedora 20 work (same input file): [lesca@macprolinux ~]$ rpm -q psutils psutils-1.17-43.fc20.x86_64 [lesca@macprolinux ~]$ cat /tmp/out.ps | psnup -q -2 >/tmp/out2.ps Workaround: [lesca@dodo ~]$ sudo yum remove psutils [lesca@dodo ~]$ sudo yum install ftp://bo.mirror.garr.it/pub/1/fedora/linux/releases/20/Everything/x86_64/os/Packages/p/psutils-1.17-43.fc20.x86_64.rpm [lesca@dodo ~]$ sudo sh -c 'echo "exclude=psutils" >> /etc/yum.conf' psnup consults paperconf binary (libpaper package) to see what are the default paper dimensions. Problem here seems to be that returned width & height contain comma instead of decimal point, i.e. it (paperconf -s) returns (a4 paper in my case) 595,276 841,89 instead of 595.276 841.89 and psutil then fails to parse it. It's caused by http://pkgs.fedoraproject.org/cgit/libpaper.git/tree/libpaper-useglibcfallback.patch I don't know why libpaper uses that patch, but psutil should probably handle it somehow. This issue still exist into f22. Workaround in this case is the same, but: ... sudo sh -c 'echo "exclude=psutils" >> /etc/dnf/dnf.conf' ... psutils-1.23-7.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/psutils-1.23-7.fc22 psutils-1.23-7.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/psutils-1.23-7.fc21 Package psutils-1.23-7.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing psutils-1.23-7.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-9053/psutils-1.23-7.fc21 then log in and leave karma (feedback). (In reply to Fedora Update System from comment #4) > psutils-1.23-7.fc22 has been submitted as an update for Fedora 22. > https://admin.fedoraproject.org/updates/psutils-1.23-7.fc22 I have download and install this package x86_64: http://koji.fedoraproject.org/koji/buildinfo?buildID=639892 and now all work fine. Thank to all. psutils-1.23-7.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. psutils-1.23-7.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. |