[yt-dev] Issue #1208: `upload_image` command line argument no longer works (yt_analysis/yt)

Cameron Hummels issues-reply at bitbucket.org
Wed Apr 6 14:20:49 PDT 2016


New issue 1208: `upload_image` command line argument no longer works
https://bitbucket.org/yt_analysis/yt/issues/1208/upload_image-command-line-argument-no

Cameron Hummels:

When you want to upload an image automatically to the web, you used to be able to use:


```
#!python

$ yt upload_image image.png
```


But this now returns the error:


```
#!python

ERROR HTTP Error 404: Not Found
```

It appears the imgur.com API version has changed, and they no longer accept API version 1, which is how it was encoded in yt.  Now they only accept API version 2 or 3.  We will need to update the code to work with this new API for `upload_image` to work again.

https://api.imgur.com/


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-dev-spacepope.org/attachments/20160406/9a0a13cf/attachment.htm>


More information about the yt-dev mailing list