WA-GD icon indicating copy to clipboard operation
WA-GD copied to clipboard

Possible error due to corrupt backup. Possible to fix?

Open loonathedorm opened this issue 2 years ago • 1 comments

I'm getting the error below:

Traceback (most recent call last):
  File "/home/orbitsrv/WA-GD/WhatsAppGDExtract.py", line 248, in main
    print("Backup Size:{} Upload Time: {}".format(human_size(int(backup["sizeBytes"])), backup["updateTime"]))
KeyError: 'sizeBytes'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/orbitsrv/WA-GD/WhatsAppGDExtract.py", line 260, in <module>
    main(sys.argv)
  File "/home/orbitsrv/WA-GD/WhatsAppGDExtract.py", line 253, in main
    human_size(int(backup["sizeBytes"])),
KeyError: 'sizeBytes'

Is it possible to fix? I have a doubt that it could be because my backup is corrupt and hence shows the size as 0 bytes which the current code might not be expecting. Is it possible to fix it ad allow to download the corrupted backup as well?

loonathedorm avatar Dec 07 '23 16:12 loonathedorm

try to fix this,, install requests packages Command pip install gpsoauth && pip install requests==2.23.0 hope so fix it..

Linuxndroid avatar Dec 12 '23 08:12 Linuxndroid