Skip to content
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

[BUG] Not supported WhatsApp internal message #90

Closed
mruepp opened this issue Mar 8, 2024 · 11 comments
Closed

[BUG] Not supported WhatsApp internal message #90

mruepp opened this issue Mar 8, 2024 · 11 comments
Labels
wontfix This will not be worked on

Comments

@mruepp
Copy link

mruepp commented Mar 8, 2024

  • WhatsApp version: 2.24.5.73 - iOS
  • Platform: MacOS
  • Branch and version: main

Describe the bug
I did an Iphone Backup (unencrypted) and was able to extract the Chats.
The Photos/Videos show up inline, but some messages does not show with error message: Not supported WhatsApp internal message
See screenshot 1 and see corresponding html code screenshot 2

Screenshot 2024-03-08 at 17 29 17

Screenshot 2024-03-08 at 18 00 46

To Reproduce

Steps to reproduce the behavior:
Export the chats as in the README

Thanks for providing such a valuable tool.

@mruepp mruepp changed the title [BUG] Videos not exported inline chat - Not supported WhatsApp internal message [BUG] Emoji and special chars not exported inline chat - Not supported WhatsApp internal message Mar 8, 2024
@mruepp mruepp changed the title [BUG] Emoji and special chars not exported inline chat - Not supported WhatsApp internal message [BUG] Emoji and special chars not exported inline chat - "Not supported WhatsApp internal message" Mar 8, 2024
@mruepp mruepp changed the title [BUG] Emoji and special chars not exported inline chat - "Not supported WhatsApp internal message" [BUG] Not supported WhatsApp internal message Mar 8, 2024
@KnugiHK
Copy link
Owner

KnugiHK commented Mar 11, 2024

Hi. Can you show me the corresponding message in WhatsApp?

@mruepp
Copy link
Author

mruepp commented Mar 11, 2024

Should be this. But the time is off (10:20 in html vs 11:43 in chat) it is a Video I can not start...
Screenshot 2024-03-11 at 18 39 47

@mruepp
Copy link
Author

mruepp commented Mar 11, 2024

Also, btw, is there a way to implement lazy loading? I have chats back to 2014, they are 100-200MB large HTMLs which are nearly unable to load...

@KnugiHK
Copy link
Owner

KnugiHK commented Mar 12, 2024

Also, btw, is there a way to implement lazy loading? I have chats back to 2014, they are 100-200MB large HTMLs which are nearly unable to load...

There is no lazy loading but you can use --size 0 to split the chat into multiple files.

@mruepp
Copy link
Author

mruepp commented Mar 12, 2024

Thank you, is there documentation of --size? --size 0 is kind of counterintuitive. What does it mean?

@KnugiHK
Copy link
Owner

KnugiHK commented Mar 12, 2024

Thank you, is there documentation of --size? --size 0 is kind of counterintuitive. What does it mean?

> wtsexporter --help
...
  --size [SIZE], --output-size [SIZE], --split [SIZE]
                        Maximum (rough) size of a single output file in bytes, 0 for auto

Any suggestions are welcome!

@KnugiHK
Copy link
Owner

KnugiHK commented Mar 12, 2024

Btw, docs are either located in the Wiki or in the help menu.

@jonx
Copy link

jonx commented May 3, 2024

I'm not a web developer but I did some quick research and maybe all we need to get the lazy loading is add a tag to the images as documented here: https://www.w3schools.com/tags/att_img_loading.asp
Only Safari doesn't handle this tag.

<img src="Media/Profile\33610007857-1665000879.thumb" loading="lazy" class="avatar">

@jonx
Copy link

jonx commented May 3, 2024

Also while commenting on things that I don't really know, maybe you could consider using the base tag in your HTML? Maybe you have a reason not to use it or maybe it's just me but my links are pretty long like this:
<a href="AppDomainGroup-group.net.whatsapp.WhatsApp.shared/Media/Profile\6590002603-1700006881.thumb"><img src="AppDomainGroup-group.net.whatsapp.WhatsApp.shared/Media/Profile\6590002603-1700006881.thumb" onerror="this.style.display='none'" class="avatar"></a>
with the base tag like this:
<base href="AppDomainGroup-group.net.whatsapp.WhatsApp.shared/">
you should be able to shorten the URLs to this:
<img src="Media/Profile\33610007857-1665000879.thumb">

@KnugiHK
Copy link
Owner

KnugiHK commented Jun 30, 2024

Should be this. But the time is off (10:20 in html vs 11:43 in chat) it is a Video I can not start...

Since you confirmed the video cannot be played, the file in your iPhone probably got corrupted. In this case, I believe it is an isolated case and not the fault of the exporter. Could you find more instances on real media but unspported?

KnugiHK added a commit that referenced this issue Jun 30, 2024
@KnugiHK KnugiHK added the enhancement New feature or request label Jun 30, 2024
@KnugiHK KnugiHK self-assigned this Jun 30, 2024
@KnugiHK KnugiHK removed the enhancement New feature or request label Jun 30, 2024
@KnugiHK KnugiHK removed their assignment Jun 30, 2024
@KnugiHK KnugiHK added the wontfix This will not be worked on label Sep 7, 2024
@KnugiHK
Copy link
Owner

KnugiHK commented Sep 7, 2024

If further evidence indicates that the issue is caused by the exporter, please feel free to reopen this issue.

@KnugiHK KnugiHK closed this as not planned Won't fix, can't repro, duplicate, stale Sep 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants