Giter Site home page Giter Site logo

Comments (6)

danzek avatar danzek commented on August 22, 2024

I have encountered this same issue with a 10GB backup.

from iloot.

danjng avatar danjng commented on August 22, 2024

Any ideas on this one yet? The script is pretty much non-functional for me.

I have a 16GB backup and it's dying after an hour. Suggestions? Is there a way we can manually set or disable the timeout?

from iloot.

danjng avatar danjng commented on August 22, 2024

I'm getting a lot of chunk decryption failures. Does that typically mean the entire backup is hosed and I should start over?

I tried setting an individual HTTPS timeout of 5 minutes to see if that would make any difference. Any insight on what the default timeout typically is?

from iloot.

danjng avatar danjng commented on August 22, 2024

So 5 minutes did nothing; will try 'None' to see what happens.

I'm getting this at the end just after a whole mess of chunk description failures:

chunk decryption Failed
Traceback (most recent call last):
File "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 "iloot.py", line 610, in download_backup
client.download(UDID, types)
File "iloot.py", line 491, in download
self.write_manifest_mbdb(snapshot)
File "iloot.py", line 548, in write_manifest_mbdb
mbdb_file.write( file.RelativePath )
UnicodeEncodeError: 'ascii' codec can't encode characters in position 72-73: ordinal not in range(128)

Is this the same as what everyone else gets? Or is this a result of the failed chunk decryption?

from iloot.

iainmeikle avatar iainmeikle commented on August 22, 2024

It is possible to work around the issue temporarily by modifying the code to start at a particular index. Hard code the initial value to zero, increment the index for each chunk as expected, print the index each time. When the script fails, change the hard coded start index to the index on which the script failed. Run the script again until it fails. Repeat until you have managed to complete everything. Laborious but a possible workaround. I might consider fixing this at some point depending on the licensing conditions but I am tight for time presently. With luck someone else with time will do it.

from iloot.

danjng avatar danjng commented on August 22, 2024

That's definitely good to know. Although I'm not sure how good it would do since all of the errors don't just come at the end and bomb out or something. They happen seemingly randomly.

So just to update anyone who cares, setting that timeout=None doesn't seem to do much. I still get a ton of the decryption failure messages.

For some reason when I modified the types to only pull photos and videos, it actually completed a run (but with decryption errors). Compared to before, I got a lot more files, but did notice that there were some missing, that I was able to pull from a previous failed run. It doesn't seem like these failures are very consistent.

from iloot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.