librephotos: When returning faces to unknown Scrolling down leaves empty spaces and invalid page
π Bug Report
- π Iβve Included a ZIP file containing my librephotos
logfiles - β I have looked for similar issues (including closed ones)
- π¬ (If applicable) Iβve provided pictures or links to videos that clearly demonstrate the issue
π Description of issue:
When I go to the face tab and in the inferred tab change the assignment of more than X number of pictures, when scrolling down I get empty spaces and a pop-up that says Invalid Page until I refresh.
π How can we reproduce it:
Go to faces page, do more than a few rows of changes, and continue scrolling. Sometimes if the faces are not grouped together it happens more often, so if itβs not the whole row.
Please provide additional information:
- π» Operating system: TrueNAS
- β Architecture (x86 or ARM): x86
- π’ Librephotos version: Latest Stable
- πΈ Librephotos installation method (Docker, Kubernetes, .deb, etc.): Docker
- π If Docker or Kubernets, provide docker-compose image tag:
- π How is you picture library mounted (Local file system (Type), NFS, SMB, etc.): Direct Mount
- β If you are virtualizing librephotos, Virtualization platform (Proxmox, Xen, HyperV, etc.):
About this issue
- Original URL
- State: open
- Created a year ago
- Comments: 25 (6 by maintainers)
I get this too. I am having a strange issue with tagging faces. When I navigate to the Faces->Inferred tab, I see the faces to infer. I tag a few faces and then I get an error message and looking at the dev tools I see that person 491 page 2 is failing. But the strange thing is that just before it - the request was successful. Only after tagging and only for this person 491 page 2 I get the error. This in itself not a problem, but the result is that all faces vanish and I cannot tag any more, only a browser refresh brings them back, until the next tagβ¦
This effectively makes tagging a nightmare π¦
Console error log:
See screen capture here: https://www.kapwing.com/w/fx_AqJiibc I tried re-scanning the library, that didnt help
I checked the DB - person 491 is a valid person (not an unknown cluster), so not sure how to pinpoint the face that causes issuesβ¦
Logs from the logs folder: logs.zip
I understand this is hard to reproduce - so I am happy to try and debug this locally, if you can provide instructions on where to look
Nice, seems to work much better now, still sometimes you need to scroll up or down or toggle sorting Confidence/Date to make some faces to show up after tagging a face in Inferred tab
@derneuere Preliminary tests on empty enferred collection - no error! Yay! Iβm gonna start a new image scan and check again when there are inferred faces and report back.
Looks promising! π€
Yes exactly π
For now only on dev or in the next release in January π
Still present in the latest version.
Looks like the counting for unknown faces was just broken in general. Fixed a push and that will be in the next release π