B16f00t / whapa

WhatsApp Parser Toolset v1.59
1.11k stars 261 forks source link

mergre #68

Closed anoureldin closed 3 years ago

anoureldin commented 3 years ago

Hello i tried to merge two databases but i get

 __      __.__                                               
/  \    /  \  |__ _____    _____   ___________  ____   ____  
\   \/\/   /  |  \\__  \  /     \_/ __ \_  __ \/ ___\_/ __ \ 
 \        /|   Y  \/ __ \|  Y Y  \  ___/|  | \/ /_/  >  ___/ 
  \__/\  / |___|  (____  /__|_|  /\___  >__|  \___  / \___  >
       \/       \/     \/      \/     \/     /_____/      \/ 
------------------- Whatsapp Merger v1.0 -----------------

[e] No databases to merge

i added two databases backup in one folder and i chosed this folder as path

AboTyim commented 3 years ago

Hello

No databases to merge message error:

Traceback (most recent call last):
  File "./libs/whamerge.py", line 428, in <module>
    merge(args.path, args.output)
  File "./libs/whamerge.py", line 186, in merge
    elements_chatlist_cursor = cursor_read.execute("SELECT " + str_chatlist_cols + " FROM chat_list WHERE _id IN (" + str_id_chatlist_cols + ");")
sqlite3.OperationalError: no such column: deleted_message_id
B16f00t commented 3 years ago

Hello i tried to merge two databases but i get

 __      __.__                                               
/  \    /  \  |__ _____    _____   ___________  ____   ____  
\   \/\/   /  |  \\__  \  /     \_/ __ \_  __ \/ ___\_/ __ \ 
 \        /|   Y  \/ __ \|  Y Y  \  ___/|  | \/ /_/  >  ___/ 
  \__/\  / |___|  (____  /__|_|  /\___  >__|  \___  / \___  >
       \/       \/     \/      \/     \/     /_____/      \/ 
------------------- Whatsapp Merger v1.0 -----------------

[e] No databases to merge

i added two databases backup in one folder and i chosed this folder as path

the databases have to be unencrypted, in order to merge.

B16f00t commented 3 years ago

Hello

No databases to merge message error:

Traceback (most recent call last):
  File "./libs/whamerge.py", line 428, in <module>
    merge(args.path, args.output)
  File "./libs/whamerge.py", line 186, in merge
    elements_chatlist_cursor = cursor_read.execute("SELECT " + str_chatlist_cols + " FROM chat_list WHERE _id IN (" + str_id_chatlist_cols + ");")
sqlite3.OperationalError: no such column: deleted_message_id

If you are merging old databases, you probably don't have the deleted_message_id column. You can add it with sqlitebrowser, or change the whamerge code a bit.