PicGo / vs-picgo

A VSCode plugin of PicGo
https://marketplace.visualstudio.com/items?itemName=Spades.vs-picgo
MIT License
375 stars 53 forks source link

smms上传失败 #57

Closed Ares-X closed 4 years ago

Ares-X commented 4 years ago

Describe the bug

使用默认配置在win和mac下截图上传图片,右下角显示上传失败 picgo-core 1.4.7 已支持添加sm.ms图床个人token,未在配置文件见到该项

To Reproduce

1.截图 2.使用快捷键从剪切板上传

System information

win10 mac 10.15

VSCode information

版本: 1.42.1 (user setup)
提交: c47d83b293181d9be64f27ff093689e8e7aed054
日期: 2020-02-11T14:45:59.656Z
Electron: 6.1.6
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Windows_NT x64 10.0.18363

默认配置

Additional context

Is this bug picBed specific, i.e. only the picBed you use is affected? Yes/No.

Is there any error in the console (Help -> Toggle Developer tools)?: Yes/No.


[Extension Host] [PicGo INFO]: Before transform
console.ts:137 [Extension Host] [PicGo INFO]: Transforming...
console.ts:137 [Extension Host] [PicGo INFO]: Before upload
console.ts:137 [Extension Host] [PicGo INFO]: Uploading...
notificationsAlerts.ts:40 上传失败! .
onDidNotificationChange @ notificationsAlerts.ts:40
(anonymous) @ notificationsAlerts.ts:26
fire @ event.ts:582
addNotification @ notifications.ts:171
notify @ notificationService.ts:101
(anonymous) @ mainThreadMessageService.ts:83
_showMessage @ mainThreadMessageService.ts:44
$showMessage @ mainThreadMessageService.ts:38
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
(anonymous) @ rpcProtocol.ts:101
fire @ event.ts:582
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
(anonymous) @ ipc.net.ts:592
fire @ event.ts:582
acceptChunk @ ipc.net.ts:239
(anonymous) @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:200
addChunk @ _stream_readable.js:294
readableAddChunk @ _stream_readable.js:275
Readable.push @ _stream_readable.js:210
onStreamRead @ internal/stream_base_commons.js:166
console.ts:137 [Extension Host] failed
console.ts:137 [Extension Host] [PicGo ERROR]: Error
Molunerfinn commented 4 years ago

嗯...因为vs-picgo还没更新支持最新的picgo-core