Giter VIP home page Giter VIP logo

markdownpicpicker's Introduction

markdownpicpicker's People

Contributors

cqzhao avatar kingname avatar laixintao avatar sean10 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

markdownpicpicker's Issues

markdownpicpicker.exe 系统运行错误

我的系统:windows7 64位
问题:运行EXE文件时,出现系统错误!
系统错误:无法启动此程序,因为计算机丢失api-ms-win-crt-runtime-|1-1-0.dll。尝试重新安装改程序以解决此问题。

是否支持gif动图?

看readme说明,好像只支持png?支持gif动图吗?

当然gif动图,不像图片,在剪贴板的格式比较特殊,要特殊处理

但就像从Chrome右键复制gif动图,ctrl-v粘贴到QQ窗口,依然能动一样,说明经过特殊处理,能够以剪贴板为管道,传送过去。

那借鉴其方法,应该也能上传到图床吧?

完善 windows 下的配置文档,按照文档的配置目前提示 There is no picture in clipboard

[basic]
picture_folder = pic # the local folder to save image
picture_suffix = png #the format of your image, 'png'.

picture_host = QiniuUploader 

[QiniuUploader]
access_key = Q6sS422O05AasdfasfafgfCcCpF36tqvyQ75Zvzw
secret_key = 6QtAqqTxoSadffadfgewehxPLX2CCmoOaB2aLObM
container_name = picturebed
url = http://7sbpmp.com1.z0.glb.clouddn.com/{}

picture_folder 指的是什么?是图片上传到七牛后还会在本地的 picture_folder 目录下保存一份副本么?是可选的还是必填的?

picture_suffix 指的是上传图片后的格式还是上传图片前我图片本身的后缀?是可选的还是必填的?如果不指定是否有默认行为?

url 这个是七牛统一的么?单纯复制文档中的 url 就可以么?

config 文件夹是放在和 MarkdownPicPicker.exe 同一目录下么?

另外我按照文档的说明配置好后,测试运行程序提示:There is no picture in clipboard. 已经复制了图片的(Ctrl+c 或者右键,复制都不行)

报错

({'hash': 'Fv0tEHpCV4LsNyC_AU7t-KrqMiBJ', 'key': '2016-07-14-00-32-33.png'}, status_code:200, exception:None, text_body:{"hash":"Fv0tEHpCV4LsNyC_AU7t-KrqMiBJ","key":"2016-07-14-00-32-33.png"}, _ResponseInfo__response:<Response [200]>, x_log:s.ph;s.put.tw;s.put.tr;s.put.tw;s.put.tr;s.ph;s.put.tw;s.pu
t.tr;s.ph;PFDS;PFDS;PFDS:2;rs20_2.sel/not found;rdb.g/no such key;DBD/404;v4.get/Document not found;rs21_2.ups;qtbl.ups:2;mc.s;RS:2;rs.put:3;rs-upload.putFile:6;UP:8, req_id:4FIAAOlNszEa52AU)
Traceback (most recent call last):
  File "MarkdownPicPicker.py", line 129, in <module>
    MarkrdownPicPicker()
  File "MarkdownPicPicker.py", line 44, in __init__
    self.upload_picture()
  File "MarkdownPicPicker.py", line 106, in upload_picture
    self.uploader.write_markdown_picture_url(picture_name, link_only=True if self.link_only else False)
TypeError: write_markdown_picture_url() got an unexpected keyword argument 'link_only'

图片上传上去了,但是地址没在剪切板里,这个该怎么解决呢?

Network connection failed

There has no server proxy for access to network,so it will occur connection exception,just like the following:

Traceback (most recent call last):
  File "site-packages\requests\packages\urllib3\connection.py", line 142, in _ne                                                                                                 w_conn
  File "site-packages\requests\packages\urllib3\util\connection.py", line 91, in                                                                                                  create_connection
  File "site-packages\requests\packages\urllib3\util\connection.py", line 81, in                                                                                                  create_connection
TimeoutError: [WinError 10060]

Support for Tencent Cloud

As Qiniu will delete your temp domain after 30 days, it will not be recommanded anymore.

I will develop a plugin for Tencent Cloud instead.

只用exe如何配置?

我将config.ini放到和exe相同的目录下,运行时还是提示没有找到config.ini,使用默认的图床。请问如何解决

qiniu region setting will affect upload url which leads to upload fail

Only qiniu pic bucket created in China east region is using up.qiniu.com which seems to be hard coded or by default adopted , but if users create bucket in any other region, will lead to upload failures like following :

(None, text_body:{"error":"incorrect region, please use up-z1.qiniu.com"}, req_id:LSAAAMUw8BLzmLAU, LSAAAMUw8BLzmLAU, exception:None, status_code:400, error:incorrect region, please use up-z1.qiniu.com, _ResponseInfo__response:<Response [400]>, x_log:body;TBLMGR:1;RS:2;CFGG:4;UP:10/400;UP:11/400)
the url is already in your clipboard!

(None, text_body:{"error":"incorrect region, please use up-z2.qiniu.com"}, req_id:LSAAAMUw8BLzmLAU, LSAAAMUw8BLzmLAU, exception:None, status_code:400, error:incorrect region, please use up-z1.qiniu.com, _ResponseInfo__response:<Response [400]>, x_log:body;TBLMGR:1;RS:2;CFGG:4;UP:10/400;UP:11/400)
the url is already in your clipboard!

sm.ms不能用了?

七牛云我明白正常,只是请教下sm.ms
是只有我、还是大家都故障了?

img

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.