#freeStart timeout error.
DogancanYr opened this issue ยท 26 comments
Killed previous instances successfully!
Registered account successfully!
Retrieved mail successfully!
Found mail!
Traceback (most recent call last):
File "C:\Users\Dogan\Desktop\py_mega_account_generator-master\main.py", line 138, in <module>
asyncio.run(register(asyncio.run(generate_mail())))
File "C:\Users\Dogan\AppData\Local\Programs\Python\Python310\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "C:\Users\Dogan\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 641, in run_until_complete
return future.result()
File "C:\Users\Dogan\Desktop\py_mega_account_generator-master\main.py", line 76, in register
await initial_setup(context, message, credentials)
File "C:\Users\Dogan\Desktop\py_mega_account_generator-master\utilities\web.py", line 43, in initial_setup
await confirm_page.waitForSelector("#freeStart", timeout=1000)
File "C:\Users\Dogan\AppData\Local\Programs\Python\Python310\lib\site-packages\pyppeteer\frame_manager.py", line 855, in __await__
raise result
pyppeteer.errors.TimeoutError: Waiting for selector "#freeStart" failed: timeout 1000ms exceeds.
Wait a bit before trying again, works for me.
Failed to clear temporary files... killing previous instances.
Killing process msedgewebview2.exe...
Killing process msedgewebview2.exe...
Killed previous instances successfully!
Failed to clear temporary files... killing previous instances.
Killed previous instances successfully!
Retrying mail.tm account generation...
Retrying mail.tm account generation...
Registered account successfully!
Retrieved mail successfully!
Found mail!
Traceback (most recent call last):
File "C:\Users\Dogan\Desktop\py_mega_account_generator-master\main.py", line 138, in <module>
asyncio.run(register(asyncio.run(generate_mail())))
File "C:\Users\Dogan\AppData\Local\Programs\Python\Python310\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "C:\Users\Dogan\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 641, in run_until_complete
return future.result()
File "C:\Users\Dogan\Desktop\py_mega_account_generator-master\main.py", line 76, in register
await initial_setup(context, message, credentials)
File "C:\Users\Dogan\Desktop\py_mega_account_generator-master\utilities\web.py", line 43, in initial_setup
await confirm_page.waitForSelector("#freeStart", timeout=1000)
File "C:\Users\Dogan\AppData\Local\Programs\Python\Python310\lib\site-packages\pyppeteer\frame_manager.py", line 855, in __await__
raise result
pyppeteer.errors.TimeoutError: Waiting for selector "#freeStart" failed: timeout 1000ms exceeds.
Could it be because I use Brave browser or could it be because I uninstalled Edge?
Try going into task manager and stopping the browser process, if you have a settings.json
file, then send a screenshot of it here.
settings.json is not available anywhere, neither in the program nor in the browser. I also stopped all browser processes from the task manager.
Update to the newest version by either using git pull
if you have git installed or download the repository again.
Thanks for the update. I'm trying it now.
Nothing changed . ๐ญ
I've tested this exact problem several times and this should have fixed it. I guess you can try using a different browser and then set up the config.json
file as follows:
{"executablePath": "PATH_TO_CHROMIUM_EXEC\EXECUTABLE_NAME.exe"}
I hope it works.I've been trying to do this for 5 hours.
I tried with Chrome and still doesn't work.
I also tried Microsoft edge , didn't work.
This is very strange, I have handled the error properly in the code, and yet it's still popping up? Make sure that in the config.json file your path includes the .exe, with Edge it should end with msedge.exe
, Chrome chrome.exe
and so on.
I did it like you said.
Can you do something with this program ? https://pypi.org/project/auto-py-to-exe/#description
I tried to use it and it gives an error. (While packaging is in progress.)
This wouldn't fix the problem. I'll work on packaging the script into an exe later once it's in a more stable state
I tried it on another computer and got the same error again.
Can you make a video of how you start it?
(From the beginning)
same issue here, have i got to make a config.json file btw?
same issue here, have i got to make a config.json file btw?
Creating the file doesn't change anything.
Were you able to run other software like this?
Haven't tried, however ive tried making the timeout longer, ill letr you know if it works.
Works! Go into web.py in services, then change the timeout from 1000 - 10000
๐๐OwO๐๐
This might be an oversight on my part with internet speeds, the page should load within 10 seconds, but running on slower internet connections might take longer. Thanks for the PR @DogancanYr!
Actually my internet is fast but I don't know why it's loading slowly .Then creates accounts quickly .
If you want you can edit your main.py and change the headless
option to False
and see if you can spot why this might happen :p
Really nice settings. I didn't know such settings existed.
When I do it, it waits for a very short short time in the recovery key section.