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

error(log included #17

Open
PrayandFlay opened this issue Jul 18, 2018 · 2 comments
Open

error(log included #17

PrayandFlay opened this issue Jul 18, 2018 · 2 comments

Comments

@PrayandFlay
Copy link

Traceback (most recent call last):
File "give_it_away_now.py", line 18, in
asyncio.get_event_loop().run_until_complete(main())
File "C:\Users\wwenz\AppData\Local\Programs\Python\Python36\lib\asyncio\base_events.py", line 468, in run_until_complete
return future.result()
File "give_it_away_now.py", line 16, in main
await do_ga_workflow(ga_page)
File "give_it_away_now.py", line 12, in do_ga_workflow
await ga_bot.process_giveaways(page)
File "c:\amazong\lib\giveaway.py", line 229, in process_giveaways
await self.no_req_giveaways()
File "c:\amazong\lib\giveaway.py", line 158, in no_req_giveaways
await self.display_ga_result(prize_page)
File "c:\amazong\lib\giveaway.py", line 103, in display_ga_result
await prize_page.waitForSelector('.qa-giveaway-result-text')
File "C:\Users\wwenz\AppData\Local\Programs\Python\Python36\lib\site-packages\pyppeteer\frame_manager.py", line 796, in await
yield from self.promise
pyppeteer.errors.TimeoutError: Waiting failed: timeout 30000ms exceeds.

@Thaborak
Copy link

Had the same issue

@sniffingpickles
Copy link

This is because it's getting to the page, and doesn't have an if/else statement for that situation; normally a "giveaway has ended", so just add that to the "check if entered giveaway" function. Then, if it does it again, do it for the next one.

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