GithubHelp home page GithubHelp logo

上传阿里云出错 about picgo-core HOT 9 CLOSED

picgo avatar picgo commented on August 14, 2024
上传阿里云出错

from picgo-core.

Comments (9)

Molunerfinn avatar Molunerfinn commented on August 14, 2024

请提供一个必现过程,不然不好查。

比如上传某种格式的文件,文件名包含某种字符等,能必现,这样才能排查。

from picgo-core.

decadevvv avatar decadevvv commented on August 14, 2024

上传的文件名是:image-20200712194228713.png
使用的命令行:picgo upload
picgo配置:只配置了阿里云相关的内容,只配置了keyID、keySecret、area、bucket,其他都没有配置
其他:picgo-core和picgo-app都出现了一模一样的情况,但是用阿里云自带的web端上传,还是用阿里云的oss-browser都可以正常上传

from picgo-core.

Molunerfinn avatar Molunerfinn commented on August 14, 2024

看上去没什么特别的- -,感觉不是很好查,之后有空看看

from picgo-core.

decadevvv avatar decadevvv commented on August 14, 2024

好的,多谢了,其实想问一下能否考虑一下用阿里云OSS自带的SDK?你们现在好像用的是自己写的签名生成函数

from picgo-core.

Molunerfinn avatar Molunerfinn commented on August 14, 2024

好的,多谢了,其实想问一下能否考虑一下用阿里云OSS自带的SDK?你们现在好像用的是自己写的签名生成函数

不能,阿里云的OSS的SDK无法集成到electron项目中。

还有一个考虑是SDK里有很多picgo用不到的代码,加入会增大picgo的体积,所以考虑是自己实现

from picgo-core.

decadevvv avatar decadevvv commented on August 14, 2024

好吧,谢谢回复

from picgo-core.

Molunerfinn avatar Molunerfinn commented on August 14, 2024

文件名里的 - 短横线去掉看看会不会出现问题

from picgo-core.

decadevvv avatar decadevvv commented on August 14, 2024

试了一下,好像只是阿里云OSS的配置里面的path变量的问题,我原来写的是/images,后来改成了images/就没问题了,/images会导致url里面连续出现两个//,但是不知道为什么原来有几次path写的是/images,可还是上传成功了。

from picgo-core.

Molunerfinn avatar Molunerfinn commented on August 14, 2024

OK,那暂时关闭

from picgo-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.