[GH-ISSUE #583] [bug] 自动同步出现异常 #426

Closed
opened 2026-03-02 03:39:49 +03:00 by kerem · 1 comment
Owner

Originally created by @bsneric on GitHub (Aug 26, 2025).
Original GitHub issue: https://github.com/codexu/note-gen/issues/583

详细描述这个 Bug

Image

配置好了Github,设置了自动同步,连接Github是正常的。

当写作的文档到时自动同步时,出现如上的“同步失败”的异常。(手动同步是正常的)

补充:
我配置了智谱AI的Embedding,是否跟这个有关?

Image

NoteGen 版本

0.20.2

操作系统

Windows

报错日志

caught (in promise) TypeError: Cannot set properties of undefined (setting 'name')
at J (6d8fa028bbb018eb.js:1:33384)

Originally created by @bsneric on GitHub (Aug 26, 2025). Original GitHub issue: https://github.com/codexu/note-gen/issues/583 ### 详细描述这个 Bug <img width="475" height="110" alt="Image" src="https://github.com/user-attachments/assets/1f63cff6-2429-449c-8368-863d1681af61" /> 配置好了Github,设置了自动同步,连接Github是正常的。 当写作的文档到时自动同步时,出现如上的“同步失败”的异常。(手动同步是正常的) 补充: 我配置了智谱AI的Embedding,是否跟这个有关? <img width="1510" height="575" alt="Image" src="https://github.com/user-attachments/assets/a32e9fc6-a4ce-47bd-8a25-46b42cea6fcf" /> ### NoteGen 版本 0.20.2 ### 操作系统 Windows ### 报错日志 caught (in promise) TypeError: Cannot set properties of undefined (setting 'name') at J (6d8fa028bbb018eb.js:1:33384)
kerem closed this issue 2026-03-02 03:39:49 +03:00
Author
Owner

@codexu commented on GitHub (Sep 4, 2025):

这个报错是同步方面的报错,AI 模型无关。
看起来是同步的文档与服务器中的 sha 不一致,是否是因为在自动同步期间,切换过文件?

<!-- gh-comment-id:3252112772 --> @codexu commented on GitHub (Sep 4, 2025): 这个报错是同步方面的报错,AI 模型无关。 看起来是同步的文档与服务器中的 sha 不一致,是否是因为在自动同步期间,切换过文件?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/note-gen#426
No description provided.