Bug 1281242 - [abrt] pdfshuffler: pdfshuffler.py:1037:__init__:GError: The local file URI 'file:///tmp/tmpgBtSp8pdfshuffler/04_YSZ-COD-#2105681-XRD-pattern.pdf' may not include a '#'
[abrt] pdfshuffler: pdfshuffler.py:1037:__init__:GError: The local file URI '...
Status: CLOSED WONTFIX
Product: Fedora
Classification: Fedora
Component: pdfshuffler (Show other bugs)
21
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Fabian Affolter
Fedora Extras Quality Assurance
https://retrace.fedoraproject.org/faf...
abrt_hash:3ced911acd41be5fe1651d8d905...
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-11-12 01:09 EST by aten
Modified: 2015-11-15 08:07 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-11-15 08:07:52 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
File: backtrace (1.15 KB, text/plain)
2015-11-12 01:09 EST, aten
no flags Details
File: environ (2.02 KB, text/plain)
2015-11-12 01:09 EST, aten
no flags Details

  None (edit)
Description aten 2015-11-12 01:09:17 EST
Description of problem:
1. drug-n-dropped a pdf page into an existing window.
1. pdfshuffler keeps runnig but abrt has been triggered

Version-Release number of selected component:
pdfshuffler-0.6.0-5.fc21

Additional info:
reporter:       libreport-2.3.0
cmdline:        /usr/bin/python2 /usr/bin/pdfshuffler
executable:     /usr/bin/pdfshuffler
kernel:         4.1.6-100.fc21.x86_64
runlevel:       N 5
type:           Python
uid:            1001

Truncated backtrace:
pdfshuffler.py:1037:__init__:GError: The local file URI 'file:///tmp/tmpgBtSp8pdfshuffler/04_YSZ-COD-#2105681-XRD-pattern.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/tmpgBtSp8pdfshuffler/04_YSZ-COD-#2105681-XRD-pattern.pdf' may not include a '#'

Local variables in innermost frame:
nfile: 3
tmp_dir: '/tmp/tmpgBtSp8pdfshuffler'
f: <__main__.GLocalFile at 0x7fbc62db3690: file:///home/korneta/YSZ-COD-%232105681-XRD-pattern.pdf>
self: <pdfshuffler.pdfshuffler.PDF_Doc instance at 0x7fbc62df5680>
file_prefix: 'file://'
filename: '/home/korneta/YSZ-COD-#2105681-XRD-pattern.pdf'
expected_mime_type: 'application/pdf'
mime_type: 'application/pdf'
Comment 1 aten 2015-11-12 01:09:21 EST
Created attachment 1093024 [details]
File: backtrace
Comment 2 aten 2015-11-12 01:09:22 EST
Created attachment 1093025 [details]
File: environ
Comment 3 Fabian Affolter 2015-11-15 08:07:52 EST
This is an upstream bug. Check https://sourceforge.net/p/pdfshuffler/bugs/40/ for details and progress.

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