hackappcom / iloot

OpenSource tool for iCloud backup extraction
https://hackapp.com/
634 stars 203 forks source link

TypeError: __init__() got an unexpected keyword argument 'server_hostname' #63

Open dickies05 opened 8 years ago

dickies05 commented 8 years ago

Got this error. whats wrong?

Output directory : output Traceback (most recent call last): File "C:\phy\iloot-master\iloot.py", line 649, in download_backup(args.apple_id, args.password, args.output, args.item_types, args.snapshot, args.combined, args.itunes_style, args.domain, args.threads) File "C:\phy\iloot-master\iloot.py", line 569, in download_backup authenticateResponse = plist_request("setup.icloud.com", "POST", "/setup/authenticate/$APPLE_ID$", "", {"Authorization": auth}) File "C:\phy\iloot-master\iloot.py", line 73, in plist_request request = conn.request(method, url, body, headers) File "C:\Python27\lib\httplib.py", line 1053, in request self._send_request(method, url, body, headers) File "C:\Python27\lib\httplib.py", line 1093, in _send_request self.endheaders(body) File "C:\Python27\lib\httplib.py", line 1049, in endheaders self._send_output(message_body) File "C:\Python27\lib\httplib.py", line 893, in _send_output self.send(msg) File "C:\Python27\lib\httplib.py", line 855, in send self.connect() File "C:\Python27\lib\httplib.py", line 1274, in connect server_hostname=server_hostname) File "C:\Python27\lib\ssl.py", line 352, in wrap_socket _context=self) TypeError: init() got an unexpected keyword argument 'server_hostname'

FiZiX commented 8 years ago

You're probably using a version of Python that's too new for gevent. Try version 2.7.9

dickies05 commented 8 years ago

Yes you are right. That was the problem