Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

photos: Failed to move selection - No face detection found for file "xxxxx" in face "unassigned"

已关闭
#1,585 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

已经有一个关联 PR 被合并了。

  • #4033 来自 @marcelklehr —— 已合并

评估

难度
4/5
预计耗时
3-5 天
新手友好度
48/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
php
领域
backend

调研方向

Start by tracing how the Photos app moves a selection from /apps/photos/faces/unassigned to an existing face, then inspect the recognize face detection lookup for the reported “No face detection found” error. Reproduce with the reported Nextcloud 35.0.1 and recognize 13.1.0 setup if available; done means assigning an unassigned photo to an existing face succeeds without that error.

由索引模型根据 Issue 内容生成。

描述

bug
Which version of recognize are you using?

13.1.0

Enabled Modes

Object recognition, Face recognition

TensorFlow mode

Normal mode

Downstream App

Photos App

Which Nextcloud version do you have installed?

35.0.1

Which Operating system do you have installed?

Alma 10

Which database are you running Nextcloud on?

MariaDB 10.11.19

Which Docker container are you using to run Nextcloud? (if applicable)

No response

How much RAM does your server have?

6GB

What processor Architecture does your CPU have?

x86_64

Describe the Bug

I go to /apps/photos/faces/unassigned

I choose one photo.

I try to assign it to an existing face.

I get an error in dev console of browser:

[ERROR] photos: Failed to move selection 
Object { app: "photos", uid: "simon", level: 2, error: Error }
​
app: "photos"
​
error: Error: No face detection found for file "xxxx" in face "unassigned"
​
level: 2
​
uid: "xxx"
​
<prototype>: Object { … }
index.mjs:47:17

no error logged in nextcloud log.

I already tried occ recognize:reset-face-clusters & occ recognize:cluster-faces , no change

Expected Behavior

I can assign photo to an existing face.

To Reproduce

see bug description

Debug log

no output in debug log

主要语言
PHP
星标
700
派生
70
平均合并
4 天 15 小时
30 天内合并 PR
5

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

nextcloud/recognize 的其他 Issue

查看 nextcloud/recognize 的全部 Issue

相似的 Issue

更多 PHP Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。