python-aternos icon indicating copy to clipboard operation
python-aternos copied to clipboard

ServerStartError

Open GiveMeFox opened this issue 2 years ago • 3 comments

Traceback (most recent call last):
  File "/home/sadperson/tests/aternos/main.py", line 8, in <module>
    server.start()
  File "/home/sadperson/.local/lib/python3.11/site-packages/python_aternos/atserver.py", line 161, in start
    raise ServerStartError(error)
python_aternos.aterrors.ServerStartError: ('Sorry, an error occured!', 'Unable to start server, code: Sorry, an error occured!')

GiveMeFox avatar Jun 02 '23 16:06 GiveMeFox

you might have to enable the eula prompt first, I fixed mine by starting the server in the aternos website and accepted eula prompt. This happens when its a new server

Supslike avatar Jun 03 '23 06:06 Supslike

you might have to enable the eula prompt first, I fixed mine by starting the server in the aternos website and accepted eula prompt. This happens when its a new server

@Supslike, oh, thanks, I'll check it and fix EULA auto-accepting.

@GiveMeFox, execute server.eula() before starting.

DarkCat09 avatar Jun 03 '23 06:06 DarkCat09

weird my account got disabled but i think i run this only 3 times is it because i didnt accept the eula?

aternos.login('username', 'pass')
servers = aternos.account.list_servers()
server = servers[0]
server.start()

GiveMeFox avatar Jun 03 '23 17:06 GiveMeFox