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

Error while doing an export #72

Open
bhuwanchopra opened this issue Oct 30, 2023 · 2 comments
Open

Error while doing an export #72

bhuwanchopra opened this issue Oct 30, 2023 · 2 comments

Comments

@bhuwanchopra
Copy link

$$ wtsexporter -i -b ~/Library/Application\ Support/MobileSync/Backup/<device-id>
Encryption detected on the backup!
Enter the password for the backup:
Decrypting WhatsApp database...
Traceback (most recent call last):
  File "/Users/bhuwanchopra/Library/Python/3.9/bin/wtsexporter", line 8, in <module>
    sys.exit(main())
  File "/Users/bhuwanchopra/Library/Python/3.9/lib/python/site-packages/Whatsapp_Chat_Exporter/__main__.py", line 271, in main
    extract_iphone_media.extract_media(args.backup)
  File "/Users/bhuwanchopra/Library/Python/3.9/lib/python/site-packages/Whatsapp_Chat_Exporter/extract_iphone_media.py", line 73, in extract_media
    extract_encrypted(base_dir, password)
  File "/Users/bhuwanchopra/Library/Python/3.9/lib/python/site-packages/Whatsapp_Chat_Exporter/extract_iphone_media.py", line 22, in extract_encrypted
    backup.extract_file(relative_path=RelativePath.WHATSAPP_MESSAGES,
  File "/Users/bhuwanchopra/Library/Python/3.9/lib/python/site-packages/iphone_backup_decrypt/iphone_backup.py", line 272, in extract_file
    decrypted_data = self.extract_file_as_bytes(relative_path, domain)
  File "/Users/bhuwanchopra/Library/Python/3.9/lib/python/site-packages/iphone_backup_decrypt/iphone_backup.py", line 249, in extract_file_as_bytes
    file_id, file_bplist = result
TypeError: cannot unpack non-iterable NoneType object
@KnugiHK
Copy link
Owner

KnugiHK commented Nov 4, 2023

Check if the follow SQL query return anything from the Manifest.db of the iOS backup?

SELECT fileID, file
FROM Files
WHERE relativePath = 'ChatStorage.sqlite'
AND flags=1
AND domain='AppDomainGroup-group.net.whatsapp.WhatsApp.shared'
ORDER BY domain, relativePath
LIMIT 1;

@haplessharpooneers
Copy link

I got the same issue.

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

3 participants