Code Monkey home page Code Monkey logo

Comments (6)

Molunerfinn avatar Molunerfinn commented on June 7, 2024 1

你用typora默认上传传的那两张图片已经被 smms 官方封禁。你传几张自己的图片就可以了

from picgo.

DraceWang avatar DraceWang commented on June 7, 2024 1

好的,非常感谢。如果可以可以在新版本中说明,毕竟是typora这个上传验证的功能对smms图床无效,也防止其他picgo用户再来叨扰作者大大。

from picgo.

Molunerfinn avatar Molunerfinn commented on June 7, 2024

picgo server 跟smms本身上传逻辑是解耦的。

from picgo.

Molunerfinn avatar Molunerfinn commented on June 7, 2024

理论上你配置了备用域名后,用 picgo 本身能正常上传的情况下,用 typora 调用也是能正常上传的,typora 调用 picgo server ,picgo server 再调 smms 的 uploader 上传,跟你直接用 picgo 上传,本质上链路是一样的。

不能上传的情况下,请提供日志看看具体的原因。

from picgo.

DraceWang avatar DraceWang commented on June 7, 2024

wow ,你大概是我在github上遇到回复最快的作者了。

很遗憾,我不清楚具体是什么原因,导致typora调用上传失败了,但在我这里确实发生了。

20230824142528.png

log信息如下,log中上传了两次,第一次是使用typora调用picgo上传,第二次是直接使用picgo上传。

2023-08-24 14:25:14 [PicGo INFO] [PicGo Server] get the request {"list":["C:\\Users\\wsdbo\\AppData\\Local\\Temp\\Typora\\typora-icon2.png","C:\\Users\\wsdbo\\AppData\\Local\\Temp\\Typora\\typora-icon.png"]} 
2023-08-24 14:25:14 [PicGo INFO] [PicGo Server] upload files in list 
2023-08-24 14:25:14 [PicGo INFO] Before transform 
2023-08-24 14:25:14 [PicGo INFO] Transforming... Current transformer is [path] 
2023-08-24 14:25:14 [PicGo INFO] Before upload 
2023-08-24 14:25:14 [PicGo INFO] beforeUploadPlugins: renameFn running 
2023-08-24 14:25:14 [PicGo INFO] Uploading... Current uploader is [smms] 
2023-08-24 14:25:16 [PicGo ERROR] 
------Error Stack Begin------
Error: [object Object]
    at Object.ve [as handle] (C:\Program Files\PicGo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:18695)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async $e.doUpload (C:\Program Files\PicGo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:17198)
    at async $e.start (C:\Program Files\PicGo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:15969)
    at async Tt.upload (C:\Program Files\PicGo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:71270)
    at async Object.upload (C:\Program Files\PicGo\resources\app.asar\background.js:2:653584)
    at async jn (C:\Program Files\PicGo\resources\app.asar\background.js:2:656251)
    at async C:\Program Files\PicGo\resources\app.asar\background.js:2:657340
-------Error Stack End------- 
2023-08-24 14:25:16 [PicGo WARN] failed 
2023-08-24 14:25:16 [PicGo ERROR] 
------Error Stack Begin------
Error: Error: [object Object]
    at Object.ve [as handle] (C:\Program Files\PicGo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:18794)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async $e.doUpload (C:\Program Files\PicGo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:17198)
    at async $e.start (C:\Program Files\PicGo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:15969)
    at async Tt.upload (C:\Program Files\PicGo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:71270)
    at async Object.upload (C:\Program Files\PicGo\resources\app.asar\background.js:2:653584)
    at async jn (C:\Program Files\PicGo\resources\app.asar\background.js:2:656251)
    at async C:\Program Files\PicGo\resources\app.asar\background.js:2:657340
-------Error Stack End------- 
2023-08-24 14:25:16 [PicGo ERROR] 
------Error Stack Begin------
Error: Error: [object Object]
    at Object.ve [as handle] (C:\Program Files\PicGo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:18794)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async $e.doUpload (C:\Program Files\PicGo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:17198)
    at async $e.start (C:\Program Files\PicGo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:15969)
    at async Tt.upload (C:\Program Files\PicGo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:71270)
    at async Object.upload (C:\Program Files\PicGo\resources\app.asar\background.js:2:653584)
    at async jn (C:\Program Files\PicGo\resources\app.asar\background.js:2:656251)
    at async C:\Program Files\PicGo\resources\app.asar\background.js:2:657340
