hackappcom / iloot

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

UnicodeDecodeError #22

Closed jetXS closed 9 years ago

jetXS commented 9 years ago

Connecting to iCloud and, after choosing snapshots when the download should start:

download_backup(args.apple_id, args.password, args.output, args.item_types, args.snapshot, args.combined, args.itunes_style, args.domain) File "C:\Users\userName\Desktop\iloot-master\iloot.py", line 572, in down load_backup client.download(UDID, types) File "C:\Users\userName\Desktop\iloot-master\iloot.py", line 450, in down load self.authorize_get(authTokens, snapshot) File "C:\Users\userName\Desktop\iloot-master\iloot.py", line 243, in auth orize_get file_groups = probobuf_request(self.content_host, "POST", URL[self.dsPrsID]. authorizeGet(), body, self.headers2, FileGroups) File "C:\Users\userName\Desktop\iloot-master\iloot.py", line 91, in probo buf_request request = conn.request(method, url, body, headers) File "C:\Python27\lib\httplib.py", line 946, in request self._send_request(method, url, body, headers) File "C:\Python27\lib\httplib.py", line 987, in _send_request self.endheaders(body) File "C:\Python27\lib\httplib.py", line 940, in endheaders self._send_output(message_body) File "C:\Python27\lib\httplib.py", line 801, in _send_output msg += message_body UnicodeDecodeError: 'ascii' codec can't decode byte 0x80 in position 7: ordinal not in range(128)

jetXS commented 9 years ago

FIXED!!!

The request method used was deprecated, using Pyton 2.7.0, I updated to 2.7.9 and it fixed the problem!

@hackappcom should suggest which version of python to use in the readme file :)