Open Yikeeyb opened 1 year ago
你可以先试试去ob官网重新下一个版本进行覆盖安装,ob的某些东西依赖了新版的electron,自动更新时不会更新electron版本的
If I paste an image into Obsidian, then the picgo app will be launched and this image will be uploaded successfully.
But the callback of obsidian shows the error messages while the clipboard gets the correct URL.
I get the same result whether I enable "fixPath" option or not.
I have tried to remove picgo.db
and try this again, also the same result.
picgo version: 2.3.1 picgo config:
{
"picBed": {
"current": "github",
"uploader": "github",
"github": {
"repo": "SakuraWald/sakurawald.github.io",
"branch": "main",
"token": "?",
"path": "images/",
"randomName": true
},
"list": [
{
"type": "tcyun",
"name": "Tencent Cloud",
"visible": false
},
{
"type": "aliyun",
"name": "Ali Cloud",
"visible": false
},
{
"type": "smms",
"name": "SM.MS",
"visible": false
},
{
"type": "github",
"name": "GitHub",
"visible": true
},
{
"type": "qiniu",
"name": "Qiniu",
"visible": false
},
{
"type": "imgur",
"name": "Imgur",
"visible": false
},
{
"type": "upyun",
"name": "Upyun",
"visible": false
}
]
},
"settings": {
"shortKey": {
"picgo:upload": {
"enable": true,
"key": "CommandOrControl+Shift+P",
"name": "upload",
"label": "QUICK_UPLOAD"
}
},
"showUpdateTip": false,
"privacyEnsure": true,
"language": "en",
"rename": false,
"autoRename": true,
"server": {
"port": 36677,
"host": "127.0.0.1",
"enable": true
}
},
"needReload": false,
"picgoPlugins": {},
"debug": true,
"PICGO_ENV": "GUI"
}
picgo logs
...
https://raw.githubusercontent.com/SakuraWald/sakurawald.github.io/main/images/202305080127524.png
2023-05-08 01:28:30 [PicGo INFO] detect second instance
2023-05-08 01:28:30 [PicGo INFO] cli -> uploading file from clipboard
2023-05-08 01:28:30 [PicGo INFO] Before transform
2023-05-08 01:28:30 [PicGo INFO] Transforming... Current transformer is [path]
2023-05-08 01:28:30 [PicGo INFO] Before upload
2023-05-08 01:28:30 [PicGo INFO] beforeUploadPlugins: renameFn running
2023-05-08 01:28:30 [PicGo INFO] Uploading... Current uploader is [github]
2023-05-08 01:28:32 [PicGo SUCCESS]
https://raw.githubusercontent.com/SakuraWald/sakurawald.github.io/main/images/202305080128948.png
2023-05-08 01:28:53 [PicGo INFO] detect second instance
2023-05-08 01:28:53 [PicGo INFO] cli -> uploading file from clipboard
2023-05-08 01:28:53 [PicGo INFO] Before transform
2023-05-08 01:28:53 [PicGo INFO] Transforming... Current transformer is [path]
2023-05-08 01:28:53 [PicGo INFO] Before upload
2023-05-08 01:28:53 [PicGo INFO] beforeUploadPlugins: renameFn running
2023-05-08 01:28:53 [PicGo INFO] Uploading... Current uploader is [github]
2023-05-08 01:28:55 [PicGo SUCCESS]
https://raw.githubusercontent.com/SakuraWald/sakurawald.github.io/main/images/202305080128331.png
obsidian version: 1.2.7 os: Linux archlinux 6.3.1-arch1-1 #1 SMP PREEMPT_DYNAMIC Mon, 01 May 2023 17:42:39 +0000 x86_64 GNU/Linux
Ob使用该插件遇到同样的问题,同picgo版本,typora么有问题。 图片粘贴到文档中提示upload failed, check dev console错误,picgo中显示该图片『等待上传』。
Ob使用该插件遇到同样的问题,同picgo版本,typora么有问题。 图片粘贴到文档中提示upload failed, check dev console错误,picgo中显示该图片『等待上传』。
你是啥系统
If I paste an image into Obsidian, then the picgo app will be launched and this image will be uploaded successfully. But the callback of obsidian shows the error messages while the clipboard gets the correct URL. I get the same result whether I enable "fixPath" option or not. I have tried to remove
picgo.db
and try this again, also the same result.picgo version: 2.3.1 picgo config:
{ "picBed": { "current": "github", "uploader": "github", "github": { "repo": "SakuraWald/sakurawald.github.io", "branch": "main", "token": "?", "path": "images/", "randomName": true }, "list": [ { "type": "tcyun", "name": "Tencent Cloud", "visible": false }, { "type": "aliyun", "name": "Ali Cloud", "visible": false }, { "type": "smms", "name": "SM.MS", "visible": false }, { "type": "github", "name": "GitHub", "visible": true }, { "type": "qiniu", "name": "Qiniu", "visible": false }, { "type": "imgur", "name": "Imgur", "visible": false }, { "type": "upyun", "name": "Upyun", "visible": false } ] }, "settings": { "shortKey": { "picgo:upload": { "enable": true, "key": "CommandOrControl+Shift+P", "name": "upload", "label": "QUICK_UPLOAD" } }, "showUpdateTip": false, "privacyEnsure": true, "language": "en", "rename": false, "autoRename": true, "server": { "port": 36677, "host": "127.0.0.1", "enable": true } }, "needReload": false, "picgoPlugins": {}, "debug": true, "PICGO_ENV": "GUI" }
picgo logs
... https://raw.githubusercontent.com/SakuraWald/sakurawald.github.io/main/images/202305080127524.png 2023-05-08 01:28:30 [PicGo INFO] detect second instance 2023-05-08 01:28:30 [PicGo INFO] cli -> uploading file from clipboard 2023-05-08 01:28:30 [PicGo INFO] Before transform 2023-05-08 01:28:30 [PicGo INFO] Transforming... Current transformer is [path] 2023-05-08 01:28:30 [PicGo INFO] Before upload 2023-05-08 01:28:30 [PicGo INFO] beforeUploadPlugins: renameFn running 2023-05-08 01:28:30 [PicGo INFO] Uploading... Current uploader is [github] 2023-05-08 01:28:32 [PicGo SUCCESS] https://raw.githubusercontent.com/SakuraWald/sakurawald.github.io/main/images/202305080128948.png 2023-05-08 01:28:53 [PicGo INFO] detect second instance 2023-05-08 01:28:53 [PicGo INFO] cli -> uploading file from clipboard 2023-05-08 01:28:53 [PicGo INFO] Before transform 2023-05-08 01:28:53 [PicGo INFO] Transforming... Current transformer is [path] 2023-05-08 01:28:53 [PicGo INFO] Before upload 2023-05-08 01:28:53 [PicGo INFO] beforeUploadPlugins: renameFn running 2023-05-08 01:28:53 [PicGo INFO] Uploading... Current uploader is [github] 2023-05-08 01:28:55 [PicGo SUCCESS] https://raw.githubusercontent.com/SakuraWald/sakurawald.github.io/main/images/202305080128331.png
obsidian version: 1.2.7 os: Linux archlinux 6.3.1-arch1-1 #1 SMP PREEMPT_DYNAMIC Mon, 01 May 2023 17:42:39 +0000 x86_64 GNU/Linux
The log seems picgo has uploaded the image, but fail to insert, l dont know why?
Can you update to the latest verssion, now the error will be throw in the top-right position. If not, you can get the log in console(press ctrl+shift+i and active the "console" tab). And show the log for me.
Ob使用该插件遇到同样的问题,同picgo版本,typora么有问题。 图片粘贴到文档中提示upload failed, check dev console错误,picgo中显示该图片『等待上传』。
你是啥系统
MacOS Ventura 13.3.1 (a) ,会是操作系统原因吗?
Ob使用该插件遇到同样的问题,同picgo版本,typora么有问题。 图片粘贴到文档中提示upload failed, check dev console错误,picgo中显示该图片『等待上传』。
你是啥系统
MacOS Ventura 13.3.1 (a) ,会是操作系统原因吗?
有可能,但我目前没有macOS和Linux系统不能进行测试。 你可以帮忙更新到最新版本插件,然后按ctrl+shift+i打开控制台,切换到'console'tab,再进行一次操作,看看控制台有什么log?
刚安装完piclist,配置好图床后,在obsidian上传图片时,我也遇到了相同的问题,我使用的是arch linux,不过我重启了下电脑,就正常了
If I paste an image into Obsidian, then the picgo app will be launched and this image will be uploaded successfully. But the callback of obsidian shows the error messages while the clipboard gets the correct URL. I get the same result whether I enable "fixPath" option or not. I have tried to remove
picgo.db
and try this again, also the same result. picgo version: 2.3.1 picgo config:{ "picBed": { "current": "github", "uploader": "github", "github": { "repo": "SakuraWald/sakurawald.github.io", "branch": "main", "token": "?", "path": "images/", "randomName": true }, "list": [ { "type": "tcyun", "name": "Tencent Cloud", "visible": false }, { "type": "aliyun", "name": "Ali Cloud", "visible": false }, { "type": "smms", "name": "SM.MS", "visible": false }, { "type": "github", "name": "GitHub", "visible": true }, { "type": "qiniu", "name": "Qiniu", "visible": false }, { "type": "imgur", "name": "Imgur", "visible": false }, { "type": "upyun", "name": "Upyun", "visible": false } ] }, "settings": { "shortKey": { "picgo:upload": { "enable": true, "key": "CommandOrControl+Shift+P", "name": "upload", "label": "QUICK_UPLOAD" } }, "showUpdateTip": false, "privacyEnsure": true, "language": "en", "rename": false, "autoRename": true, "server": { "port": 36677, "host": "127.0.0.1", "enable": true } }, "needReload": false, "picgoPlugins": {}, "debug": true, "PICGO_ENV": "GUI" }
picgo logs
... https://raw.githubusercontent.com/SakuraWald/sakurawald.github.io/main/images/202305080127524.png 2023-05-08 01:28:30 [PicGo INFO] detect second instance 2023-05-08 01:28:30 [PicGo INFO] cli -> uploading file from clipboard 2023-05-08 01:28:30 [PicGo INFO] Before transform 2023-05-08 01:28:30 [PicGo INFO] Transforming... Current transformer is [path] 2023-05-08 01:28:30 [PicGo INFO] Before upload 2023-05-08 01:28:30 [PicGo INFO] beforeUploadPlugins: renameFn running 2023-05-08 01:28:30 [PicGo INFO] Uploading... Current uploader is [github] 2023-05-08 01:28:32 [PicGo SUCCESS] https://raw.githubusercontent.com/SakuraWald/sakurawald.github.io/main/images/202305080128948.png 2023-05-08 01:28:53 [PicGo INFO] detect second instance 2023-05-08 01:28:53 [PicGo INFO] cli -> uploading file from clipboard 2023-05-08 01:28:53 [PicGo INFO] Before transform 2023-05-08 01:28:53 [PicGo INFO] Transforming... Current transformer is [path] 2023-05-08 01:28:53 [PicGo INFO] Before upload 2023-05-08 01:28:53 [PicGo INFO] beforeUploadPlugins: renameFn running 2023-05-08 01:28:53 [PicGo INFO] Uploading... Current uploader is [github] 2023-05-08 01:28:55 [PicGo SUCCESS] https://raw.githubusercontent.com/SakuraWald/sakurawald.github.io/main/images/202305080128331.png
obsidian version: 1.2.7 os: Linux archlinux 6.3.1-arch1-1 #1 SMP PREEMPT_DYNAMIC Mon, 01 May 2023 17:42:39 +0000 x86_64 GNU/Linux
The log seems picgo has uploaded the image, but fail to insert, l dont know why?
Can you update to the latest verssion, now the error will be throw in the top-right position. If not, you can get the log in console(press ctrl+shift+i and active the "console" tab). And show the log for me.
Here is the test with v3.4.2
使用插件通过PicGo app上传图片显示upload failed, check dev console
监听地址和监听窗口对应 插件版本3.3.0,PicGo版本2.3.1
使用typora用同样的监听地址和窗口,是可以正常上传图片和返回地址的,说明本地picgo软件和server应该没问题 因为有给picgo设置图片重命名,但是在上传图片时未跳出重命名窗口,判断是上传本身有问题。同时有关掉重命名设置,发现仍然报同样错误,重命名设置本身应该没有影响