On 08/11/2022 15:06, Francesco Potortì wrote:
If I enable the "Postprocessing / Clean up images" option with default values, 
I get errors from unpaper.  Here they are:

[image2 @ 0x564ee7da3540] Encoder did not produce proper pts, making some up.
[image2 @ 0x564ee7da3540] The specified filename 
'/tmp/gscan2pdf-EBri/SGOfFcr2Nn.pnm' does not contain an image sequence pattern 
or a pattern is invalid.
[image2 @ 0x564ee7da3540] Use a pattern such as %03d for an image sequence or 
use the -update option (with -frames:v 1 if needed) to write a single image.

The file mentioned in the second of the three error messages does not exist.

I think that these are warnings, not errors, as I get output from unpaper despite them.

Because of errors/warnings like this, the message window that displays them gives you the possibility to hide them in the future. This works for the first and third messages, but not the second (because the filename changes every time).

I could take a look at the logic that parses the messages and see if I improve it.

However, I'm not sure there is any point, as I see this bug report:

https://github.com/unpaper/unpaper/issues/113

which is fixed by this commit:

https://github.com/unpaper/unpaper/commit/a2a88fe837fd6770ac94f08b2eb841f0dc9d2430

So I am tempted to reassign this to unpaper.

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to