Description of problem: psnup does not start. Instead I get this error message no matter which parameters I give: could not get default paper size Version-Release number of selected component (if applicable): 1.23 6.fc21 How reproducible: start psnup without any parameter Steps to Reproduce: 1. see above 2. 3. Actual results: psnup: could not get default paper size Expected results: converted PS file Additional info:
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.