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]: 删除相册中的图片时,程序意外关闭 #279

Closed
3 tasks done
UPToZ-Core opened this issue Dec 19, 2024 · 4 comments
Closed
3 tasks done

[Bug]: 删除相册中的图片时,程序意外关闭 #279

UPToZ-Core opened this issue Dec 19, 2024 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@UPToZ-Core
Copy link

前置阅读 | Pre-reading

PicList的版本 | PicList Version

v2.9.5

系统信息 | System Information

Windows

问题重现 | Bug reproduce

删除相册中的图片,程序直接自己退出了

相关日志 | Logs

2024-12-17 14:48:05 [PicList ERROR]
------Error Stack Begin------
TypeError: Cannot read properties of undefined (reading 'syncDelete')
at un.onDelete (C:\Users\Turbo\AppData\Roaming\piclist\node_modules\picgo-plugin-lankong\dist\index.js:20:39)
at un.emit (node:events:513:28)
at Timeout._onTimeout (D:\PicListData\PicList\resources\app.asar\index.js:8:2446999)
at listOnTimeout (node:internal/timers:559:17)
at process.processTimers (node:internal/timers:502:7)
-------Error Stack End-------
2024-12-17 14:48:23 [PicList ERROR]
------Error Stack Begin------
TypeError: Cannot read properties of undefined (reading 'syncDelete')
at un.onDelete (C:\Users\Turbo\AppData\Roaming\piclist\node_modules\picgo-plugin-lankong\dist\index.js:20:39)
at un.emit (node:events:513:28)
at Timeout._onTimeout (D:\PicListData\PicList\resources\app.asar\index.js:8:2446999)
at listOnTimeout (node:internal/timers:559:17)
at process.processTimers (node:internal/timers:502:7)
-------Error Stack End-------
2024-12-19 09:49:51 [PicList ERROR]
------Error Stack Begin------
TypeError: Cannot read properties of undefined (reading 'syncDelete')
at un.onDelete (C:\Users\Turbo\AppData\Roaming\piclist\node_modules\picgo-plugin-lankong\dist\index.js:20:39)
at un.emit (node:events:513:28)
at Timeout._onTimeout (D:\PicListData\PicList\resources\app.asar\index.js:8:2446999)
at listOnTimeout (node:internal/timers:559:17)
at process.processTimers (node:internal/timers:502:7)
-------Error Stack End-------

@UPToZ-Core UPToZ-Core added the bug Something isn't working label Dec 19, 2024
@UPToZ-Core
Copy link
Author

#111 参考置顶issue

我使用的是Piclist内置的兰空图床,未使用lankong插件

@Kuingsmile
Copy link
Owner

image
你的报错显示来自插件呀

@UPToZ-Core
Copy link
Author

image 你的报错显示来自插件呀

是什么原因导致 我不太清楚,不过我确实是下载了该插件,但是我从未配置过该插件,只配置了内置的兰空图床,目前已经卸载了lankong插件,已无问题,感谢你提供的解决方案。

@Kuingsmile
Copy link
Owner

这插件有问题,会主动监听删除事件,但如果只是安装了没有配置,就会出错

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

No branches or pull requests

2 participants