Comment 5 for bug 1687308

Revision history for this message
James R Barlow (jbarlow83) wrote : Re: [Bug 1687308] Re: ocrmypdf program and man page disagree about options

In upstream I removed both of these arguments. I suggest patching them out
of Ubuntu as well.

On Thu, May 25, 2017 at 12:41 Andreas Moog <email address hidden>
wrote:

> I agree that there is a bug with the -n option. From what I understand,
> it should only simulate the commands, not actually execute them. But the
> final check on the output.pdf seems to be unconditionally called, even
> if -n is used. That's why you get an error.
>
> You have to use the verbose option to see more of what ocrmypdf does.
> Like in my example, -n --verbose 2 will tell you what tasks would be
> run.
>
> What do you expect -n to be doing?
>
> --
> You received this bug notification because you are subscribed to Ubuntu.
> https://bugs.launchpad.net/bugs/1687308
>
> Title:
> ocrmypdf program and man page disagree about options
>
> Status in ocrmypdf package in Ubuntu:
> Incomplete
>
> Bug description:
> The man page for ocrmypdf claimes there is a "--just-print" option but
> the program rejects this. Also the man page claims the "-n" does the
> same. It doesn't. The option is accepted but nothing obvious happens.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 17.04
> Package: ocrmypdf 4.3.5-2
> ProcVersionSignature: Ubuntu 4.10.0-20.22-generic 4.10.8
> Uname: Linux 4.10.0-20-generic x86_64
> ApportVersion: 2.20.4-0ubuntu4
> Architecture: amd64
> CurrentDesktop: Unity:Unity7
> Date: Sun Apr 30 13:55:46 2017
> EcryptfsInUse: Yes
> InstallationDate: Installed on 2015-05-31 (699 days ago)
> InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64
> (20150218.1)
> PackageArchitecture: all
> ProcEnviron:
> LANGUAGE=en_US
> PATH=(custom, no user)
> XDG_RUNTIME_DIR=<set>
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> SourcePackage: ocrmypdf
> UpgradeStatus: Upgraded to zesty on 2017-04-28 (1 days ago)
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/ocrmypdf/+bug/1687308/+subscriptions
>
>