Files with "#" in it won't open, due to parsing of document position

Bug #1024227 reported by Franz Fellner on 2012-07-13
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
qpdfview
High
Adam Reichold
qpdfview (Ubuntu)
Undecided
Benjamin Eltzner

Bug Description

[8:29] $ touch "testfile#1.pdf"
[8:29] $ qpdfview "testfile#1.pdf"
"Error: Couldn't open file '/home/franz/tmp/testfile': No such file or directory."

Adam Reichold (adamreichold) wrote :

Thanks for reporting. This is indeed true. Switching the parsing to use a regular expression will hopefully solve this.

Changed in qpdfview:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Adam Reichold (adamreichold)
milestone: none → 0.3.2
Adam Reichold (adamreichold) wrote :

Ok, the fix is in trunk revision 429. Testing is appreciated. (Might take a while for the daily builds to rebuild though.)

Changed in qpdfview:
status: Triaged → Fix Committed
Franz Fellner (alpine-art-de) wrote :

Well... :D
qpdfview "test.pdf#1-#10.pdf#3#5.pdf#2"
does what it should - open page #2 from extracted pages #3 and #5 from the extraction of pages #1 to #10 from test.pdf - or so :D
So the regexp looks stable to me.

Changed in qpdfview:
status: Fix Committed → Fix Released
Adam Reichold (adamreichold) wrote :

I attach this patch to fix the command-line parsing of version 0.3.1 for package maintainers to test and possibly apply to their packages.

Changed in qpdfview (Ubuntu):
status: New → Confirmed

The attachment "Fix parsing of command-line arguments" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Changed in qpdfview (Ubuntu):
assignee: nobody → Benjamin Eltzner (b-eltzner)
Benjamin Eltzner (b-eltzner) wrote :

Marking this as "Fix Released" in the package, as Quantal has reached EOL.

Changed in qpdfview (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers