lizhuangs / picgo-plugin-gitee-uploader Goto Github PK
View Code? Open in Web Editor NEWpicgo uploader for gitee
License: MIT License
picgo uploader for gitee
License: MIT License
搜索过已经关闭的 后依然没有找到答案,所以才发了一个新的 issue。
Bug Report
PicGo 的版本: 2.3.0 beta3 ,第三方GITEE插件
Mac 版本
想配合typora + picgo + gitee 图床, 出现以下问题,请大佬看下什么问题,谢谢!
-----Error Stack Begin------
StatusCodeError: 404 - {"message":"404 Project Not Found"}
at new StatusCodeError (/Applications/PicGo.app/Contents/Resources/app.asar/node_modules/request-promise-core/lib/errors.js:32:15)
at Request.plumbing.callback (/Applications/PicGo.app/Contents/Resources/app.asar/node_modules/request-promise-core/lib/plumbing.js:104:33)
at Request.RP$callback [as _callback] (/Applications/PicGo.app/Contents/Resources/app.asar/node_modules/request-promise-core/lib/plumbing.js:46:31)
at Request.self.callback (/Applications/PicGo.app/Contents/Resources/app.asar/node_modules/request/request.js:185:22)
at Request.emit (events.js:200:13)
at Request. (/Applications/PicGo.app/Contents/Resources/app.asar/node_modules/request/request.js:1161:10)
at Request.emit (events.js:200:13)
at IncomingMessage. (/Applications/PicGo.app/Contents/Resources/app.asar/node_modules/request/request.js:1083:12)
at Object.onceWrapper (events.js:288:20)
at IncomingMessage.emit (events.js:205:15)
-------Error Stack End-------
2020-08-20 22:06:39 [PicGo SUCCESS]
feature request 关联到现有issue么
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
你希望的解决方案
A clear and concise description of what you want to happen.
你是基于什么考虑需要这个的
A clear and concise description of any alternative solutions or features you've considered.
其它信息
Add any other context or screenshots about the feature request here.
win10 插件安装不了啊
PicGo-Core (Command line) 错误提示如下
[PicGo INFO]: Before transform
[PicGo INFO]: Transforming...
[PicGo INFO]: Before upload
[PicGo INFO]: Uploading...
[PicGo WARN]: Can't find uploader - smms, swtich to default uploader - smms
[PicGo WARN]: failed
[PicGo ERROR]: Error: Can't find smms config, please provide api token, see https://sm.ms/home/apitoken
PicGo-Core (Command line) 配置信息如下
{
"picBed": {
"current": "gitee",
"gitee": {
"repo": "abc",
"branch": "images",
"token": "123",
"path": "autoupload",
"customPath": "",
"customUrl": ""
},
"uploader": "gitee",
"transformer": "path"
},
"picgoPlugins": {
"picgo-plugin-gitee-uploader": true
},
}
RequestError: TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters
你希望的解决方案
子目录也可以同步
你是基于什么考虑需要这个的
相册管理,方便管理历史图片
其它信息
考虑性能问题,比如遍历了上w张图片的情况。
描述bug
系统和软件等环境的版本
具体的bug信息.
步骤
具体步骤
截图
如果有截图的话
Additional context
Add any other context about the problem here.
[PicGo SUCCESS]:
https://gitee.com/jay763190097/myhomepage/raw/master/images/2020/07/%E6%88%AA%E5%9B%BE%E5%BD%95%E5%B1%8F_%E9%80%89%E6%8B%A9%E5%8C%BA%E5%9F%9F_20200627000227.png
(node:16673) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'webContents' of null
at xt (/tmp/.mount_PicGo-o6QXdU/resources/app.asar/background.js:16:35102)
at processTicksAndRejections (internal/process/task_queues.js:89:5)
(node:16673) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'webContents' of null
at xt (/tmp/.mount_PicGo-o6QXdU/resources/app.asar/background.js:16:35102)
at processTicksAndRejections (internal/process/task_queues.js:89:5)
(node:16673) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:16673) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:16673) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:16673) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
你好,我没看懂gitee插件怎么使用。
github倒是可以配置token,直接使用,
这个插件呢
描述bug
picgo 2.30 beta 7 版本
本地安装以及picgo内在线安装该插件 均会报这个错误 我没有动过这个安装文件 但是每次它总会显示缺少index js 文件
Error: Cannot find module 'C:\Users\xueto\AppData\Roaming\picgo\node_modules\picgo-plugin-gitee-uploader\dist\index.js'. Please verify that the package.json has a valid "main" entry
at tryPackage (internal/modules/cjs/loader.js:232:19)
at Function.Module._findPath (internal/modules/cjs/loader.js:369:18)
at Module._resolveFilename (internal/modules/cjs/loader.js:614:27)
at Function.Module._resolveFilename (C:\Program Files\PicGo\resources\electron.asar\common\reset-search-paths.js:41:16)
at Function.Module._load (internal/modules/cjs/loader.js:531:27)
at Module.require (internal/modules/cjs/loader.js:685:19)
at require (internal/modules/cjs/helpers.js:16:16)
at PluginLoader.getPlugin (C:\Program Files\PicGo\resources\app.asar\node_modules\picgo\dist\src\lib\PluginLoader.js:125:24)
at PluginLoader.registerPlugin (C:\Program Files\PicGo\resources\app.asar\node_modules\picgo\dist\src\lib\PluginLoader.js:78:26)
at C:\Program Files\PicGo\resources\app.asar\node_modules\picgo\dist\src\lib\PluginHandler.js:40:43
-------Error Stack End-------
我去这个路径下也找了 但是发现只有index ts文件 并没有index js 文件 电脑装过node js npm也可正常运行
feature request 关联到现有issue么
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
你希望的解决方案
A clear and concise description of what you want to happen.
你是基于什么考虑需要这个的
A clear and concise description of any alternative solutions or features you've considered.
其它信息
Add any other context or screenshots about the feature request here.
请问 custom path 配置年月后不起作用是什么情况,我在两台电脑上都试过了,都不行诶
描述bug
Windows 10, Picgo2.3.0
一两个月前一直能正常转化图片链接到gitee,最近再上传图片就报404错误了,试着重装gitee-loader,重装picgo都无法解决问题,看了下令牌文件的修改日期在最后一次上传图片之后排除了令牌被修改的问题,由报错文件看起来像Picgo内部的问题或者是gitee-loader的问题,具体未知
------Error Stack Begin------
StatusCodeError: 404 - {"status":"404","error":"Not Found"}
at new StatusCodeError (C:\Users\hw\AppData\Local\Programs\PicGo\resources\app.asar\node_modules\request-promise-core\lib\errors.js:32:15)
at Request.plumbing.callback (C:\Users\hw\AppData\Local\Programs\PicGo\resources\app.asar\node_modules\request-promise-core\lib\plumbing.js:104:33)
at Request.RP$callback [as _callback] (C:\Users\hw\AppData\Local\Programs\PicGo\resources\app.asar\node_modules\request-promise-core\lib\plumbing.js:46:31)
at Request.self.callback (C:\Users\hw\AppData\Local\Programs\PicGo\resources\app.asar\node_modules\request\request.js:185:22)
at Request.emit (events.js:200:13)
at Request.<anonymous> (C:\Users\hw\AppData\Local\Programs\PicGo\resources\app.asar\node_modules\request\request.js:1154:10)
at Request.emit (events.js:200:13)
at IncomingMessage.<anonymous> (C:\Users\hw\AppData\Local\Programs\PicGo\resources\app.asar\node_modules\request\request.js:1076:12)
at Object.onceWrapper (events.js:288:20)
at IncomingMessage.emit (events.js:205:15)
-------Error Stack End-------
描述bug
------Error Stack Begin------
TypeError: Cannot read properties of undefined (reading 'filter')
at Object.handle (/home/lxin49/.config/picgo/node_modules/picgo-plugin-gitee-uploader/dist/index.js:89:17)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
-------Error Stack End-------
步骤
在执行pull gitee
时报错,报错信息如上
截图
无
Additional context
Add any other context about the problem here.
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.