Aternos-On-Discord icon indicating copy to clipboard operation
Aternos-On-Discord copied to clipboard

[Bug] [--launch] - Element <div id="start" class="btn btn-huge btn-success">...</div> is not clickable at point (388, 396).

Open Aeris1One opened this issue 3 years ago • 4 comments

Some logs at first

Ignoring exception in command launch:
Traceback (most recent call last):
  File "/home/ubuntu/.local/lib/python3.8/site-packages/discord/ext/commands/core.py", line 85, in wrapped
    ret = await coro(*args, **kwargs)
  File "Bot.py", line 70, in launch
    await start_server()
  File "/home/ubuntu/Aternos-On-Discord/connect_and_launch.py", line 36, in start_server
    element.click()
  File "/home/ubuntu/.local/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 80, in click
    self._execute(Command.CLICK_ELEMENT)
  File "/home/ubuntu/.local/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 633, in _execute
    return self._parent.execute(command, params)
  File "/home/ubuntu/.local/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
    self.error_handler.check_response(response)
  File "/home/ubuntu/.local/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.ElementClickInterceptedException: Message: element click intercepted: Element <div id="start" class="btn btn-huge btn-success">...</div> is not clickable at point (388, 396). Other element would receive the click: <div class="sn-footer-tab">...</div>
  (Session info: headless chrome=89.0.4389.72)


The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/ubuntu/.local/lib/python3.8/site-packages/discord/ext/commands/bot.py", line 902, in invoke
    await ctx.command.invoke(ctx)
  File "/home/ubuntu/.local/lib/python3.8/site-packages/discord/ext/commands/core.py", line 864, in invoke
    await injected(*ctx.args, **ctx.kwargs)
  File "/home/ubuntu/.local/lib/python3.8/site-packages/discord/ext/commands/core.py", line 94, in wrapped
    raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: ElementClickInterceptedException: Message: element click intercepted: Element <div id="start" class="btn btn-huge btn-success">...</div> is not clickable at point (388, 396). Other element would receive the click: <div class="sn-footer-tab">...</div>
  (Session info: headless chrome=89.0.4389.72)

Context

Installed the bot on a RPi 4B 8Gb (with Ubuntu 20.04 LTS), worked since --launch which throw the error above.

Aeris1One avatar Mar 06 '21 16:03 Aeris1One

If it's the first time your logging into this account, you may need to go in manually and accept the TOS agreement.

Does this happen all the time or only after a while of the bot being on? Found that this happens to me after a few days of the bot being online, due to the browser crashing. A quick restart fixes it for me.

brandonnly avatar Mar 07 '21 18:03 brandonnly

The account already accepted TOS on my computer, does they needs to be accepted on each browser connecting to the account? It was the first time running the bot, will have another try

Aeris1One avatar Mar 08 '21 18:03 Aeris1One

Not entirely sure when it happens TBH, haven't been able to get it to pop up for myself so I can't fix it.

brandonnly avatar Mar 08 '21 18:03 brandonnly

please once check my project on this https://github.com/pritam20ps05/mcscraper it works pretty well and works 98% of the time my server personally uses it.

pritam20ps05 avatar Feb 06 '22 05:02 pritam20ps05