SnapchatBot icon indicating copy to clipboard operation
SnapchatBot copied to clipboard

Please create guide for how to set this up with ubuntu or centos

Open NellicusLabs opened this issue 10 years ago • 6 comments

Trying to get the dependancies correct has been an absolute nightmare.

EDIT: I will even provide a VPS to the person who writes a guide.

NellicusLabs avatar Apr 17 '15 07:04 NellicusLabs

True, I had to install everything at least 6 times and then it just worked. On Apr 17, 2015 10:27 AM, "justinoreilly" [email protected] wrote:

Trying to get the dependancies correct has been an absolute nightmare.

— Reply to this email directly or view it on GitHub https://github.com/agermanidis/SnapchatBot/issues/59.

blendom avatar Apr 17 '15 13:04 blendom

Does it work now?

mavieth avatar Apr 17 '15 13:04 mavieth

I have managed to make it work but I am stonewalled by needing updated responses.

NellicusLabs avatar Apr 17 '15 16:04 NellicusLabs

You try installing:

sudo pip install requests==2.5.3

That was a previous fix, not sure about now. What is your error message?

mavieth avatar Apr 17 '15 16:04 mavieth

[root@xmpp examples]# python storifierbot.py -u ********** -p ************* [2015-04-17 12:53:21,595] Starting new HTTPS connection (1): feelinsonice-hrd.appspot.com /usr/lib/python2.6/site-packages/requests/packages/urllib3/util/ssl_.py:79: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning. InsecurePlatformWarning [2015-04-17 12:53:22,119] "POST /loq/login HTTP/1.1" 200 None Traceback (most recent call last): File "storifierbot.py", line 16, in bot = StorifierBot(args.username, args.password) File "build/bdist.linux-x86_64/egg/snapchat_bots/bot.py", line 27, in init KeyError: 'updates_response'

NellicusLabs avatar Apr 17 '15 16:04 NellicusLabs

You could always run the bot in a docker container. I created a Dockerfile that installs all dependencies, so you don't have to - check it out. https://github.com/Samze/SnapchatBot-docker

If you want a set of instructions that allows you to install dependencies on your ubuntu machine, you can always mimic the instructions in the Dockerfile. https://github.com/Samze/SnapchatBot-docker/blob/master/Dockerfile

Samze avatar Apr 18 '15 18:04 Samze