unpaper: error: no input or output files given.
Bug #1921628 reported by
Bill Yikes
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unpaper (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
$ unpaper -t pbm --overwrite raw_pg-
unpaper: error: no input or output files given.
Try 'man unpaper' for more information.
$ ls -l raw_pg-
-rw-r--r-- 1 user user 1052713 Mar 28 09:45 raw_pg-
So the file exists, but unpaper falls over with this bogus error. This has worked for me previously but not today. Thus, it may be difficult to reproduce.
$ unpaper --version
6.1
To post a comment you must log in.
The workaround is to give up the --overwrite option, create a temp file, and copy it back over the source:
$ unpaper -t pbm raw_pg- 000_im_ th35.pbm raw_pg- 000_unpapered. pbm && mv -v raw_pg- 000_unpapered. pbm raw_pg- 000_im_ th35.pbm 000_im_ th35.pbm -> raw_pg- 000_unpapered. pbm 000_unpapered. pbm' -> 'raw_pg- 000_im_ th35.pbm'
Processing sheet #1: raw_pg-
[image2 @ 0x5561ee6a2ae0] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
[image2 @ 0x5561ee6a2ae0] Encoder did not produce proper pts, making some up.
'raw_pg-
I probably should have mentioned --overwrite in the subject of this report.. can't change it now.