Molunerfinn / PicGo

:rocket:A simple & beautiful tool for pictures uploading built by vue-cli-electron-builder
https://molunerfinn.com/PicGo/
MIT License
24.24k stars 2.24k forks source link

[Bug]: 自动重命名要等很长时间 #1130

Closed gooooloo closed 1 year ago

gooooloo commented 1 year ago

前置阅读 | Pre-reading

PicGo的版本 | PicGo Version

2.4.0-beta.1

系统信息 | System Information

Mac

问题重现 | Bug reproduce

上传文件时,重命名要几分钟时间。

之前还是好的,昨天突然出现的(版本2.3.1)。尝试传不同文件都复现。重启系统也复现。PicGo 更新成 2.4.0-beta.1 也复现。

PicGo 配置如下。

image

相关日志 | Logs

2023-05-19 12:04:21 [PicGo INFO] Before upload 2023-05-19 12:04:21 [PicGo INFO] beforeUploadPlugins: renameFn running 2023-05-19 12:06:13 [PicGo INFO] Uploading... Current uploader is [tcyun]

可以看到 renameFn 花了 1.5 分钟

Molunerfinn commented 1 year ago

上传前重命名是会有个弹窗弹出的 你有点击么?如果只是想时间戳重命名 可以不用开启上传前重命名

gooooloo commented 1 year ago

有弹窗。之前弹窗是一弹出,就会有文件名内容的。我只需要点“上传”按钮即可。

昨天开始,那个弹出弹出来是文件名是空的。什么都不动,一段时间后文件名就会被自动填上。

gooooloo commented 1 year ago

是这样的界面

image
gooooloo commented 1 year ago

如果只是想时间戳重命名 可以不用开启上传前重命名

感谢提醒。我确实只想时间戳重命名。所以我应该可以绕过这个bug了。不过还是报一下吧。我这里还是能复现的。

Molunerfinn commented 1 year ago

感谢反馈 后续会看看问题

gooooloo commented 1 year ago

过滤了一下log。 昨天之前都是2秒左右。今天就这样了。 中间有一些没有 Uploading... 的,应该是我主动把重命名关闭了导致的。 供参考。

2023-05-17 20:41:44 [PicGo INFO] beforeUploadPlugins: renameFn running 2023-05-17 20:41:45 [PicGo INFO] Uploading... Current uploader is [tcyun] 2023-05-19 00:20:13 [PicGo INFO] beforeUploadPlugins: renameFn running 2023-05-19 00:20:15 [PicGo INFO] Uploading... Current uploader is [tcyun] 2023-05-19 00:21:41 [PicGo INFO] beforeUploadPlugins: renameFn running 2023-05-19 00:21:44 [PicGo INFO] Uploading... Current uploader is [tcyun] 2023-05-19 00:28:24 [PicGo INFO] beforeUploadPlugins: renameFn running 2023-05-19 00:28:26 [PicGo INFO] Uploading... Current uploader is [tcyun] 2023-05-19 11:21:30 [PicGo INFO] beforeUploadPlugins: renameFn running 2023-05-19 11:21:51 [PicGo INFO] beforeUploadPlugins: renameFn running 2023-05-19 11:22:15 [PicGo INFO] beforeUploadPlugins: renameFn running 2023-05-19 11:22:37 [PicGo INFO] beforeUploadPlugins: renameFn running 2023-05-19 11:24:46 [PicGo INFO] beforeUploadPlugins: renameFn running 2023-05-19 11:27:39 [PicGo INFO] beforeUploadPlugins: renameFn running 2023-05-19 11:30:56 [PicGo INFO] Uploading... Current uploader is [tcyun] 2023-05-19 11:35:33 [PicGo INFO] beforeUploadPlugins: renameFn running 2023-05-19 11:36:24 [PicGo INFO] beforeUploadPlugins: renameFn running 2023-05-19 11:38:23 [PicGo INFO] beforeUploadPlugins: renameFn running 2023-05-19 11:41:02 [PicGo INFO] beforeUploadPlugins: renameFn running 2023-05-19 11:41:21 [PicGo INFO] beforeUploadPlugins: renameFn running 2023-05-19 11:41:42 [PicGo INFO] beforeUploadPlugins: renameFn running 2023-05-19 11:41:42 [PicGo INFO] Uploading... Current uploader is [tcyun] 2023-05-19 11:43:59 [PicGo INFO] beforeUploadPlugins: renameFn running 2023-05-19 11:45:27 [PicGo INFO] Uploading... Current uploader is [tcyun] 2023-05-19 11:45:51 [PicGo INFO] beforeUploadPlugins: renameFn running 2023-05-19 11:47:50 [PicGo INFO] Uploading... Current uploader is [tcyun] 2023-05-19 11:59:26 [PicGo INFO] beforeUploadPlugins: renameFn running 2023-05-19 12:01:05 [PicGo INFO] Uploading... Current uploader is [tcyun] 2023-05-19 12:04:21 [PicGo INFO] beforeUploadPlugins: renameFn running 2023-05-19 12:06:13 [PicGo INFO] Uploading... Current uploader is [tcyun]

Molunerfinn commented 1 year ago

已修复,下个 beta 版本会更新

Molunerfinn commented 1 year ago

beta3修复了这个问题