Comments (4)
你的图床是什么 配置是啥样的? 日志呢
from picgo.
你的图床是什么 配置是啥样的? 日志呢
图床:
GitHub
日志文件:
2024-03-11 12:01:57 [PicGo INFO] [PicGo Server] get the request {"list":["C:\Users\Waves\AppData\Roaming\Typora\typora-user-images\image-20240311120157366.png"]}
2024-03-11 12:01:57 [PicGo INFO] [PicGo Server] upload files in list
2024-03-11 12:01:57 [PicGo INFO] Before transform
2024-03-11 12:01:57 [PicGo INFO] Transforming... Current transformer is [path]
2024-03-11 12:01:57 [PicGo INFO] Before upload
2024-03-11 12:01:57 [PicGo INFO] beforeUploadPlugins: renameFn running
2024-03-11 12:01:57 [PicGo INFO] Uploading... Current uploader is [github]
2024-03-11 12:01:58 [PicGo SUCCESS]
https://cdn.jsdelivr.net/gh/Waves/blogImage@main/undefinedimage-20240311120157366.png
2024-03-11 12:01:58 [PicGo INFO] [PicGo Server] upload result https://cdn.jsdelivr.net/gh/Waves/blogImage@main/undefinedimage-20240311120157366.png
配置:
{
"picBed": {
"current": "github",
"uploader": "github",
"smms": {
"token": ""
},
"qiniu": {
"_configName": "Default",
"_id": "caa072a2-0f3e-4abd-b2c1-c32e7e81fd21",
"_createdAt": 1709182142528,
"_updatedAt": 1709182142528
},
"github": {
"_configName": "blogImage",
"repo": "Waves/blogImage",
"branch": "main",
"token": "ghp_id5F6kr6hH14nae6haKL1Oi0UYOJbo0",
"customUrl": "https://cdn.jsdelivr.net/gh/Waves/blogImage@main",
"_id": "efb22efb-0bbc-40a2-8036-d4827efe27cd",
"_createdAt": 1709182283906,
"_updatedAt": 1709182283906
},
"proxy": ""
},
"settings": {
"shortKey": {
"picgo:upload": {
"enable": true,
"key": "CommandOrControl+Shift+P",
"name": "upload",
"label": "QUICK_UPLOAD"
}
},
"showUpdateTip": true,
"server": {
"port": 36677,
"host": "127.0.0.1",
"enable": true
},
"privacyEnsure": true,
"pasteStyle": "URL",
"npmProxy": "",
"npmRegistry": "",
"autoStart": true
},
"needReload": false,
"picgoPlugins": {},
"debug": true,
"PICGO_ENV": "GUI",
"uploader": {
"qiniu": {
"configList": [
{
"_configName": "Default",
"_id": "caa072a2-0f3e-4abd-b2c1-c32e7e81fd21",
"_createdAt": 1709182142528,
"_updatedAt": 1709182142528
}
],
"defaultId": "caa072a2-0f3e-4abd-b2c1-c32e7e81fd21"
},
"github": {
"configList": [
{
"_configName": "Default",
"_id": "3326c6d9-50ac-4edc-b8d5-3c21673047b5",
"_createdAt": 1709182148260,
"_updatedAt": 1709182148260
},
{
"_configName": "blogImage",
"repo": "Waves/blogImage",
"branch": "main",
"token": "ghp_id5F6kr6hH14nae6haKL1Oi0UYOJbo0",
"customUrl": "https://cdn.jsdelivr.net/gh/Waves/blogImage@main",
"_id": "efb22efb-0bbc-40a2-8036-d4827efe27cd",
"_createdAt": 1709182283906,
"_updatedAt": 1709182283906
}
],
"defaultId": "efb22efb-0bbc-40a2-8036-d4827efe27cd"
}
}
}
from picgo.
你的配置里,少了 path 这一项,导致获取的时候拿到的 undefined,如果你的 path 是 空的,可以手动处理成 ""。 不要直接修改配置文件,请在 picgo 配置界面里设定存储路径,可以先随便输入一个,点保存,然后再清空,点保存即可。
![image](https://private-user-images.githubusercontent.com/12621342/313480539-05121a5d-521a-4b56-8d0f-0eaffeef77e8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTcyNDU3NTUsIm5iZiI6MTcxNzI0NTQ1NSwicGF0aCI6Ii8xMjYyMTM0Mi8zMTM0ODA1MzktMDUxMjFhNWQtNTIxYS00YjU2LThkMGYtMGVhZmZlZWY3N2U4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MDElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjAxVDEyMzczNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTE5M2E2OWJiZWNlZjBjOGE3ZjRlZTVjNjkxM2Y2NTNkYWJmZjM2MmEwM2YzYzhlYWJlYWQ3ZDY1ZmMxYmI4NWMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.g-uYBaS3Im2ODpXFgTrnUpCcI2fCN9i2KByE_wg__EI)
from picgo.
你的配置里,少了 path 这一项,导致获取的时候拿到的 undefined,如果你的 path 是 空的,可以手动处理成 ""。 不要直接修改配置文件,请在 picgo 配置界面里设定存储路径,可以先随便输入一个,点保存,然后再清空,点保存即可。
![]()
![]()
非常感谢,已解决👍
from picgo.
Related Issues (20)
- 希望可以提供便携版 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
- [Feature]:希望使用typora的时候,picgo可以读取当前文件名,动态配置path为文件名 HOT 1
- 更换电脑后,重新配置picgo 历史图片找不到了[Bug]: HOT 3
- [Bug]: 安装插件一直失败,下载的包导入也失败,用管理员权限安装也失败 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.