ImmichI
Immich3y ago
Darren

people feature photo doesn't update

I get the following error in _microservices after attempting to change the feature photo for a person (but a success message in the UI):

[Nest] 7  - 08/12/2023, 5:04:21 AM   ERROR [JobService] Unable to run job handler: Error: Expected integer for width but received -2 of type number
[Nest] 7  - 08/12/2023, 5:04:21 AM   ERROR [JobService] Error: Expected integer for width but received -2 of type number
    at Object.invalidParameterError (/usr/src/app/node_modules/sharp/lib/is.js:124:10)
    at Sharp.<anonymous> (/usr/src/app/node_modules/sharp/lib/resize.js:442:16)
    at Array.forEach (<anonymous>)
    at Sharp.extract (/usr/src/app/node_modules/sharp/lib/resize.js:437:38)
    at MediaRepository.crop (/usr/src/app/dist/infra/repositories/media.repository.js:20:14)
    at FacialRecognitionService.handleGenerateFaceThumbnail (/usr/src/app/dist/domain/facial-recognition/facial-recognition.services.js:149:58)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /usr/src/app/dist/domain/job/job.service.js:104:37
    at async Worker.processJob (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:342:28)
    at async Worker.retryIfFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:525:24)
[Nest] 7  - 08/12/2023, 5:04:21 AM   ERROR [JobService] Object:
{
  "personId": "ba3ab12f-c532-4499-92ed-ae8901fb6c3c",
  "assetId": "ea5f8d59-8596-4b40-8480-b63bc995ad87",
  "boundingBox": {

    "x1": 0,

    "x2": 0,

    "y1": 0,
    "y2": 0
  },
  "imageHeight": 0,
  "imageWidth": 0
}
Was this page helpful?