-
Notifications
You must be signed in to change notification settings - Fork 132
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Must have
- WhatsApp version: [2.26.4.85]
- OS: [Android/iOS] - [Android 16]
- Platform: [Linux Fedora 43 (amd64)]
- Exporter's branch and version: [main] - [0.13.0]
Describe the bug
A clear and concise description of what the bug is.
Running the wtsexporter on a pristine db + media folders with vcard addition fails with python exception (below).
If it is an error yield by Python, please also provide the trackback
WhatsApp Chat Exporter: A customizable Android and iOS/iPadOS WhatsApp database parser
Version: 0.13.0
========================================================================================================
[INFO] Decryption key specified, decrypting WhatsApp backup...
[INFO] Processed 60746 reactions in less than a second
[INFO] Processed 173989 messages in 3 seconds
[INFO] Processed 34774 media in less than a second
Traceback (most recent call last):
File "/home/user/path/to/whatsapp-exporter/.venv/bin/wtsexporter", line 10, in <module>
sys.exit(main())
~~~~^^
File "/home/user/path/to/whatsapp-exporter/.venv/lib64/python3.14/site-packages/Whatsapp_Chat_Exporter/__main__.py", line 880, in main
process_messages(args, data)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^
File "/home/user/path/to/whatsapp-exporter/.venv/lib64/python3.14/site-packages/Whatsapp_Chat_Exporter/__main__.py", line 576, in process_messages
message_handler.vcard(
~~~~~~~~~~~~~~~~~~~~~^
db, data, args.media, args.filter_date,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
filter_chat, args.filter_empty
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/user/path/to/whatsapp-exporter/.venv/lib64/python3.14/site-packages/Whatsapp_Chat_Exporter/android_handler.py", line 829, in vcard
_process_vcard_row(row, path, data)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/home/user/path/to/whatsapp-exporter/.venv/lib64/python3.14/site-packages/Whatsapp_Chat_Exporter/android_handler.py", line 922, in _process_vcard_row
message = data.get_chat(row["key_remote_jid"]).get_message(row["message_row_id"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get_message'
Nice to have
To Reproduce
Ensure the following or its equivalend is done to enable you copy the backup and run wtsexporter:
- Setup, do as this repo tells: mvk/wtse-bug-reproduce-fedora43
Steps to reproduce the behavior:
- Assuming you did everything for previous 1. item
./puller.shshould pull data- run
./extractor.sh - See error
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working