Hide Forgot
abrt version: 1.1.17 architecture: x86_64 cmdline: /usr/bin/python /usr/bin/pdfshuffler component: pdfshuffler executable: /usr/bin/pdfshuffler kernel: 2.6.35.11-83.fc14.x86_64 package: pdfshuffler-0.5-2.fc14 reason: pdf.py:651:read:ValueError: too many values to unpack release: Fedora release 14 (Laughlin) time: 1298295502 uid: 500 backtrace ----- pdf.py:651:read:ValueError: too many values to unpack Traceback (most recent call last): File "/usr/bin/pdfshuffler", line 411, in choose_export_pdf_name self.export_to_file(file_out) File "/usr/bin/pdfshuffler", line 432, in export_to_file pdfdoc_inp = PdfFileReader(file(pdfdoc.copyname, 'rb')) File "/usr/lib/python2.7/site-packages/pyPdf/pdf.py", line 277, in __init__ self.read(stream) File "/usr/lib/python2.7/site-packages/pyPdf/pdf.py", line 651, in read offset, generation = line[:16].split(" ") ValueError: too many values to unpack Local variables in innermost frame: cnt: 0 stream: <open file '/tmp/tmpYMc9c5pdfshuffler/02_StudentLES1.pdf', mode 'rb' at 0x1989540> self: <pyPdf.pdf.PdfFileReader object at 0x19bc910> startxref: 3879238 num: 1 x: 'x' line: '0000000009 0000 n\n00' ref: 'ref\n' size: 6 How to reproduce ----- 1.Created PDF by importing in gui, 2.Clicked on export> crash 3.
Package: pdfshuffler-0.5-2.fc14 Architecture: x86_64 OS Release: Fedora release 14 (Laughlin) How to reproduce ----- 1.Created PDF by importing in gui, 2.Clicked on export> crash 3.
Package: pdfshuffler-0.5-2.fc14 Architecture: x86_64 OS Release: Fedora release 14 (Laughlin) How to reproduce ----- 1. 2. 3. Imported 3 PDF documents created by Simple Scan. File 1 had 4 pages, file 2 had 2 pages, and file 3 had 2 pages. Tried to export entire document of 8 pages.
An update to 0.5.1 was provided. Please restest and reopen this bug if the problem still occurs.
*** Bug 715427 has been marked as a duplicate of this bug. ***
For a reason, I doubt any reasonable change in pdfshuffler would help. The problem - in a way - lies in pyPDF, or more exactly in Simple Scan producing corrupted pdf files. See my comment in http://bugs.gentoo.org/show_bug.cgi?id=380429 for a complete explanation. Anyone having a launchpad account should feel free to i.e. comment in https://bugs.launchpad.net/simple-scan/+bug/662144.