Skip to content

add webDav Migrate#1248

Draft
floating142 wants to merge 1 commit intoPredidit:mainfrom
floating142:test
Draft

add webDav Migrate#1248
floating142 wants to merge 1 commit intoPredidit:mainfrom
floating142:test

Conversation

@floating142
Copy link
Copy Markdown
Contributor

No description provided.

@Predidit
Copy link
Copy Markdown
Owner

这个实现非常漂亮

但是我忘记了严重的问题,当使用者在多个平台上安装了不同版本的 kazumi 时,我们会遇到大混乱

这似乎没有什么恰当的解决方法,我们是否要回滚 #1245

@floating142
Copy link
Copy Markdown
Contributor Author

我也没有好的想法
或许可以强制更新(但对于用户太不友好)

还是先回滚上一个pr吧
这个就先设置为草案吧

@floating142
Copy link
Copy Markdown
Contributor Author

还有一个bug被回滚了
updateCollectibles() 中 await update('collectchanges');

downloadCollectChanges() 中 collectChanges.tmp
文件名不一样

@floating142 floating142 marked this pull request as draft August 28, 2025 14:25
@Predidit
Copy link
Copy Markdown
Owner

Predidit commented Aug 28, 2025

这是由 git 生成的完整回滚,这个错误应该之前就存在,这个错误之前是否导致了什么问题。

@floating142
Copy link
Copy Markdown
Contributor Author

这个bug会导致collectchanges下载失败,但是追番界面没有失败提示

**2025-08-28 22:36:23.957820** 
webDav download collect changes failed DioException [bad response]: null
Error: Not Found 
 
**2025-08-28 22:36:23.961767** 
webDav get collectibles from file failed PathNotFoundException: Cannot open file, path = '/home/float/.local/share/kazumi/webdavTemp/collectChanges.tmp' (OS Error: 没有那个文件或目录, errno = 2) 
 
**2025-08-28 22:53:47.119217** 
webDav download collect changes failed DioException [bad response]: null
Error: Not Found 
 
**2025-08-28 22:53:55.624141** 
webDav get collectibles from file failed PathNotFoundException: Cannot open file, path = '/home/float/.local/share/kazumi/webdavTemp/collectChanges.tmp' (OS Error: 没有那个文件或目录, errno = 2) 
 

我在 #1245 中修复了这个bug

@Predidit
Copy link
Copy Markdown
Owner

有兴趣重新提交只包含此修复的 pr 吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants