Bug 1158764

Summary: [abrt] pdfshuffler: pdfshuffler.py:1037:__init__:GError: Document is encrypted
Product: [Fedora] Fedora Reporter: Yasser Yekken <kaf.laarous>
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/bca80ed066144a67a7c290995f4f72be85e855df
Whiteboard: abrt_hash:9cac13d1766c1725f024591be749f6ccbb5ecbb1
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-30 08:38:16 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 Yasser Yekken 2014-10-30 07:47:42 UTC
Version-Release number of selected component:
pdfshuffler-0.6.0-3.fc20

Additional info:
reporter:       libreport-2.2.3
cmdline:        /usr/bin/python /bin/pdfshuffler '/home/YASS3R/Bureau/\xd9\x86\xd8\xb3\xd8\xa7\xd8\xa1 \xd8\xb9\xd9\x86\xd8\xaf \xd8\xae\xd8\xb7 \xd8\xa7\xd9\x84\xd8\xa3\xd8\xb3\xd8\xaa\xd9\x88\xd8\xa7\xd8\xa1 \xd8\xa8\xd8\xa7\xd8\xb3 \xd9\x88\xd9\x88\xd8\xb1\xd8\xaf (ithar.com)      .pdf'
executable:     /bin/pdfshuffler
kernel:         3.16.6-200.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
pdfshuffler.py:1037:__init__:GError: Document is encrypted

Traceback (most recent call last):
  File "/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: Document is encrypted

Local variables in innermost frame:
nfile: 0
tmp_dir: '/tmp/tmp6xJwunpdfshuffler'
f: <__main__.GLocalFile at 0x2890370: file:///home/YASS3R/Bureau/%D9%86%D8%B3%D8%A7%D8%A1%20%D8%B9%D9%86%D8%AF%20%D8%AE%D8%B7%20%D8%A7%D9%84%D8%A3%D8%B3%D8%AA%D9%88%D8%A7%D8%A1%20%D8%A8%D8%A7%D8%B3%20%D9%88%D9%88%D8%B1%D8%AF%20(ithar.com)%20%20%20%20%20%20.pdf>
self: <pdfshuffler.pdfshuffler.PDF_Doc instance at 0x2820c68>
file_prefix: 'file://'
filename: '/home/YASS3R/Bureau/\xd9\x86\xd8\xb3\xd8\xa7\xd8\xa1 \xd8\xb9\xd9\x86\xd8\xaf \xd8\xae\xd8\xb7 \xd8\xa7\xd9\x84\xd8\xa3\xd8\xb3\xd8\xaa\xd9\x88\xd8\xa7\xd8\xa1 \xd8\xa8\xd8\xa7\xd8\xb3 \xd9\x88\xd9\x88\xd8\xb1\xd8\xaf (ithar.com)      .pdf'
expected_mime_type: 'application/pdf'
mime_type: 'application/pdf'

Comment 1 Yasser Yekken 2014-10-30 07:47:44 UTC
Created attachment 951983 [details]
File: backtrace

Comment 2 Yasser Yekken 2014-10-30 07:47:45 UTC
Created attachment 951984 [details]
File: environ

Comment 3 Fabian Affolter 2014-10-30 08:38:16 UTC

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