juzisang / picgo-plugin-compress

Image compression plugin for PicGo
MIT License
129 stars 31 forks source link

上传失败 #26

Open dansemal opened 3 years ago

dansemal commented 3 years ago

2021-02-23 15:18:20 [PicGo INFO] Before transform 2021-02-23 15:18:20 [PicGo INFO] Transforming... 2021-02-23 15:18:20 [PicGo WARN] compress type:lubangitee 2021-02-23 15:18:20 [PicGo WARN] 原始文件大小:53811k ,C:\Users***\Pictures\747001.jpg 2021-02-23 15:18:20 [PicGo WARN] 本身就是jpg,不用转换:C:\Users***\Pictures\747001.jpg 2021-02-23 15:18:20 [PicGo WARN] 文件大小:53811k 2021-02-23 15:18:20 [PicGo WARN] failed 2021-02-23 15:18:20 [PicGo ERROR] ------Error Stack Begin------

Gxz-NGU commented 3 years ago

上传图片失败。错误信息: [PicGo INFO]: Before transform [PicGo INFO]: Transforming... Current transformer is [ compress] [PicGo WARN]: compress type: lubangitee [PicGo WARN]:原始文件大小:4512k ,/Users/xxxxLibrary/Application Support/ typora-user- images/ image-20210810123857980.png [PicGo WARN]: luban 格式转换为jpg [PicGo WARN]:. g/ node modules/execa/ index.js:87:17) { errno:' EPIPE', code:‘ EPIPE', syscall: 'write', stdout: ,stderr: ,failed: true, signal: null, cmd: /Users/xxx/ . picgo/node modules/mozjpeg/ vendor/cjpeg -quality 75 -sample 3x3', timedOut: false, killed: false }

you-hengh commented 2 years ago
2021-12-03 19:54:35 [PicGo INFO] [PicGo Server] upload files in list 
2021-12-03 19:54:35 [PicGo INFO] Before transform 
2021-12-03 19:54:35 [PicGo INFO] Transforming... Current transformer is [compress] 
2021-12-03 19:54:35 [PicGo WARN] compress type:lubangitee 
2021-12-03 19:54:35 [PicGo WARN] 原始文件大小:1391k ,/Users/bddxg/Library/Application Support/typora-user-images/image-20211203195434999.png 
2021-12-03 19:54:35 [PicGo WARN] luban  格式转换为jpg 
2021-12-03 19:54:35 [PicGo WARN] 文件大小:1273k 
2021-12-03 19:54:35 [PicGo WARN] 图片尺寸:4234x3054 
2021-12-03 19:54:35 [PicGo WARN] sampleSize:2x2,质量75 
2021-12-03 19:54:35 [PicGo WARN] failed 
2021-12-03 19:54:35 [PicGo ERROR] 
------Error Stack Begin------
Error: spawn /Users/bddxg/Library/Application Support/picgo/node_modules/mozjpeg/vendor/cjpeg ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:264:19)
    at onErrorNT (internal/child_process.js:456:16)
    at processTicksAndRejections (internal/process/task_queues.js:84:9)
-------Error Stack End------- 
2021-12-03 19:54:35 [PicGo ERROR] 
------Error Stack Begin------
Error: spawn /Users/bddxg/Library/Application Support/picgo/node_modules/mozjpeg/vendor/cjpeg ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:264:19)
    at onErrorNT (internal/child_process.js:456:16)
    at processTicksAndRejections (internal/process/task_queues.js:84:9)
-------Error Stack End------- 
2021-12-03 19:54:35 [PicGo WARN] [PicGo Server] upload failed, see picgo.log for more detail ↑ 
2021-12-03 19:57:38 [PicGo INFO] [PicGo Server] shutdown 
2021-12-03 19:58:51 [PicGo INFO] [PicGo Server] is listening at 36677 
2021-12-03 19:58:56 [PicGo INFO] [PicGo Server] get the request {"list":["\/Users\/bddxg\/Library\/Application Support\/typora-user-images\/image-20211203195850715.png"]} 
2021-12-03 19:58:56 [PicGo INFO] [PicGo Server] upload files in list 
2021-12-03 19:58:56 [PicGo INFO] Before transform 
2021-12-03 19:58:56 [PicGo INFO] Transforming... Current transformer is [compress] 
2021-12-03 19:58:56 [PicGo WARN] compress type:lubangitee 
2021-12-03 19:58:56 [PicGo WARN] 原始文件大小:5342k ,/Users/bddxg/Library/Application Support/typora-user-images/image-20211203195850715.png 
2021-12-03 19:58:56 [PicGo WARN] luban  格式转换为jpg 
2021-12-03 19:58:56 [PicGo WARN] 文件大小:2917k 
2021-12-03 19:58:56 [PicGo WARN] 图片尺寸:5120x2880 
2021-12-03 19:58:56 [PicGo WARN] sampleSize:4x4,质量75 
2021-12-03 19:58:56 [PicGo WARN] failed 
2021-12-03 19:58:56 [PicGo ERROR] 
------Error Stack Begin------
Error: spawn /Users/bddxg/Library/Application Support/picgo/node_modules/mozjpeg/vendor/cjpeg ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:264:19)
    at onErrorNT (internal/child_process.js:456:16)
    at processTicksAndRejections (internal/process/task_queues.js:84:9)
-------Error Stack End------- 
2021-12-03 19:58:56 [PicGo ERROR] 
------Error Stack Begin------
Error: spawn /Users/bddxg/Library/Application Support/picgo/node_modules/mozjpeg/vendor/cjpeg ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:264:19)
    at onErrorNT (internal/child_process.js:456:16)
    at processTicksAndRejections (internal/process/task_queues.js:84:9)
-------Error Stack End------- 
2021-12-03 19:58:56 [PicGo WARN] [PicGo Server] upload failed, see picgo.log for more detail ↑ 

设置了压缩选项为 lubangitee image

还是上传失败了...