-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Unable to run job handler (thumbnailGeneration/generate-person-thumbnail): Error: extract_area: bad extract area #12530
Comments
Do you have face importing enabled in the metadata settings? I don't think it handles orientation correctly at the moment. |
Nope. Face Importing is left in its default off state in Metadata Settings. |
Could you open a random photo in your library, replace the ID in the URL with |
When I replace the ID (everything after https://.../photos/) of a random photo with
|
Oh, the ID for this job is for a person, not an asset. Could you share the output of this one-liner? It assumes your DB username is docker exec immich_postgres psql -U user -c "SELECT jsonb_pretty(jsonb_build_object('id', a.id, 'type', a.type, 'exifOrientation', e.orientation, 'exifHeight', e.\"exifImageHeight\", 'exifWidth', e.\"exifImageWidth\", 'previewHeight', af.\"imageHeight\", 'previewWidth', af.\"imageWidth\", 'originalPath', a.\"originalPath\", 'previewPath', file.path, 'personThumbnailPath', p.\"thumbnailPath\", 'x1', af.\"boundingBoxX1\", 'y1', af.\"boundingBoxY1\", 'x2', af.\"boundingBoxX2\", 'y2', af.\"boundingBoxY2\")) as metadata FROM assets a INNER JOIN exif e ON a.id = e.\"assetId\" INNER JOIN asset_faces af on a.id = af.\"assetId\" INNER JOIN person p on af.id = p.\"faceAssetId\" INNER JOIN asset_files file ON file.\"assetId\" = af.\"assetId\" AND file.type = 'preview' WHERE p.id = '271ec018-81ea-4244-a1e1-1ec3cd86b50b';" db |
Please see below for the output. File path redacted for privacy.
|
Thanks, this is helpful. I'll try to reproduce the issue based on the dimensions and coordinates here. |
Not sure if it's related, but I had issues with generating thumbs for some people to. Seems like it was related to NEF (Nikon RAW) files. When downloading the generated preview and uploaded it as a separate file, I could tag the person with that image. Seems like it fails with NEF files. |
Similar to #13049 (wrong image size is used as the base for cropping)? |
The bug
Initial set up of a new Immich v1.114.0 instance that uses read-only external libraries. All jobs completed, but saw several cases of the same error in logs.
What's going on and how do I resolve?
The OS that Immich Server is running on
Ubuntu 22.04.4 LTS
Version of Immich Server
v1.114.0
Version of Immich Mobile App
1.113.1 build.172
Platform with the issue
Your docker-compose.yml content
Your .env content
Reproduction steps
OBSERVED: errors in logs
EXPECTED: no errors in logs
Relevant log output
Additional information
No response
The text was updated successfully, but these errors were encountered: