-
Notifications
You must be signed in to change notification settings - Fork 96
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
KeyError: 1152562 Dev Branch #45
Comments
@KnugiHK ? |
Can you confirm if there is a row in |
Yes there is. |
It's NULL though. |
If it is NULL it cannot be 1152562. |
You misunderstand, there is a row with that id but the message content is NULL |
Perhaps message contents that are NULL should simply be ignored just like non UTF-8 weirdness? |
A NULL message doesn't necessarily be invalid (e.g., the row represents other metadata or media). It shouldn't be ignored. |
Then why did It error out on that? |
The corresponding message entry didn't get added into the chat store probably. |
So perhaps the ones that error out like this can be skipped too instead of stopping the whole process? |
Is there a way to detect If something didn't get added to the chat store? If so, then you could just skip ones that didn't. |
Could you provide me the outputs of |
Can I just send you the row again? This didn't work out well last time. |
Sure. |
Done |
I couldn't reproduce the bug after I inserted the rows you sent to me. What's the output of the following SQL? SELECT jid.raw_string as key_remote_jid,
message_row_id,
file_path,
message_url,
mime_type,
media_key,
file_hash,
thumbnail
FROM message_media
INNER JOIN message
ON message_media.message_row_id = message._id
LEFT JOIN chat
ON chat._id = message.chat_row_id
INNER JOIN jid
ON jid._id = chat.jid_row_id
LEFT JOIN media_hash_thumbnail
ON message_media.file_hash = media_hash_thumbnail.media_hash
WHERE message_row_id = 1152562 OR key_remote_jid = 1152562
ORDER BY jid.raw_string ASC |
Since 3ed269e, the |
It's persisting |
I got a lot of gibberish but I did get audio/mp4 with this "|" around It. The quotes weren't there, of course.
|
@KnugiHK ? |
Could you show me the output? |
Sure and sorry for taking a while. |
Had the same issue with latest |
I will try again then. |
It didn't fix It for me. I am still getting the same error. @KnugiHK |
But It's telling me that the line of the program are different. |
Hello,
I tried to use the dev branch to export so that I could bypass the #44 issue but now I have this.
I installed using pip install git+https://github.com/KnugiHK/Whatsapp-Chat-Exporter.git@dev.
The text was updated successfully, but these errors were encountered: