PicGo / PicGo-Core

:zap:A tool for pictures uploading. Both CLI & API supports.
https://picgo.github.io/PicGo-Core-Doc/
MIT License
838 stars 85 forks source link

uploading failed #150

Closed ruinb0w closed 1 year ago

ruinb0w commented 1 year ago

The next uploading command is fine.

/Users/ruinb0w/Library/pnpm/picgo upload example/download.jpeg

But the next one failed, and the error message has been folded. How can I fix it?

command

/Users/ruinb0w/Library/pnpm/picgo upload /Applications/Typora.app/Contents/Resources/TypeMark/assets/icon/icon_512x512.png 

result


[PicGo INFO]: Before transform
[PicGo INFO]: Transforming... Current transformer is [path]
[PicGo INFO]: Before upload
[PicGo INFO]: Uploading... Current uploader is [smms]
[PicGo ERROR]: Error: [object Object]
    at Object.ve [as handle] (/Users/ruinb0w/Library/pnpm/global/5/.pnpm/picgo@1.5.0/node_modules/picgo/dist/index.cjs.js:1:18695)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async $e.doUpload (/Users/ruinb0w/Library/pnpm/global/5/.pnpm/picgo@1.5.0/node_modules/picgo/dist/index.cjs.js:1:17198)
    at async $e.start (/Users/ruinb0w/Library/pnpm/global/5/.pnpm/picgo@1.5.0/node_modules/picgo/dist/index.cjs.js:1:15969)
    at async Tt.upload (/Users/ruinb0w/Library/pnpm/global/5/.pnpm/picgo@1.5.0/node_modules/picgo/dist/index.cjs.js:1:71270)
    at async /Users/ruinb0w/Library/pnpm/global/5/.pnpm/picgo@1.5.0/node_modules/picgo/dist/index.cjs.js:1:3226
[PicGo WARN]: failed
[PicGo ERROR]: Error: Error: [object Object]
    at Object.ve [as handle] (/Users/ruinb0w/Library/pnpm/global/5/.pnpm/picgo@1.5.0/node_modules/picgo/dist/index.cjs.js:1:18794)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async $e.doUpload (/Users/ruinb0w/Library/pnpm/global/5/.pnpm/picgo@1.5.0/node_modules/picgo/dist/index.cjs.js:1:17198)
    at async $e.start (/Users/ruinb0w/Library/pnpm/global/5/.pnpm/picgo@1.5.0/node_modules/picgo/dist/index.cjs.js:1:15969)
    at async Tt.upload (/Users/ruinb0w/Library/pnpm/global/5/.pnpm/picgo@1.5.0/node_modules/picgo/dist/index.cjs.js:1:71270)
    at async /Users/ruinb0w/Library/pnpm/global/5/.pnpm/picgo@1.5.0/node_modules/picgo/dist/index.cjs.js:1:3226
Molunerfinn commented 1 year ago

The typora default png is banned by SM.MS

Please upload another pictures