Closed N07070 closed 9 years ago
I just tried it on OSX 10.9.5 and it saves the image correctly. What OS are you on?
Linux, Debian. Up-to-date, last version. I works on a other linux, based on ubuntu.
Just tested on RHEL 6.6 and the image is indeed empty. I'll take a look
Actually it looks like none of SnapchatBots functionalities are working at all on RHEL 6.6. The bot doesn't even recognize snaps. I think this is a deeper issue than just image capture
I chmod 777 the directory where they are saved, no change. It's not linux, cause it's working on my desktop. Did you use your bot in a desktop env. ? Because, when it works, I'm in a desktop. So, maybe that's the thing ?
identify.im6: Empty input file snapbot_saves/xxxx-2.23.2015-0:37:42.jpg' @ error/jpeg.c/JPEGErrorHandler/316.
I tested in a virtualenv and without. They both worked on OSX 10.9.5. Neither works on red hat
Ahh, I found the error. line 64 in snap.py:
if self.media_type is MEDIA_TYPE_VIDEO or MEDIA_TYPE_VIDEO_WITHOUT_AUDIO
should be
if self.media_type is MEDIA_TYPE_VIDEO or self.media_type is MEDIA_TYPE_VIDEO_WITHOUT_AUDIO
Thanks @EthanBlackburn for fixing this! @N07070, do you still get empty snap saves after the latest commit?
Yep, now my images are HD ! Thanks !
Hello, I tried this :
but when I display it ( on a computer, or with Imagemagick with X forwarding ), it give an empyt image.
Any ideals ?