can't fetch image from url (python3 version)
-
DrawBotPy3 3.113
-
@chuckloyola We're at 3.114 now, but I don't think it will make a difference. You mention Python 3. I somehow bet the same problem occurs with the Python 2 version of DrawBot.
-
@justvanrossum just tried the Python 2 (3.114) version with a different url and same problem.
code:
image('https://lumiere-a.akamaihd.net/v1/images/aliceinwonderland_-yes_celebrate_bc506b50.gif', (100,100))
output:
gifsicle: /v1/images/aliceinwonderland_-yes_celebrate_bc506b50.gif: No such file or directory Traceback (most recent call last): File "drawBot/ui/drawBotController.pyc", line 120, in createContext File "drawBot/drawBotDrawingTools.pyc", line 120, in _drawInContext File "drawBot/context/baseContext.pyc", line 2249, in image File "drawBot/context/pdfContext.pyc", line 276, in _image File "drawBot/context/pdfContext.pyc", line 254, in _getImageSource File "drawBot/context/tools/gifTools.pyc", line 79, in gifFrameCount File "drawBot/context/tools/gifTools.pyc", line 61, in _explodeGif File "drawBot/misc.pyc", line 313, in executeExternalProcess RuntimeError: u'gifsicle' failed with error code 1
-
@chuckloyola This is actually a very different error, and I can reproduce it. (Something with placing an animated gif.)
What error do you get with the jpg link? The same as in your original report?
-
@justvanrossum actually, on 3.114 Python 2 code runs fine with the jpeg, I assumed it also had to do with not finding the image. apologies for the confusion.
-
@chuckloyola And, just to make sure, you are still getting the same error on the Py3 version of DrawBot 3.114?
Regarding the gif error: I opened an issue about that: https://github.com/typemytype/drawbot/issues/189
-
@justvanrossum hmm ... the latest DrawbotPy3 version on the website is 3.113. just downloaded it again, to make sure (screenshot) though it does tell me i'm on 3.114 when i check for updates from within the app.
-
@chuckloyola said in can't fetch image from url (python3 version):
hmm ... the latest DrawbotPy3 version on the website is 3.113
Oh I see, that's weird. I'll look into it.
-
@justvanrossum ok so, no idea what has changed, but after i re-downloaded and reinstalled the same Py3 app. code runs fine now. screencap
-
@chuckloyola Ok, good to know. Maybe it was a network glitch.