YuvrajRaghuvanshiS / WhatsApp-Key-Database-Extractor

The most advanced and complete solution for extracting WhatsApp key/DB from package directory (/data/data/com.whatsapp) without root access.
MIT License
443 stars 57 forks source link

invalid syntax error showing when running wa_kdbe #91

Closed ShadabFaiz closed 2 years ago

ShadabFaiz commented 2 years ago

Describe the bug I'm running Ubuntu 18.04.4 LTS on WSL 1. Phone: Mi Note 10 Pro Max Python:

Python 3.6.9 (default, Nov  7 2019, 10:44:02)
[GCC 8.3.0] on linux

When running command python3 wa_kdbe.py, It is showing error

python3 wa_kdbe.py

  File "<fstring>", line 1
    (sdk_version=)
                ^
SyntaxError: invalid syntax

To Reproduce Steps to reproduce the behavior:

  1. run '..'
  2. Enter '..'
  3. See error

Expected behavior Should not throw errror

Screenshot Capture

YuvrajRaghuvanshiS commented 2 years ago

My take on this issue is that the fstring library in Ubuntu has something to do with it. I just ran this on Ubuntu WSL 20.04 and it seemed to work for me, try this version.

If issue persists then you will need to remove every occurrence of !s​ from lines the follow this pattern custom_print(f'I am in wakdbe.real_deal(sdk_version=!s​ ...

------- Original Message ------- On Sunday, March 27th, 2022 at 6:20 PM, Shadab Faiz @.***> wrote:

Describe the bug I'm running Ubuntu 18.04.4 LTS on WSL 1. Phone: Mi Note 10 Pro Max Python:

Python 3.6.9 (default, Nov 7 2019, 10:44:02) [GCC 8.3.0] on linux

When running command python3 wa_kdbe.py, It is showing error

python3 wa_kdbe.py

File

"

" , line 1 (sdk_version=) ^ SyntaxError: invalid syntax To Reproduce Steps to reproduce the behavior: - run '..' - Enter '..' - See error Expected behavior Should not throw errror Screenshot [Capture](https://user-images.githubusercontent.com/8160121/160282168-ecb0b926-c879-4f60-97ec-a1eea019d24c.PNG) — Reply to this email directly, [view it on GitHub](https://github.com/YuvrajRaghuvanshiS/WhatsApp-Key-Database-Extractor/issues/91), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AMT67DRRZI2C7Q76IU4DXQDVCBKRHANCNFSM5RYXZKTQ). You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>