home-gallery: Preview extractor producing lots of errors into log
Trying out the Linux binary with the default config. I’m getting a lot of error messages from the preview extractor in the log of the form:
{"level":50,"time":"2024-08-21T17:11:52.609Z","pid":284344,"hostname":"BRIX2","module":"extractor.image.preview","levelName":"error","err":{"type":"TypeError","message":"Cannot read properties of undefined (reading 'length')","stack":"TypeError: Cannot read properties of undefined (reading 'length')\n at file:///tmp/caxa/home-gallery/1.16.1/home-gallery/node_modules/@home-gallery/extractor/dist/extract/image/image-preview.js:128:26\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)"},"msg":"Could not calculate image previews of b64fc73:000to-sort4:05KZGbt.jpeg: TypeError: Cannot read properties of undefined (reading 'length')"}
And here is that specific image:
The messages don’t seem to be fatal, in that the images do show in the gallery.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 15 (8 by maintainers)
Starting from 8cb284f the version information with commit ID is printed. E.g.
@bkralik Thank you for this wonderful suggestion.