Bug 1699440 - diffpdf doesn't accept two files as arguments from the command line
Summary: diffpdf doesn't accept two files as arguments from the command line
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: diffpdf
Version: 30
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Till Maas
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-04-12 17:37 UTC by Jobst Hoffmann
Modified: 2019-09-09 07:33 UTC (History)
7 users (show)

Fixed In Version: diffpdf-2.1.3-17.fc30
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-09-09 07:33:46 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jobst Hoffmann 2019-04-12 17:37:41 UTC
Description of problem:

Trying to visually .pdf files doesn't work anymore from the command line


Version-Release number of selected component (if applicable):

2.1.3-16.fc30

How reproducible:

with any two .pdf files

Steps to Reproduce:
1. in a terminal enter diffpdf a.pdf b.pdf
2.
3.

Actual results:

The diffpdf window pops up and asks for entering file #2

Expected results:

The diffpdf window pops up and starts the analysis of the two files
Additional info:

Comment 1 Susi Lehtola 2019-05-28 07:40:21 UTC
Well it doesn't work even if you choose the two files from the window!

Comment 2 Glenn Zazulia 2019-06-24 21:34:55 UTC
Same problems observed here:  (1) fails to perform comparison when invoking w/ two files from cmdline (must select 2nd file from UI and then click Compare), and (2) even when choosing from UI and running Compare, the utility doesn't work reliably.  It sometimes finds some of the differences, but I also observe it reporting that two documents are the same even when I know they differ.  This is a regression since upgrading from fc29 to fc30.

Comment 3 Stefan Hoelldampf 2019-08-28 15:36:01 UTC
A locally rebuilt diffpdf-2.1.3-16.fc30.x86_64.rpm by executing "rpmbuild -rb diffpdf-2.1.3-16.fc30.src.rpm" correctly detects two command line parameters with PDF files.

Maybe a simple rebuild of this package might help?

Comment 4 Jobst Hoffmann 2019-09-01 11:03:27 UTC
(In reply to Stefan Hoelldampf from comment #3)
> A locally rebuilt diffpdf-2.1.3-16.fc30.x86_64.rpm by executing "rpmbuild
> -rb diffpdf-2.1.3-16.fc30.src.rpm" correctly detects two command line
> parameters with PDF files.
> 
> Maybe a simple rebuild of this package might help?

That did the trick, diffpdf works for me as expected.

Comment 5 Susi Lehtola 2019-09-01 17:50:27 UTC
Since the fix has been confirmed by two people and there's been no activity on the ticket by the maintainer, I'm going ahead with the simple rebuilds.

Comment 6 Fedora Update System 2019-09-01 17:58:20 UTC
FEDORA-2019-de41f89055 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-de41f89055

Comment 7 Fedora Update System 2019-09-02 01:09:07 UTC
diffpdf-2.1.3-17.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-de41f89055

Comment 8 Fedora Update System 2019-09-09 07:33:46 UTC
diffpdf-2.1.3-17.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.


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