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

[BUG] 上传媒体文件的409 error #565

Closed
Zeyi-Lin opened this issue May 23, 2024 · 3 comments · Fixed by #603
Closed

[BUG] 上传媒体文件的409 error #565

Zeyi-Lin opened this issue May 23, 2024 · 3 comments · Fixed by #603
Assignees
Labels
🐛 bug Something isn't working

Comments

@Zeyi-Lin
Copy link
Member

Zeyi-Lin commented May 23, 2024

在一些情况下,log媒体文件会出现问题,报409 api错误,前端的显示为持续加载中。

img_v3_02b3_296b2a7a-6dcb-412f-89d2-dfecd8ddb0bg

@Zeyi-Lin Zeyi-Lin added the 💪 enhancement New feature or request label May 23, 2024
@SAKURA-CAT
Copy link
Contributor

哪些情况下?

@Zeyi-Lin
Copy link
Member Author

哪些情况下?

还没找到能稳定复现的Demo,目前已知主要出现在log swanlab.Image的时候。

另一方面,对于已知ERROR的媒体文件,需有占位图。

@Zeyi-Lin Zeyi-Lin changed the title [REQUEST] 上传媒体文件的409 error [BUG] 上传媒体文件的409 error May 23, 2024
@Zeyi-Lin Zeyi-Lin added 🐛 bug Something isn't working and removed 💪 enhancement New feature or request labels May 23, 2024
@Zeyi-Lin
Copy link
Member Author

在使用fastai集成时,在train中途Ctrl+C时,会稳定出现409报错;
判断是多线程问题。

@Zeyi-Lin Zeyi-Lin pinned this issue May 26, 2024
SAKURA-CAT added a commit that referenced this issue Jun 5, 2024
## Description

* 重构数据处理流程和modules,保存行为交由操作员实现, for #592 
* 为上传线程增加安全锁,应该能解决409问题 #565 
* 为上传线程中媒体文件上传部分增加了一些报错log,方便调试
* 设置了上传key的检查,不允许 `.`和`/`和` `开头,不能为全空空格,收尾空格会被删除

---------

Co-authored-by: ZeYi Lin <944270057@qq.com>
@Zeyi-Lin Zeyi-Lin unpinned this issue Jun 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants