Open mrishab opened 2 months ago
It looks like it has evaluated your pictures but detected no faces in any of them and hit an unhandled exception. I assume this error goes away if the user has any pictures with detectable faces in it, but you'll probably need to pass --defer-clustering
to the background task so that it will attempt the face detection first before hitting this divide by zero and breaking during clustering before it otherwise would get to the detection.
Still seems like a bug that needs fixing because one user having this condition might break things for other users since the script bails at that point.
D'Oh!. I didn't consider it... I'll fix it tomorrow, but as vwbusguy says, you can use the --defer-clustering option.
I started getting this error when I run face:background_job. It wasn't occurring before. I didn't change any configuration.
Make sure you read all the documentation, and the FAQ, and that the issue has not been reported before. :wink:
Expected behaviour
Actual behaviour
Steps to reproduce
php occ face:background_job
Server configuration
Dockerized setup:
Operating system:
Ubuntu server:
Docker version 20.10.18, build b40c2f6
Pdlib version: 1.0.2
How is DLib installed: Installed correctly, as the
background_job
command was workingHow is PDlib installed: Make sure it is working correctly with this tool
PHP version: PHP 8.2.19
Web server: apache
Database:: postgres:9.6.22
Nextcloud version: 29.0.0
Client configuration
Browser: Chrome
Operating system:
Logs
Background task log with debug.
sudo -u apache php occ -vvv face:background_job
``` Insert your background log here ```Web server error log
Web server error log
``` Insert your webserver log here ```Nextcloud log (data/nextcloud.log)
Nextcloud log
``` Insert your Nextcloud log here ```Browser log
Browser log
``` Insert your browser log here, this could for example include: a) The javascript console log b) The network log c) ... ```