jinzhi0123 / picgo-plugin-alist Goto Github PK
View Code? Open in Web Editor NEWa picgo uploader for alist 在picgo把alist作为图床
License: MIT License
a picgo uploader for alist 在picgo把alist作为图床
License: MIT License
我的也是这样
Originally posted by @xiaojieen in #4 (comment)
能否实现一次上传数个剪贴板中复制的文档?
在Obsidian内通过插件Image auto upload Plugin调用PicGo自动上传剪贴板内截图时失败,提示no such file or directory
PicGo Server地址与PicGo程序当中的一致,都为
2024-05-05 00:51:09 [PicGo ERROR] ------Error Stack Begin------ Error: ENOENT: no such file or directory, open 'C:\Users\me\AppData\Roaming\picgo\picgo-clipboard-images\202405050051212.png.3284937956' -------Error Stack End------- 2024-05-05 00:52:54 [PicGo ERROR] ------Error Stack Begin------ Error: ENOENT: no such file or directory, open 'C:\Users\me\AppData\Roaming\picgo\picgo-clipboard-images\202405050052511.png.3857990922' -------Error Stack End------- 2024-05-05 00:54:08 [PicGo ERROR] ------Error Stack Begin------ Error: ENOENT: no such file or directory, open 'C:\Users\me\AppData\Roaming\picgo\picgo-clipboard-images\202405050054040.png.1873885379' -------Error Stack End------- 2024-05-05 00:56:16 [PicGo ERROR] ------Error Stack Begin------ Error: ENOENT: no such file or directory, open 'C:\Users\me\AppData\Roaming\picgo\picgo-clipboard-images\202405050056018.png.3019287314' -------Error Stack End------- 2024-05-05 00:56:19 [PicGo ERROR] ------Error Stack Begin------ Error: ENOENT: no such file or directory, open 'C:\Users\me\AppData\Roaming\picgo\picgo-clipboard-images\202405050056196.png.2134224030' -------Error Stack End------- 2024-05-05 01:02:43 [PicGo ERROR] ------Error Stack Begin------ Error: ENOENT: no such file or directory, open 'C:\Users\me\AppData\Roaming\picgo\picgo-clipboard-images\202405050102554.png.1502763933' -------Error Stack End------- 2024-05-05 01:08:29 [PicGo ERROR] ------Error Stack Begin------ Error: ENOENT: no such file or directory, open 'C:\Users\me\AppData\Roaming\picgo\picgo-clipboard-images\202405050108531.png.2743765479' -------Error Stack End------- 2024-05-05 01:08:30 [PicGo ERROR] ------Error Stack Begin------ Error: ENOENT: no such file or directory, open 'C:\Users\me\AppData\Roaming\picgo\picgo-clipboard-images\202405050108948.png.3564147694' -------Error Stack End------- 2024-05-05 01:08:54 [PicGo ERROR] ------Error Stack Begin------ Error: ENOENT: no such file or directory, open 'C:\Users\me\AppData\Roaming\picgo\picgo-clipboard-images\202405050108827.png.833708371' -------Error Stack End------- 2024-05-05 01:09:58 [PicGo ERROR] ------Error Stack Begin------ Error: ENOENT: no such file or directory, open 'C:\Users\me\AppData\Roaming\picgo\picgo-clipboard-images\202405050109571.png.138751451' -------Error Stack End------- 2024-05-05 01:10:01 [PicGo ERROR] ------Error Stack Begin------ Error: ENOENT: no such file or directory, open 'C:\Users\me\AppData\Roaming\picgo\picgo-clipboard-images\202405050110116.png.1907753822' -------Error Stack End------- 2024-05-05 01:10:28 [PicGo ERROR] ------Error Stack Begin------ Error: ENOENT: no such file or directory, open 'C:\Users\me\AppData\Roaming\picgo\picgo-clipboard-images\202405050110444.png.2600808111' -------Error Stack End-------
进入到用户名下AppData\Roaming\picgo\
目录下,没有名为picgo-clipboard-images
的目录
Windows11 23H2,22631.3447专业工作站版。此前相同的设置运行在Windows7 LTSC 2021下没有任何问题。
![image](https://user-images.githubusercontent.com/45054400/196419995-e39a6f85-16f2-4dda-a0fe-bb4bd19030aa.png)
为什么路径错误而且没有method呢
Originally posted by @valetzx in #3 (comment)
感谢开发者无私的分享。
如题,图片是已经成功上传到了网盘指定目录中的,alist中的url地址和图床内的url地址是不一致,这个是否还需要额外配置才行呢,文档中好像并没有额外的说明了。
最后,里面原有图片怎么显示出来。
希望能设定按时间(根路径/年/月) 这样上传至alist,避免未来可能的文件名重复导致覆写
[PicGo ERROR]: Error: [上传操作]异常:Request failed with status code 504
at Object.handle (/Users/ym/.picgo/node_modules/picgo-plugin-alist/dist/handler.js:59:23)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async je.doUpload (/usr/local/lib/node_modules/picgo/dist/index.cjs.js:1:19791)
at async je.start (/usr/local/lib/node_modules/picgo/dist/index.cjs.js:1:18562)
at async $t.upload (/usr/local/lib/node_modules/picgo/dist/index.cjs.js:1:72724)
at async /usr/local/lib/node_modules/picgo/dist/index.cjs.js:1:5774
[PicGo SUCCESS]:
比如2,300M的文件,实际是能上传成功的,但可能是等待的时间太长了,无法获取下载地址
如果能同时上传到两处就好了,网盘时不时出问题基本上算是个普遍现象,上传后总担心会丢失。希望大佬能实现。
上传的图片要是能在别处引用就好了。
配置完成后,图片的地址就是 alist 的访问地址对吧,也就是买的服务器地址,那么流量是不是也是走你服务器的流量?有什么其他方法可以直接走云盘自身流量吗?
前段时间修改了alist的 "token_expires_in": 4800, 不知道会不会和这有关,上传失灵让人很蹦,每次都要撕开网页看一下。
定期获取新的token过于麻烦,但给token的有效时间久了又不安全。希望考虑一下直接账号登录,毕竟alist是可以设置子账号的权限的。
或者直接使用令牌(v3)
如题
[PicGo ERROR] [上传操作]异常:ENOENT: no such file or directory, open 'D:\TEMP\bt.png'
'D:\TEMP‘为设备自定义的缓存路径,实际图片存放位置不在此处。
上传图片就报错,只成功过一次上传的还不是图片,阿里云的就没问题。
PicGO版本2.3.1beta7
我测试不加层级,只有一层是可以的,如 xxx/2023-08-13-test.png ,但是用了 / 后,重命名为 xxx/2023/08/13/test.png 后,就报错上传失败了,似乎是没有在 C:\Users\INDEX1~1\AppData\Local\Temp\ 这样的临时目录找到文件,同样的命名方式,我用 github 图床就可以正常上传
具体的报错日志如下
2023-08-13 11:59:30 [PicList INFO] Before transform
2023-08-13 11:59:30 [PicList INFO] Transforming... Current transformer is [path]
2023-08-13 11:59:30 [PicList INFO] Before upload
2023-08-13 11:59:30 [PicList INFO] beforeUploadPlugins: renameFn running
2023-08-13 11:59:30 [PicList INFO] create rename window
2023-08-13 11:59:31 [PicList INFO] rename window ready, wait for rename...
2023-08-13 11:59:32 [PicList INFO] Uploading... Current uploader is [alist]
2023-08-13 11:59:32 [PicList INFO] [信息]{version:3,uploadPath:nas/nas-469G/imgbed.xxx.com,fileName:Desktop/test.png}
2023-08-13 11:59:32 [PicList ERROR]
------Error Stack Begin------
Error: [缓存文件失败]文件C:\Users\INDEX11\AppData\Local\Temp\Desktop\test.png,ENOENT: no such file or directory, open 'C:\Users\INDEX11\AppData\Local\Temp\Desktop\test.png'
at Object.handle (C:\Users\index103000\AppData\Roaming\piclist\node_modules\picgo-plugin-alist\dist\handler.js:37:23)
at St.doUpload (C:\Users\index103000\AppData\Local\Programs\PicList\resources\app.asar\node_modules\piclist\dist\index.cjs.js:1:34614)
at St.start (C:\Users\index103000\AppData\Local\Programs\PicList\resources\app.asar\node_modules\piclist\dist\index.cjs.js:1:33354)
at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
at async _r.upload (C:\Users\index103000\AppData\Local\Programs\PicList\resources\app.asar\node_modules\piclist\dist\index.cjs.js:1:107431)
at async Object.upload (C:\Users\index103000\AppData\Local\Programs\PicList\resources\app.asar\index.js:8:1814754)
at async mm (C:\Users\index103000\AppData\Local\Programs\PicList\resources\app.asar\index.js:8:1950552)
-------Error Stack End-------
------Error Stack Begin------
Error: [上传操作]异常:[请求出错]{"code":500,"message":"Invalid parameters","data":null}
at Object.handle (/Users/bailu/Library/Application Support/picgo/node_modules/picgo-plugin-alist/dist/handler.js:55:23)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async $e.doUpload (/Applications/PicGo.app/Contents/Resources/app.asar/node_modules/picgo/dist/index.cjs.js:1:17198)
at async $e.start (/Applications/PicGo.app/Contents/Resources/app.asar/node_modules/picgo/dist/index.cjs.js:1:15969)
at async Tt.upload (/Applications/PicGo.app/Contents/Resources/app.asar/node_modules/picgo/dist/index.cjs.js:1:71270)
at async Object.upload (/Applications/PicGo.app/Contents/Resources/app.asar/background.js:2:653584)
at async jn (/Applications/PicGo.app/Contents/Resources/app.asar/background.js:2:656251)
at async /Applications/PicGo.app/Contents/Resources/app.asar/background.js:2:657340
-------Error Stack End-------
2023-03-13 15:39:00 [PicGo INFO] [信息]{version:3,path:R盘/PicGo,fileName:202303131538443.png}
2023-03-13 15:39:00 [PicGo INFO] [信息]已经写入文件/private/var/folders/yp/0pn2vkcx51qdgsgv0nd0lvfc0000gn/T/202303131538443.png
2023-03-13 15:39:06 [PicGo INFO] [请求结果]{"code":500,"message":"Invalid parameters","data":null}
2023-03-13 15:39:06 [PicGo ERROR]
------Error Stack Begin------
Error: [上传操作]异常:[请求出错]{"code":500,"message":"Invalid parameters","data":null}
at Object.handle (/Users/bailu/Library/Application Support/picgo/node_modules/picgo-plugin-alist/dist/handler.js:55:23)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async $e.doUpload (/Applications/PicGo.app/Contents/Resources/app.asar/node_modules/picgo/dist/index.cjs.js:1:17198)
at async $e.start (/Applications/PicGo.app/Contents/Resources/app.asar/node_modules/picgo/dist/index.cjs.js:1:15969)
at async Tt.upload (/Applications/PicGo.app/Contents/Resources/app.asar/node_modules/picgo/dist/index.cjs.js:1:71270)
at async Object.upload (/Applications/PicGo.app/Contents/Resources/app.asar/background.js:2:653584)
at async jn (/Applications/PicGo.app/Contents/Resources/app.asar/background.js:2:656251)
at async /Applications/PicGo.app/Contents/Resources/app.asar/background.js:2:657340
-------Error Stack End-------
2023-03-13 15:39:06 [PicGo SUCCESS]
如题,alist复制的链接后面有?sign=n0ELUKtu3RZlhvtQCmaJDaoPaXkKCkgJja_GLX0_RzE=:0,而picgo给的链接没有,导致不能使用。
v3版本token与V2版本不一样 验证失败
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.