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

I am having the issue of "list index out of range" help 😥 #1

Open
shreesha345 opened this issue Aug 8, 2021 · 1 comment
Open

Comments

@shreesha345
Copy link

Traceback (most recent call last): File ".\main.py", line 78, in <module> run.chat_bot() File ".\main.py", line 55, in chat_bot text_msg = self.get_msg() File ".\main.py", line 36, in get_msg text_msg = msg[self.last_massage].find_elment_by_class_name("_ccCW FqYAR i0jNr") IndexError: list index out of range

when I run this first It asks me the name of my friend whom I want to use this bot in WhatsApp
and then it will open the page where I should scan the QRcode and then I pressed enter in my cmd and then
when my friend sends a message it gives me this error 😥😥😥😥😥
Please help me please fast as possible
Thank you!

@CleoMenezesJr
Copy link
Owner

This happens because whatsapp periodically changes the class name of the elements. You can implement this manually or wait until the weekend.

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

2 participants