Bug 1053203

Summary: [abrt] pdfshuffler: pdfshuffler.py:1037:__init__:GError: PDF document is damaged
Product: [Fedora] Fedora Reporter: francesco <francescomolfese>
Component: pdfshufflerAssignee: Fabian Affolter <mail>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: mail
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/25a231f858b73d4585cb1a0ec17e322e9e883fe7
Whiteboard: abrt_hash:a4a8393e8e11631b1477504fab121712c49c18a2
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-23 07:31:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description francesco 2014-01-14 20:41:50 UTC
Version-Release number of selected component:
pdfshuffler-0.6.0-3.fc20

Additional info:
reporter:       libreport-2.1.11
cmdline:        /usr/bin/python /usr/bin/pdfshuffler /run/media/mol/1C80B0CB016810FE/BCK_31032013/Documentazione_Linux_Unix/fedora/Fedora_13/evolution/evolution.pdf
executable:     /usr/bin/pdfshuffler
kernel:         3.12.7-300.fc20.x86_64
runlevel:       3 5
type:           Python
uid:            1000

Truncated backtrace:
pdfshuffler.py:1037:__init__:GError: PDF document is damaged

Traceback (most recent call last):
  File "/usr/bin/pdfshuffler", line 31, in <module>
    main()
  File "/usr/lib/python2.7/site-packages/pdfshuffler/pdfshuffler.py", line 1084, in main
    PdfShuffler()
  File "/usr/lib/python2.7/site-packages/pdfshuffler/pdfshuffler.py", line 273, in __init__
    self.add_pdf_pages(filename)
  File "/usr/lib/python2.7/site-packages/pdfshuffler/pdfshuffler.py", line 418, in add_pdf_pages
    pdfdoc = PDF_Doc(filename, self.nfile, self.tmp_dir)
  File "/usr/lib/python2.7/site-packages/pdfshuffler/pdfshuffler.py", line 1037, in __init__
    self.document = poppler.document_new_from_file (file_prefix + self.copyname, None)
GError: PDF document is damaged

Local variables in innermost frame:
nfile: 0
tmp_dir: '/tmp/tmp2Od8Fqpdfshuffler'
f: <__main__.GLocalFile at 0x17e00a0: file:///run/media/mol/1C80B0CB016810FE/BCK_31032013/Documentazione_Linux_Unix/fedora/Fedora_13/evolution/evolution.pdf>
self: <pdfshuffler.pdfshuffler.PDF_Doc instance at 0x176ebd8>
file_prefix: 'file://'
filename: '/run/media/mol/1C80B0CB016810FE/BCK_31032013/Documentazione_Linux_Unix/fedora/Fedora_13/evolution/evolution.pdf'
expected_mime_type: 'application/pdf'
mime_type: 'application/pdf'

Comment 1 francesco 2014-01-14 20:41:56 UTC
Created attachment 850194 [details]
File: backtrace

Comment 2 francesco 2014-01-14 20:41:58 UTC
Created attachment 850195 [details]
File: environ

Comment 3 Fabian Affolter 2014-01-23 07:31:09 UTC

*** This bug has been marked as a duplicate of bug 769270 ***