Old Rank Management Centre HELP (Railway NOT heroku)

Hello. I am using your old rank management centre tutorial, but it seems that it doesn’t rank. I get the error below. It still lets me do everything else such as check group member counts and stuff, its just the ranking. The bots fine and my cousin is having the same issue on his end.

(I’m using Railway, not Heroku)

Well the internal server error, implies that there is a server error, are there any railway logs you can give us?

Sure! Here you go:
(I’m showing the logs which are generated when I double click to rank)

INFO:     10.10.10.4:56978 - "GET /group/rank/?user_name=CameiGrinding1&key=CameiRanking&groupid=12540673&role_number=243 HTTP/1.1" 500 Internal Server Error
ERROR:    Exception in ASGI application
Traceback (most recent call last):
File "/opt/venv/lib/python3.8/site-packages/uvicorn/protocols/http/h11_impl.py", line 369, in run_asgi
result = await app(self.scope, self.receive, self.send)
File "/opt/venv/lib/python3.8/site-packages/uvicorn/middleware/proxy_headers.py", line 59, in __call__
return await self.app(scope, receive, send)
File "/opt/venv/lib/python3.8/site-packages/fastapi/applications.py", line 199, in __call__
await super().__call__(scope, receive, send)
File "/opt/venv/lib/python3.8/site-packages/starlette/applications.py", line 112, in __call__
await self.middleware_stack(scope, receive, send)
File "/opt/venv/lib/python3.8/site-packages/starlette/middleware/errors.py", line 181, in __call__
raise exc from None
File "/opt/venv/lib/python3.8/site-packages/starlette/middleware/errors.py", line 159, in __call__
await self.app(scope, receive, _send)
File "/opt/venv/lib/python3.8/site-packages/starlette/exceptions.py", line 82, in __call__
raise exc from None
File "/opt/venv/lib/python3.8/site-packages/starlette/exceptions.py", line 71, in __call__
await self.app(scope, receive, sender)
File "/opt/venv/lib/python3.8/site-packages/starlette/routing.py", line 580, in __call__
await route.handle(scope, receive, send)
File "/opt/venv/lib/python3.8/site-packages/starlette/routing.py", line 241, in handle
await self.app(scope, receive, send)
File "/opt/venv/lib/python3.8/site-packages/starlette/routing.py", line 52, in app
response = await func(request)
File "/opt/venv/lib/python3.8/site-packages/fastapi/routing.py", line 214, in app
raw_response = await run_endpoint_function(
File "/opt/venv/lib/python3.8/site-packages/fastapi/routing.py", line 149, in run_endpoint_function
return await dependant.call(**values)
File "/app/./main.py", line 46, in read_items
target = await group.get_member_by_username(user_name)
File "/opt/venv/lib/python3.8/site-packages/ro_py/groups.py", line 275, in get_member_by_username
user = await self.cso.client.get_user_by_username(name)
File "/opt/venv/lib/python3.8/site-packages/ro_py/client.py", line 131, in get_user_by_username
raise UserDoesNotExistError
ro_py.utilities.errors.UserDoesNotExistError
INFO:     10.10.10.4:56984 - "GET /group/rank/?user_name=CameiGrinding1&key=CameiRanking&groupid=12540673&role_number=243 HTTP/1.1" 500 Internal Server Error
ERROR:    Exception in ASGI application
Traceback (most recent call last):

Do you have a requirements.txt file?

Yes, I do. I have the exact github files as you did, except I obviously modified the cookie and api key.

It says here that the module is not downloaded.

May I ask which module?

Actually no, I missread this it, says that the user your looking up doesn’t exist?

Weird. The user exists, and its even in the group as well.

Is this specifically a workspace environment?

Strange, this package is the outdated version now, so it could be broken

Nope, I’ve tried updating all the packages as well.

How did you attempt to do this?

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.