regression in test t/357_unpaper_rtl.t
Brought to you by:
ra28145
Hi,
there seems to be a regression in gscan2pdf-2.13.2:
t/356_unpaper_corrupt_image.t ................. ok
t/357_unpaper_rtl.t ........................... 2023/04/20 04:01:01 [image2 @ 0x448700] Encoder did not produce proper pts, making some up.
[image2 @ 0x448700] The specified filename '/build/KL5kTVnNCi/vlO74czl2x.pnm' does not contain an image sequence pattern or a pattern is invalid.
[image2 @ 0x448700] 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.
[image2 @ 0x452940] The specified filename '/build/KL5kTVnNCi/JbUyV_hVUO.pnm' does not contain an image sequence pattern or a pattern is invalid.
[image2 @ 0x452940] 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.
convert: negative or zero image size `/build/KL5kTVnNCi/YfgegFM53e.pnm' @ error/resize.c/ResizeImage/3743.
*** unhandled exception in callback:
*** "convert" unexpectedly returned exit value 1 at t/357_unpaper_rtl.t line 63.
The full build log is available at https://hydra.nixos.org/build/216769307/nixlog/1
Versions:
unpaper-7.0.0
imagemagick-7.1.1-7
It seems the build succeeded with imagemagick-7.1.1-6 which would suggest a regression due to an update of imagemagick.
I was about to report the same; for cross-reference here the nixpkgs issue for it: https://github.com/NixOS/nixpkgs/issues/227265
Thanks for the reports. Does that version of
convertproduce reasonable output for the following:?
The last command says something on stderr, and returns with non-zero status.
As test.pnm doesn't have a negative or zero image size, it looks like a bug in imagemagick to me.
Reported at https://github.com/ImageMagick/ImageMagick/issues/6287
Fixed upstream in 7.1.1-8.
Thanks for the update. Does that mean that I can close this?
Yes, I think so. Thanks!
01.05.2023 11:53:47 Jeffrey Ratcliffe ra28145@users.sourceforge.net:
Related
Bugs:
#418