Skip to content

Merger: Fail at "Sort database" step #1

@win98se

Description

@win98se
Before starting, is suggested that you optimize the ORIGINAL (from your Android installation) msgstore.db database to accelerate writes.
Press Control-C if you want to skip and want to start moving calls right away

Type the path of the ORIGINAL msgstore.db file:

We start by moving calls. Press Control-C if you want to skip to fixing mentions

Type the path of the calls.db (Windows Phone DB) file:

We start fixing mentions. Press Control-C if you want to skip to adding missing messages and media

Type the path of the ORIGINAL msgstore.db (Android DB) file:

We start adding missing media and messages. Press Control-C if you want to skip to fixing replies (NOT RECOMMENDED).

Type the path of the ORIGINAL msgstore.db (Android DB) file: D:\f**k\org\msgstore.db
Type the path of msgstore.db (The file produced by my other script) file: D:\f**k\msgstore.db
Type the path of messages.db (The original Windows Phone database): D:\f**k\messages.db

100% (842 of 842) |##############################################################| Elapsed Time: 0:00:00 Time:  0:00:00

Added missing messages and media from the alternative database.

¡¡¡¡¡YOU ARE ADVISED TO FIX REPLIES AND SORT THE DATABASE AFTER THIS!!!!!


We start fixing replies. Press Control-C if you want to skip to cleaning database.
MAKE SURE THAT YOU HAVE FINISHED ADDING MISSING MESSAGES BEFORE, OTHERWISE SOME DATA MIGHT BE MISSING

Type the path of the temp.db (generated by my other script) file: D:\f**k\temp.db
Type the path of the ORIGINAL msgstore.db (Android DB) file: D:\f**k\org\msgstore.db

100% (1 of 1) |##################################################################| Elapsed Time: 0:00:00 Time:  0:00:00
Fixing replies part completed successfully


We start sorting IDs in the database. Press Control-C if you want to skip to database optimization.
THIS IS HIGHLY RECOMMENDED AFTER ADDING MISSING MESSAGES.

Type the path of the ORIGINAL msgstore.db (Android DB) file: D:\f**k\org\msgstore.db

Initializing... This might take a while...

Now backing up data into the temporary database...

100% (1153 of 1153) |############################################################| Elapsed Time: 0:00:00 Time:  0:00:00

Backed up data successfully. Deleting original data from msgstore.db and restoring...

100% (1166 of 1166) |############################################################| Elapsed Time: 0:00:00 Time:  0:00:00
Traceback (most recent call last):
  File "merger.py", line 1108, in <module>
  File "site-packages\progressbar\bar.py", line 639, in update
ValueError: Value 1167 is out of range, should be between 0 and 1166
[1820] Failed to execute script merger

I'm running it from Windows 10 Version 1909, WhatsApp for Android's version is 2.20.11.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions