JasonYuan869 / AutoWaifuClaimerV3

Automatically claims from the Discord Mudae bot.
MIT License
41 stars 39 forks source link

I keep getting this error #19

Open FunkyJustin opened 2 years ago

FunkyJustin commented 2 years ago

I can't for the life of me figure it out myself, being a tech noob. I tried the solutions provided under https://github.com/RandomBananazz/AutoWaifuClaimerV3/issues/14 but it's still refusing the function properly.

Ignoring exception in on_ready
Traceback (most recent call last):
  File "D:/Compressed/AutoWaifuClaimerV3-3/bot.py", line 133, in on_ready
    await client.wait_for('message', check=parse_tu, timeout=3)
  File "C:\Users\sabio\AppData\Local\Programs\Python\Python38-32\lib\asyncio\tasks.py", line 490, in wait_for
    raise exceptions.TimeoutError()
asyncio.exceptions.TimeoutError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\sabio\AppData\Local\Programs\Python\Python38-32\lib\site-packages\discord\client.py", line 343, in _run_event
    await coro(*args, **kwargs)
  File "D:/Compressed/AutoWaifuClaimerV3-3/bot.py", line 137, in on_ready
    await close_bot()
  File "D:/Compressed/AutoWaifuClaimerV3-3/bot.py", line 67, in close_bot
    client.loop.close()
  File "C:\Users\sabio\AppData\Local\Programs\Python\Python38-32\lib\asyncio\proactor_events.py", line 674, in close
    raise RuntimeError("Cannot close a running event loop")
RuntimeError: Cannot close a running event loop
Traceback (most recent call last):
  File "D:/Compressed/AutoWaifuClaimerV3-3/bot.py", line 288, in <module>
    browser.close()
  File "D:\Compressed\AutoWaifuClaimerV3-3\browsers.py", line 161, in close
    self.driver.close()
  File "C:\Users\sabio\AppData\Local\Programs\Python\Python38-32\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 937, in close
    self.execute(Command.CLOSE)
  File "C:\Users\sabio\AppData\Local\Programs\Python\Python38-32\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 424, in execute
    self.error_handler.check_response(response)
  File "C:\Users\sabio\AppData\Local\Programs\Python\Python38-32\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 247, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.InvalidSessionIdException: Message: Tried to run command without establishing a connection

2022-01-03 20:57:46,797 - browsers - INFO - Sending text: $tu

Process finished with exit code 1