Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection failed #1

Open
declercqt opened this issue May 30, 2015 · 2 comments
Open

Connection failed #1

declercqt opened this issue May 30, 2015 · 2 comments

Comments

@declercqt
Copy link

[2015-05-30 11:11:13,626] Starting new HTTPS connection (1): feelinsonice-hrd.appspot.com
/usr/local/lib/python2.7/dist-packages/requests-2.6.0-py2.7.egg/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-05-30 11:11:14,483] "POST /loq/login HTTP/1.1" 200 None
Traceback (most recent call last):
File "examples/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'

@declercqt
Copy link
Author

Downgrading requests gives me this:

root@191e99a7ad27:/SnapchatBot# sudo pip install requests==2.5.3
Traceback (most recent call last):
File "/usr/bin/pip", line 9, in
load_entry_point('pip==1.5.4', 'console_scripts', 'pip')()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 351, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2363, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2088, in load
entry = import(self.module_name, globals(),globals(), ['name'])
File "/usr/lib/python2.7/dist-packages/pip/init.py", line 61, in
from pip.vcs import git, mercurial, subversion, bazaar # noqa
File "/usr/lib/python2.7/dist-packages/pip/vcs/mercurial.py", line 9, in
from pip.download import path_to_url
File "/usr/lib/python2.7/dist-packages/pip/download.py", line 25, in
from requests.compat import IncompleteRead
ImportError: cannot import name IncompleteRead

@Samze
Copy link
Owner

Samze commented May 30, 2015

Hey @thomaqx thanks for the ticket!

This looks to be a problem with the snapchat bot code itself. I found this open issue...

agermanidis/SnapchatBot#52

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants