abrt 1.0.8 detected a crash. architecture: i686 cmdline: /usr/bin/python /usr/bin/pdfshuffler component: pdfshuffler executable: /usr/bin/pdfshuffler kernel: 2.6.32.9-70.fc12.i686.PAE package: pdfshuffler-0.4.2-2.fc12 reason: pdf.py:593:readObjectHeader:ValueError: invalid literal for int() with base 10: '' release: Fedora release 12 (Constantine) backtrace ----- pdf.py:593:readObjectHeader:ValueError: invalid literal for int() with base 10: '' Traceback (most recent call last): File "/usr/bin/pdfshuffler", line 415, in export_pdf current_page = pdf_input[nfile-1].getPage(npage-1) File "/usr/lib/python2.6/site-packages/pyPdf/pdf.py", line 353, in getPage self._flatten() File "/usr/lib/python2.6/site-packages/pyPdf/pdf.py", line 499, in _flatten catalog = self.trailer["/Root"].getObject() File "/usr/lib/python2.6/site-packages/pyPdf/generic.py", line 466, in __getitem__ return dict.__getitem__(self, key).getObject() File "/usr/lib/python2.6/site-packages/pyPdf/generic.py", line 165, in getObject return self.pdf.getObject(self).getObject() File "/usr/lib/python2.6/site-packages/pyPdf/pdf.py", line 546, in getObject idnum, generation = self.readObjectHeader(self.stream) File "/usr/lib/python2.6/site-packages/pyPdf/pdf.py", line 593, in readObjectHeader return int(idnum), int(generation) ValueError: invalid literal for int() with base 10: '' Local variables in innermost frame: generation: '' idnum: '1' self: <pyPdf.pdf.PdfFileReader object at 0x8ad5dec> obj: '0 o' stream: <open file '/tmp/tmp1MR2LSpdfshuffler/01_My PDF File.pdf', mode 'rb' at 0x8adf340> comment ----- After clicking "Save" nothing seemed to happen except for the Crash Detection. In other words, the Save As dialog remained open. Clicking Canel/Save had no affect. I had to click the close icon on the window's title bar. Once the Save Dialog was closed, I had to click "Quit" to exit pdfshuffler. Also note my page size is 7.96 x 3.50 inch for both pages. How to reproduce ----- 1.Start pdfshuffler 2.Drag first single page PDF file /home/me/Desktop/My PDF File.pdf to PDF-Shuffler window 3.Drag second single page PDF file /home/me/Desktop/AnotherPDF.pdf to PDF-Shuffler window 4.Click "Export PDF..." 5.Give save as name of /home/me/Desktop/MyNewPDF.pdf 6.Click "Save"
Created attachment 401930 [details] File: backtrace
For A4 it works...I'm able to save the new pdf file. At the moment I can't test it with other paper formats. There is a pending update for pdfshuffler-0.5.
pdfshuffler-0.5-1.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/pdfshuffler-0.5-1.fc12
pdfshuffler-0.5-1.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.