Red Hat Bugzilla – Bug 484909
installing pdfshuffler does not pull pyPdf in
Last modified: 2009-03-09 19:09:35 EDT
Description of problem:
pdfshuffler requires pyPdf, but the RPM contains no dependency on it
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.yum --enablerepo=updates-testing install pdfshuffler
Traceback (most recent call last):
File "/usr/bin/pdfshuffler", line 65, in <module>
from pyPdf import PdfFileWriter, PdfFileReader
ImportError: No module named pyPdf
pdfshuffler main window popping up
I had several reports with the same error as well.
The workaround before the bug is solved is simple:
yum --enablerepo=updates-testing install pyPdf
And then it just works. :-)
The real fix is to add
to the spec file.
The problem would go away if rpmbuild had support to catch automatically the python dependencies as it does with dynamic libraries or with perl packages. For the moment we need to do this manually. :-)
Thanks for testing the package. I guess now the requirements are fixed.
I can confirm that it works on rawhide and no F-10. I guess that the bug can be closed now. Thanks Fabian.
Bodhi has not changed the bug status again:(
pdfshuffler-0.3.1-3.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.
pdfshuffler-0.3.1-3.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.