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

no such table: legacy_available_messages_view #57

Open
jskswamy opened this issue Apr 24, 2022 · 2 comments
Open

no such table: legacy_available_messages_view #57

jskswamy opened this issue Apr 24, 2022 · 2 comments

Comments

@jskswamy
Copy link

When trying to import, with the latest version of WhatsApp, I'm getting the following error

2022-04-24 23:34:15.603 watoi[61850:16744452] Loaded 313 chat(s)
2022-04-24 23:34:15.604 watoi[61850:16744452] no such table: legacy_available_messages_view
fish: Job 1, 'watoi/build/Release/watoi msgst…' terminated by signal SIGABRT (Abort)
@2Sea-cat
Copy link

2Sea-cat commented May 21, 2022

I also got this problem. I checked relevant issues, maybe WhatsApp did change the database tables. The last commit that changed that legacy_available_messages_view, was 5 months ago, with the introduction to ephemeral messages. That was and obvious addition, right now there seems to be not major changes.

However I found out the help wanted tagged issue#51. Seems like they still do not have it working completely. Gonna try to replicate their sql changes and let you know.

@2Sea-cat
Copy link

I forgot to reply, I'm so sorry. Yes, if you add the view to your msgstr.db you will get the script to work and migrate the chats. You can get it done with something that can open sqlite databases and then adding the code in the link I provided the other day.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants