adein / hangouts_to_sms

Google Hangouts SMS/MMS to XML converter
MIT License
31 stars 11 forks source link

Missing Hangouts.json file error [solved] #11

Open gotdown opened 6 years ago

gotdown commented 6 years ago

This was so helpful! I had to debug a problem where the script (or Windows or my Python environment?) used the Python program directory rather than the script directory as the working directory.

I don't know the cause, but I worked around it by copying my Hangouts.json file to the Python directory prior to running the script.

GamerKingFaiz commented 6 years ago

I had to change lines 6 & 7 to hardcode the location of my file:

HANGOUTS_JSON_FILE = 'C:\hangouts_to_sms-develop\Hangouts.json' OUTPUT_FILE = "C:\hangouts_to_sms-develop\messages.xml"