KnugiHK / WhatsApp-Chat-Exporter

A customizable Android and iOS/iPadOS WhatsApp database parser that will give you the history of your WhatsApp conversations in HTML and JSON. Android Backup Crypt12, Crypt14, Crypt15, and new schema supported.
https://wts.knugi.dev/
MIT License
584 stars 85 forks source link

Problem with contact's names or fallbacks #58

Closed Lehnemann closed 10 months ago

Lehnemann commented 1 year ago

When trying to export the backup I receive the following message:

image

UnboundLocalError: cannot access local variable 'name' where it is not associated with a value

Please, what can I do about it?

Thanks in advance...

KnugiHK commented 1 year ago

It is a bug. Will fix it later.

KnugiHK commented 1 year ago

Fixed in bd2f063. Please check if the fix works by using the dev branch.

Lehnemann commented 1 year ago

Thanks for your work but I dunno how to use it from there... 😐

How can I build the exe's file from that branch?

KnugiHK commented 1 year ago
git clone -b dev https://github.com/KnugiHK/WhatsApp-Chat-Exporter
pip install pycryptodome javaobj-py3 ordered-set zstandard nuitka
pip install .
python -m nuitka --onefile --include-data-file=./Whatsapp_Chat_Exporter/whatsapp.html=./Whatsapp_Chat_Exporter/whatsapp.html --assume-yes-for-downloads --follow-imports Whatsapp_Chat_Exporter\__main__.py

The above commands will produce a file called __main__.exe and that should do the trick.

Lehnemann commented 1 year ago

image

After the building process, the antivirus blocks the file. The antivirus said that It is a VHO:Worm.Win32.Convagent.gen virus... Is It a false positive?

KnugiHK commented 1 year ago

image

After the building process, the antivirus blocks the file. The antivirus said that It is a VHO:Worm.Win32.Convagent.gen virus... Is It a false positive?

Yes. See #43.

Lehnemann commented 1 year ago

Well, I tried with the fix and it worked!

Thanks for your help and time! 🙂

You made a great software! Thanks for your effort! 🤩

KnugiHK commented 1 year ago

Thanks for your compliment! If you would like to support the project, consider starring this repo.

I will leave this open until the next release.

KnugiHK commented 10 months ago

Released in 0.9.7.