Comments (6)
你用typora默认上传传的那两张图片已经被 smms 官方封禁。你传几张自己的图片就可以了
from picgo.
好的,非常感谢。如果可以可以在新版本中说明,毕竟是typora这个上传验证的功能对smms图床无效,也防止其他picgo用户再来叨扰作者大大。
from picgo.
picgo server 跟smms本身上传逻辑是解耦的。
from picgo.
理论上你配置了备用域名后,用 picgo 本身能正常上传的情况下,用 typora 调用也是能正常上传的,typora 调用 picgo server ,picgo server 再调 smms 的 uploader 上传,跟你直接用 picgo 上传,本质上链路是一样的。
不能上传的情况下,请提供日志看看具体的原因。
from picgo.
wow ,你大概是我在github上遇到回复最快的作者了。
很遗憾,我不清楚具体是什么原因,导致typora调用上传失败了,但在我这里确实发生了。
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.
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)
- [Feature]: 隐藏菜单栏图标的配置项 HOT 2
- [Feature]: 是否有国产统信UOS linux系统ARM64位的安装包。 HOT 1
- [Feature]: 提供NixOS安装方式 HOT 2
- [Bug]: 上传图片后,在相册中的链接中自动在我文件名前加入“undefined” HOT 4
- 希望可以提供便携版 HOT 1
- [Feature]: HOT 1
- [Bug]: 上传了图片返回地址错误 HOT 3
- [Feature]: Disable/Enable Notifications Sound HOT 1
- [Bug]: mac M2 使用dmg或者brew安装后,打不开,提示文件损坏 HOT 1
- [Feature]: 希望增加一个删除图片后,自动删除远程图床的图片功能 HOT 1
- [Bug]: 重新配置Gitea图床后上传后自动生成的url仍然是旧的url,无法显示图片 HOT 1
- [Bug]: smms和imgur的图上传之后,无法显示 HOT 1
- [Bug]: 插件安装均失败 HOT 1
- [Bug]: M1 Mac 打不开 HOT 1
- [Bug]: 同一图床多个配置时,GUI 界面无法下滑 HOT 3
- [Feature]: 可以支持一下一次上传到多个图床(备份且方便切换)吗,选择一个其中一个图床的链接作为返回
- [Bug]: 无法下载或者导入插件: picgo-plugin-web-uploader HOT 1
- [Bug]: nsis写入注册表右键菜单问题 HOT 1
- [Feature]: 添加自动同步配置 HOT 1
- [Feature]: 上传前确认是否上传的功能或插件 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from picgo.