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

FAILED TO CREATE ACCOUNT: list index out of range #52

Open
PM-ME-BUMBLEBEES opened this issue Dec 13, 2021 · 3 comments
Open

FAILED TO CREATE ACCOUNT: list index out of range #52

PM-ME-BUMBLEBEES opened this issue Dec 13, 2021 · 3 comments

Comments

@PM-ME-BUMBLEBEES
Copy link

I'm on a mac, I have everything installed and set up. When I run the bot, and it goes to create an account, I get this error message: FAILED TO CREATE ACCOUNT: list index out of range

What am I doing wrong?

@bolshoytoster
Copy link
Contributor

If you change the

        try:
            generate_account(driver, fake_identity)
        except Exception as e:
            printf(f"FAILED TO CREATE ACCOUNT: {e}")
            pass

to

#        try:
        generate_account(driver, fake_identity)
#        except Exception as e:
#            printf(f"FAILED TO CREATE ACCOUNT: {e}")
#            pass

Notice there are 4 spaces removed before generate_account(driver, fake_identity), you should get the full stack trace.

If you get the error again can you post the full error please.

@PM-ME-BUMBLEBEES
Copy link
Author

Here is the full traceback:

Traceback (most recent call last):
File "/Users/annabrown/Desktop/KelloggBot-main/main.py", line 297, in
main()
File "/Users/annabrown/Desktop/KelloggBot-main/main.py", line 279, in main
generate_account(driver, fake_identity)
File "/Users/annabrown/Desktop/KelloggBot-main/main.py", line 158, in generate_account
solveCaptcha(driver)
File "/Users/annabrown/Desktop/KelloggBot-main/main.py", line 66, in solveCaptcha
googleClass = driver.find_elements_by_class_name(CAPTCHA_BOX)[0]
IndexError: list index out of range

@bolshoytoster
Copy link
Contributor

bolshoytoster commented Dec 13, 2021

Ah, that'll be because they just removed the recaptcha, also this repo currently doesn't work because they just added email verification which this repo doesn't handle for.

If you can clone my fork instead, that should hopefully get around it.

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