Closed meonkeys closed 2 years ago
Aha! The issue was a file with RIFF (little-endian) data, Web/P image
data, but the filename ended in .gif
. Fixed by renaming it from example.gif
to example.webp
.
I'm getting this same error sometimes (on line 751), maybe once per day after (during) a preview:pre-generate cron job. The script is called every 10 minutes, meaning that the error occurs roughly once every 150 runs.
preview:generate-all
andpreview:generate
both crash with this error:I assumed it was some kind of webp parsing bug, but it happens when it is trying to generate previews for a directory with GIF files.