-------Error Stack End------- 
2023-08-24 14:25:16 [PicGo INFO] [PicGo Server] upload result  
2023-08-24 14:25:16 [PicGo WARN] [PicGo Server] upload failed, see picgo.log for more detail ↑ 
2023-08-24 14:34:03 [PicGo INFO] Before transform 
2023-08-24 14:34:03 [PicGo INFO] Transforming... Current transformer is [path] 
2023-08-24 14:34:03 [PicGo INFO] Before upload 
2023-08-24 14:34:03 [PicGo INFO] beforeUploadPlugins: renameFn running 
2023-08-24 14:34:03 [PicGo INFO] Uploading... Current uploader is [smms] 
2023-08-24 14:34:05 [PicGo SUCCESS] 
https://s2.loli.net/2023/08/24/BmVGvSIEiW4jswd.png 

这个报错信息我翻了下以前的issue和 #1147 问题接近,但是我这边[picgo error]后面没有post请求的信息。

也不知道是不是我这边什么配置错误,如果可以,还烦请作者大大帮我指出。

谢谢

from picgo.

LiGeng2000 avatar LiGeng2000 commented on June 7, 2024

2024-05-17 14:55:08 [PicGo INFO] [PicGo Server] get the request {"list":["C:\Users\18335\Documents\Tencent Files\mosaic\nt_qq\nt_data\Pic\2024-05\Ori\3b478da358dca38470d234802b167cb2.jpg"]}
2024-05-17 14:55:08 [PicGo INFO] [PicGo Server] upload files in list
2024-05-17 14:55:08 [PicGo INFO] Before transform
2024-05-17 14:55:08 [PicGo INFO] Transforming... Current transformer is [path]
2024-05-17 14:55:08 [PicGo INFO] Before upload
2024-05-17 14:55:08 [PicGo INFO] beforeUploadPlugins: renameFn running
2024-05-17 14:55:08 [PicGo INFO] Uploading... Current uploader is [smms]
2024-05-17 14:55:13 [PicGo ERROR]
------Error Stack Begin------
Error: [object Object]
at Object.ve [as handle] (D:\ProgramFiles\PicGo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:18695)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async $e.doUpload (D:\ProgramFiles\PicGo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:17198)
at async $e.start (D:\ProgramFiles\PicGo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:15969)
at async Tt.upload (D:\ProgramFiles\PicGo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:71270)
at async Object.upload (D:\ProgramFiles\PicGo\resources\app.asar\background.js:2:653584)
at async jn (D:\ProgramFiles\PicGo\resources\app.asar\background.js:2:656251)
at async D:\ProgramFiles\PicGo\resources\app.asar\background.js:2:657340
-------Error Stack End-------
2024-05-17 14:55:13 [PicGo WARN] failed
2024-05-17 14:55:13 [PicGo ERROR]
------Error Stack Begin------
Error: Error: [object Object]
at Object.ve [as handle] (D:\ProgramFiles\PicGo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:18794)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async $e.doUpload (D:\ProgramFiles\PicGo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:17198)
at async $e.start (D:\ProgramFiles\PicGo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:15969)
at async Tt.upload (D:\ProgramFiles\PicGo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:71270)
at async Object.upload (D:\ProgramFiles\PicGo\resources\app.asar\background.js:2:653584)
at async jn (D:\ProgramFiles\PicGo\resources\app.asar\background.js:2:656251)
at async D:\ProgramFiles\PicGo\resources\app.asar\background.js:2:657340
-------Error Stack End-------
2024-05-17 14:55:13 [PicGo ERROR]
------Error Stack Begin------
Error: Error: [object Object]
at Object.ve [as handle] (D:\ProgramFiles\PicGo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:18794)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async $e.doUpload (D:\ProgramFiles\PicGo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:17198)
at async $e.start (D:\ProgramFiles\PicGo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:15969)
at async Tt.upload (D:\ProgramFiles\PicGo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:71270)
at async Object.upload (D:\ProgramFiles\PicGo\resources\app.asar\background.js:2:653584)
at async jn (D:\ProgramFiles\PicGo\resources\app.asar\background.js:2:656251)
at async D:\ProgramFiles\PicGo\resources\app.asar\background.js:2:657340
-------Error Stack End-------
2024-05-17 14:55:13 [PicGo INFO] [PicGo Server] upload result
2024-05-17 14:55:13 [PicGo WARN] [PicGo Server] upload failed, see picgo.log for more detail ↑

这是我传了一张自己的图片然后失败的log,找657340的时候找到了这篇,能问一下是什么问题嘛,谢谢!

from picgo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.