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 '#'
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: 21
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:3ced911acd41be5fe1651d8d905...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-12 06:09 UTC by aten
Modified: 2015-11-15 13:07 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-15 13:07:52 UTC
Type: ---
Embargoed:


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

Description aten 2015-11-12 06:09:17 UTC
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 06:09:21 UTC
Created attachment 1093024 [details]
File: backtrace

Comment 2 aten 2015-11-12 06:09:22 UTC
Created attachment 1093025 [details]
File: environ

Comment 3 Fabian Affolter 2015-11-15 13:07:52 UTC
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.