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

Can't open 'chat.py' #26

Open
jackedmond opened this issue Mar 21, 2019 · 1 comment
Open

Can't open 'chat.py' #26

jackedmond opened this issue Mar 21, 2019 · 1 comment

Comments

@jackedmond
Copy link

Hi, I came across the below error when trying to run the program. It seems as though python is looking for 'chat.py' which doesn't seem to exist inside any of the directories..

Jacks-MBP-2:whatsapp-parser jackedmond$ python chat.py -f chat.txt -p WhatsApp -n "Nikolas Moya" -r sleepy yes
python: can't open file 'chat.py': [Errno 2] No such file or directory

Apologies if this is a stupid question.. I'm just getting started

@nmoya
Copy link
Owner

nmoya commented Mar 26, 2019

@jackedmond hey, sorry for the late response. No stupid questions.

The README file is wrong, you found a bug!
You should run the program like this:
python wp_parser/wp_chat.py -f chat.txt -p WhatsApp -n "Nikolas Moya" -r sleepy yes

Also, the second parameter, chat.txt don't exist in the project. You need to replace this with a text file that follows the format specified in test/testChat2.txt.

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

3 participants
@nmoya @jackedmond and others