You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 4, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Oct 4, 2023. It is now read-only.
JSON decoding of response failed after trying client.upload_from_path() #58
I got the same issue when I was using client.upload_from_path() function.
any update for this issue ?
........ib/python2.7/site-packages/imgurpython/client.py", line 158, in make_request raise ImgurClientError('JSON decoding of response failed.')ImgurClientError: JSON decoding of response failed.
Activity
salty-horse commentedon Apr 24, 2016
No, it's because commit cb717fe by @khazhyk forgot to add a
return, so the function always returnsNone:(charlieworld commentedon May 6, 2016
I got the same issue when I was using client.upload_from_path() function.
any update for this issue ?
........ib/python2.7/site-packages/imgurpython/client.py", line 158, in make_request raise ImgurClientError('JSON decoding of response failed.')ImgurClientError: JSON decoding of response failed.salty-horse commentedon May 6, 2016
@charlieworld, use 1.1.7, which is the version on PyPI.
charlieworld commentedon May 8, 2016
@salty-horse thanks a lot !
I fount out the problem I got is that the photo I upload was too large...... (24mb)
When I using the small image file to test it, it work !
I think I need to write another code to check the file before upload.......
Fix issue Imgur/imgurpython#58