From c56682ff8d727979cb049f8116e8994346a526ca Mon Sep 17 00:00:00 2001 From: KnugiHK <24708955+KnugiHK@users.noreply.github.com> Date: Sat, 29 Mar 2025 23:32:48 +0800 Subject: [PATCH] Add a potential solution for missing the database in iOS #125 --- Whatsapp_Chat_Exporter/ios_media_handler.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Whatsapp_Chat_Exporter/ios_media_handler.py b/Whatsapp_Chat_Exporter/ios_media_handler.py index 317eb61..1ab6796 100644 --- a/Whatsapp_Chat_Exporter/ios_media_handler.py +++ b/Whatsapp_Chat_Exporter/ios_media_handler.py @@ -102,7 +102,11 @@ class BackupExtractor: print("Failed to decrypt backup: incorrect password?") exit(7) except FileNotFoundError: - print("Essential WhatsApp files are missing from the iOS backup.") + print( + "Essential WhatsApp files are missing from the iOS backup. " + "Perhapse you enabled end-to-end encryption for the backup? " + "See https://wts.knugi.dev/docs.html?dest=iose2e" + ) exit(6) else: print("Done") @@ -142,6 +146,11 @@ class BackupExtractor: print("WhatsApp database not found.") else: print("WhatsApp Business database not found.") + print( + "Essential WhatsApp files are missing from the iOS backup. " + "Perhapse you enabled end-to-end encryption for the backup? " + "See https://wts.knugi.dev/docs.html?dest=iose2e" + ) exit() else: shutil.copyfile(wts_db_path, self.identifiers.MESSAGE)