Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WARN: Unable to create a diff image #628

Open
maelvls opened this issue Jul 1, 2021 · 0 comments
Open

WARN: Unable to create a diff image #628

maelvls opened this issue Jul 1, 2021 · 0 comments

Comments

@maelvls
Copy link

maelvls commented Jul 1, 2021

I suspect this project is in "sleep" mode, but I'll report this bug since I found a workaround. With wraith 4.2.4, I encountered errors like

WARN: Failures detected:
WARN:    Unable to create a diff image for home
WARN:    Unable to create a diff image for /docs
WARN:    Unable to create a diff image for /docs/concepts/certificaterequest
WARN:    Unable to create a diff image for /docs/concepts/certificate
WARN:    Unable to create a diff image for /docs/concepts/acme-orders-challenges

No error was reported during the "Saved diff" stage. I realized that the "diff" command was called with no fuzz argument (notice the two blanks):

compare -fuzz  -metric AE -highlight-color blue shots/home/1600_chrome_current.png shots/home/1600_chrome_next.png shots/home/1600_chrome_diff.png
#            ^^

I fixed this by adding the fuzz parameter to my config.yaml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant