You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! I was working with your library and encountred such error:
Traceback (most recent call last):
File "/app/src/updater.py", line 82, in update_server
serverObj = await c.ARKServer(ip).AGetInfo() # get info about server
File "/app/src/classes.py", line 37, in AGetInfo
server = await a2s.ainfo((self.address,self.port)) # get server data
File "/usr/local/lib/python3.7/site-packages/a2s/info.py", line 277, in ainfo
resp_data = await conn.request(b"\x54Source Engine Query\0")
File "/usr/local/lib/python3.7/site-packages/a2s/a2sasync.py", line 92, in request
return await self.recv()
File "/usr/local/lib/python3.7/site-packages/a2s/a2sasync.py", line 84, in recv
self.protocol.raise_on_error()
TypeError: raise_on_error() takes 0 positional arguments but 1 was given
You can find code here (ARKServer.AGetInfo() and PlayersList.AgetPlayersList()). But sadly I couldn't reproduce that error on my computer so maybe it is affected by how many request I send (I update info about servers every 30 seconds or so)
The text was updated successfully, but these errors were encountered:
I found that in raise_on_error you forgot to add self as first parameter of class function. I tested it and it works well on test stand but I will test it on my production before submitting pull request
Hello! I was working with your library and encountred such error:
You can find code here (ARKServer.AGetInfo() and PlayersList.AgetPlayersList()). But sadly I couldn't reproduce that error on my computer so maybe it is affected by how many request I send (I update info about servers every 30 seconds or so)
The text was updated successfully, but these errors were encountered: