Bug 1371986 - [abrt] pdfshuffler: pdfshuffler.py:1037:__init__:GError: The local file URI 'file:///tmp/tmpzDjNw5pdfshuffler/01_korneta-resume-references-ID#2016-3900.pdf' may not include a '#'
Summary: [abrt] pdfshuffler: pdfshuffler.py:1037:__init__:GError: The local file URI '...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: pdfshuffler
Version: 23
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Fabian Affolter
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:ae53a15b53d4d1f29f70f775c0e...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-31 15:33 UTC by aten
Modified: 2016-11-18 09:43 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-18 09:43:31 UTC
Type: ---


Attachments (Terms of Use)
File: backtrace (1.34 KB, text/plain)
2016-08-31 15:33 UTC, aten
no flags Details
File: environ (2.18 KB, text/plain)
2016-08-31 15:33 UTC, aten
no flags Details

Description aten 2016-08-31 15:33:37 UTC
Description of problem:
tried to open a pdf document by dragging it into pdf-shuffler window. The document created by exporting from Libre Office 

Version-Release number of selected component:
pdfshuffler-0.6.0-7.fc23

Additional info:
reporter:       libreport-2.6.4
cmdline:        /usr/bin/python2 /usr/bin/pdfshuffler
executable:     /usr/bin/pdfshuffler
kernel:         4.6.5-200.fc23.x86_64
runlevel:       N 5
type:           Python
uid:            1001

Truncated backtrace:
pdfshuffler.py:1037:__init__:GError: The local file URI 'file:///tmp/tmpzDjNw5pdfshuffler/01_korneta-resume-references-ID#2016-3900.pdf' may not include a '#'

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/pdfshuffler/pdfshuffler.py", line 828, in sw_dnd_received_data
    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: The local file URI 'file:///tmp/tmpzDjNw5pdfshuffler/01_korneta-resume-references-ID#2016-3900.pdf' may not include a '#'

Local variables in innermost frame:
nfile: 0
tmp_dir: '/tmp/tmpzDjNw5pdfshuffler'
f: <__main__.GLocalFile at 0x7fc724872b40: file:///home/korneta/_documents/JOB_applications/2016-Cree-Research_Scientist-Durham/final_submission/korneta-resume-references-ID%232016-3900.pdf>
self: <pdfshuffler.pdfshuffler.PDF_Doc instance at 0x7fc724842830>
file_prefix: 'file://'
filename: '/home/korneta/_documents/JOB_applications/2016-Cree-Research_Scientist-Durham/final_submission/korneta-resume-references-ID#2016-3900.pdf'
expected_mime_type: 'application/pdf'
mime_type: 'application/pdf'

Comment 1 aten 2016-08-31 15:33:41 UTC
Created attachment 1196448 [details]
File: backtrace

Comment 2 aten 2016-08-31 15:33:42 UTC
Created attachment 1196449 [details]
File: environ


Note You need to log in before you can comment on or make changes to this bug.