-
Notifications
You must be signed in to change notification settings - Fork 88
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
Fixed JSON export #26
Conversation
Added serialization to the classes 'ChatStore' and 'Messages' so that they can be JSON serialized.
Hey, how can I try this, please? I've just noticed this pull request after making the issue #37. I've already put your new lines into my repository and I've run |
Hello Tomáš,
When cloning my fork (where the updates are done,
https://github.com/GoComputing/Whatsapp-Chat-Exporter), change the the
'dev' branch. After that, execute the command (change the paths when needed)
wtsexporter -a -w ../Decrypted/wa.db -o HTML -j -d ../Decrypted/msgstore.db
Hope it helps.
Regards,
Carlos.
…On Fri, Mar 24, 2023 at 4:59 PM Tomáš Velecký ***@***.***> wrote:
Hey, how can I try this, please?
I've just noticed this pull request after making the issue #37
<#37>.
I've already put your new lines into my repository and I've run sudo pip
install '.[android_backup]' but I am still getting the same error message
when running wtsexporter :(
—
Reply to this email directly, view it on GitHub
<#26 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGKTHN5UT2ZZGPRNTS4SKCTW5XAF5ANCNFSM6AAAAAAUJZ7HY4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Thank you, Carlos. Apparently, I was installing the original code GitHub repository as I left its URL i setup.py. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've checked that the bugfix works; thank you, Carlos!
I don't really understand the purpose of commenting out create_html(...)
on line 187 in __main__.py
, but everything seems to work, including the creation of HTML files.
You mean even if create_html() is commented, the creation of HTML files still works? |
I am so sorry, I shouldn't. I did when testing, and I forgot to remove it.
How can I make it correct? Should I create a new pull request?
…On Fri, Mar 24, 2023, 7:27 PM Knugi ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In Whatsapp_Chat_Exporter/__main__.py
<#26 (comment)>
:
> @@ -184,7 +184,7 @@ def main():
messages(db, data)
media(db, data, options.media)
vcard(db, data)
- create_html(data, options.output, options.template, options.embedded)
+ # create_html(data, options.output, options.template, options.embedded)
Should this be uncommented?
—
Reply to this email directly, view it on GitHub
<#26 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGKTHN67TYEY2BYKN3JTO6DW5XRQBANCNFSM6AAAAAAUJZ7HY4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please uncomment line 187 in __main__.py
I am not really sure, but I requested change and maybe you can uncomment it in your branch and maybe the new commit will be reflected in this pull? |
I uncommented the line and pushed. Now it is visible in the fix. Hope this is it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I also added a check before serialize the latest data model, so that the it is compatible with old model. |
Added serialization to the classes 'ChatStore' and 'Messages' so that they can be JSON serialized.