PicGo: image not found in clipboard
文章目录
- PicGo: image not found in clipboard
- 问题描述
- 问题尝试
- 解决方案
问题描述
背景:在剪切板中的图片无法通过
PicGo
的剪切板图片进行上传。
读取PicGo
日志报错,显示图片没有在剪切板中找到。
$ ------Error Stack Begin------
$ Error: image not found in clipboard
$ at $t.upload (C:\Program Files\PicGo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:72850)
$ at processTicksAndRejections (node:internal/process/task_queues:96:5)
$ at async Object.upload (C:\Program Files\PicGo\resources\app.asar\index.js:2:690303)
$ at async C:\Program Files\PicGo\resources\app.asar\index.js:2:692247
$ at async ur (C:\Program Files\PicGo\resources\app.asar\index.js:2:692079)
$ -------Error Stack End-------
问题尝试
调用联想系统截图,确保进入剪切板,重复测试报错,明显中文用户名路径错误。
------Error Stack Begin------
Error: Can't find C:\Users\��Ʈ����\AppData\Roaming\picgo\picgo-clipboard-images\20240408144653.pngat Socket.<anonymous> (C:\Program Files\PicGo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:49563)at Socket.emit (node:events:394:28)at addChunk (node:internal/streams/readable:315:12)at readableAddChunk (node:internal/streams/readable:289:9)at Socket.Readable.push (node:internal/streams/readable:228:10)at Pipe.onStreamRead (node:internal/stream_base_commons:199:23)
-------Error Stack End-------
解决方案
启动 PicGo
设置中 ,使用内置剪切板上传