Skip to content
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

Deleted photos leave behind gray circles in people #2093

Open
vid-bin opened this issue Oct 15, 2023 · 1 comment
Open

Deleted photos leave behind gray circles in people #2093

vid-bin opened this issue Oct 15, 2023 · 1 comment
Labels
0. Needs triage Pending approval or rejection. This issue is pending approval. bug Something isn't working

Comments

@vid-bin
Copy link

vid-bin commented Oct 15, 2023

When using photos with recognize on the latest nextcloud when you delete a batch of photos it leaves behind empty gray circles where people should be. A lot of them. While it looks like you can still manually remove them it should do this automatically.

@vid-bin vid-bin added 0. Needs triage Pending approval or rejection. This issue is pending approval. bug Something isn't working labels Oct 15, 2023
@jaywink
Copy link

jaywink commented Oct 25, 2023

image

Can confirm, Nextloud 25.0.12, Recognize 3.8.0.

After Recognize had been running for a few days, through it I found out a folder of photos that I didn't need to keep. I deleted them and at some point after that noticed a large majority of the photos were hidden behind a gray circle (most of my photos probably fit into the first X group of people).

The console shows the same amount of 404's as the gray circles, urls like /remote.php/dav/recognize/jaywink/faces/73/.

The console has the following error which hopefully will help.

[ERROR] photos: Error fetching face files 
Object { app: "photos", uid: "jaywink", level: 0, error: Error }
​
app: "photos"
​
error: Error: Invalid response: 404 Not Found
​​
columnNumber: 1340308
​​
fileName: "https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11"
​​
lineNumber: 2
​​
message: "Invalid response: 404 Not Found"
​​
response: Object { data: '<?xml version="1.0" encoding="utf-8"?>\n<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">\n  <s:exception>Sabre\\DAV\\Exception\\NotFound</s:exception>\n  <s:message>Photo 214416 not found for user</s:message>\n</d:error>\n', status: 404, statusText: "Not Found", … }
​​​
config: Object { timeout: 0, xsrfCookieName: "XSRF-TOKEN", xsrfHeaderName: "X-XSRF-TOKEN", … }
​​​
data: '<?xml version="1.0" encoding="utf-8"?>\n<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">\n  <s:exception>Sabre\\DAV\\Exception\\NotFound</s:exception>\n  <s:message>Photo 214416 not found for user</s:message>\n</d:error>\n'
​​​
headers: Object { "cache-control": "no-store, no-cache, must-revalidate", connection: "Keep-Alive", "content-length": "223", … }
​​​
request: XMLHttpRequest { readyState: 4, timeout: 0, withCredentials: false, … }
​​​
status: 404
​​​
statusText: "Not Found"
​​​
<prototype>: Object { … }
​​
stack: "i@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:1340308\n51640/t.handleResponseCode@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:1340559\n38857/t.getDirectoryContents/</<@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:1320461\n38857/a</s/</<@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:1319686\n38857/a</s/<@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:1319791\no@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:1318505\npromise callback*u@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:1318670\n38857/r</<@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:1318681\n38857/r<@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:1318448\n38857/t.getDirectoryContents@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:1320099\ngetDirectoryContents@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:1304874\nfetchFaceContent@https://cloud.domain.tld/apps/photos/js/photos-node_modules_vue-material-design-icons_AccountBoxMultipleOutline_vue-src_components_FaceCover_vue.js?v=ba1b991aa1c54dc075f6:2:2526\nfetchFiles@https://cloud.domain.tld/apps/photos/js/photos-node_modules_vue-material-design-icons_AccountBoxMultipleOutline_vue-src_components_FaceCover_vue.js?v=ba1b991aa1c54dc075f6:2:9378\n42218/mounted/<@https://cloud.domain.tld/apps/photos/js/photos-node_modules_vue-material-design-icons_AccountBoxMultipleOutline_vue-src_components_FaceCover_vue.js?v=ba1b991aa1c54dc075f6:2:9278\n42218/waitForVisible/this.observer</<@https://cloud.domain.tld/apps/photos/js/photos-node_modules_vue-material-design-icons_AccountBoxMultipleOutline_vue-src_components_FaceCover_vue.js?v=ba1b991aa1c54dc075f6:2:9523\n42218/waitForVisible/this.observer<@https://cloud.domain.tld/apps/photos/js/photos-node_modules_vue-material-design-icons_AccountBoxMultipleOutline_vue-src_components_FaceCover_vue.js?v=ba1b991aa1c54dc075f6:2:9486\nIntersectionCallback*waitForVisible@https://cloud.domain.tld/apps/photos/js/photos-node_modules_vue-material-design-icons_AccountBoxMultipleOutline_vue-src_components_FaceCover_vue.js?v=ba1b991aa1c54dc075f6:2:9450\nmounted@https://cloud.domain.tld/apps/photos/js/photos-node_modules_vue-material-design-icons_AccountBoxMultipleOutline_vue-src_components_FaceCover_vue.js?v=ba1b991aa1c54dc075f6:2:9207\nMt@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:2478934\ncn@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:2483798\ninsert@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:2487415\nC@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:2522718\n20144/$a@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:2524077\n20144/e.prototype._update@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:2499975\nr@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:2530962\n20144/e.prototype.get@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:2481603\n20144/e.prototype.run@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:2482336\nTn@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:2484294\n20144/zt/<@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:2479980\nZt@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:2479379\npromise callback*Yt@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:2479469\nzt@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:2480043\nyn@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:2484790\n20144/e.prototype.update@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:2482272\n20144/e.prototype.notify@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:2467715\nset@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:2469518\nQt.prototype.init/</<@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:3503397\nQt.prototype.init/<@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:3503376\njt.prototype.updateRoute@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:3498294\njt.prototype.transitionTo/<@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:3496154\njt.prototype.confirmTransition/</<@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:3498158\nr@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:3494022\nr@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:3494060\nRt@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:3494069\njt.prototype.confirmTransition/<@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:3498061\nr@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:3494022\nRt/r/<@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:3494051\njt.prototype.confirmTransition/m/<@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:3497766\nOt/<@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:3494639\nm@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:3497401\nr@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:3494031\nr@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:3494060\nRt/r/<@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:3494051\njt.prototype.confirmTransition/m/<@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:3497766\nbeforeRouteLeave@https://cloud.domain.tld/apps/photos/js/photos-src_views_Timeline_vue.js?v=175640f4a723586e06d0:2:17627\nPt/<@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:3495717\nm@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:3497401\nr@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:3494031\nRt/r/<@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:3494051\njt.prototype.confirmTransition/m/<@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:3497766\nbeforeRouteLeave@https://cloud.domain.tld/apps/photos/js/photos-src_mixins_AbortControllerMixin_js-src_mixins_FilesSelectionMixin_js-src_components_File_vue--80ca54.js?v=05cba8f4a8922577947c:2:439\nPt/<@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:3495717\nm@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:3497401\nr@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:3494031\nRt@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:3494069\njt.prototype.confirmTransition@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:3497792\njt.prototype.transitionTo@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:3496120\nt.prototype.push@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:3499176\nQt.prototype.push@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:3503895\n_@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:3486719\nMt@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:2478921\nn@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:2471837\n20144/na/i._wrapper@https://cloud.domain.tld/apps/photos/js/photos-main.js?v=1df52d22-11:2:2510873\n"
​​
status: 404
​​
<prototype>: Error.prototype { stack: "", … }
​
level: 0
​
uid: "jaywink"
​
<prototype>: Object { … }
ConsoleLogger.js:59:18

Clicking a gray circle renders an empty page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending approval or rejection. This issue is pending approval. bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants