Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception in task ProblemsetCacheUpdate #439

Open
vivekramnani opened this issue Jan 26, 2021 · 0 comments
Open

Exception in task ProblemsetCacheUpdate #439

vivekramnani opened this issue Jan 26, 2021 · 0 comments

Comments

@vivekramnani
Copy link

After setting up the bot successfully using the given instructions, the bot was running but since the past few days it doesn't work

Upon running the run.sh file, I see the following log in the discord channel:

26-01-2021 12:18:13:WARNING:Task:Exception in task ProblemsetCacheUpdate, ignoring.
Traceback (most recent call last):
File "/home/ubuntu/TLE/tle/util/tasks.py", line 161, in _execute_func
await self.func(self.instance, arg)
File "/home/ubuntu/TLE/tle/cogs/cses.py", line 32, in _cache_data
await self._reload()
File "/home/ubuntu/TLE/tle/cogs/cses.py", line 40, in _reload
fast, short = await cses.get_problem_leaderboard(pid)
File "/home/ubuntu/TLE/tle/util/cses_scraper.py", line 30, in get_problem_leaderboard
tree = await _fetch(f'https://cses.fi/problemset/stats/%7Bnum%7D/%27)
File "/home/ubuntu/TLE/tle/util/cses_scraper.py", line 15, in _fetch
async with session.get(url) as response:
File "/home/ubuntu/.cache/pypoetry/virtualenvs/tle-OW8azPf2-py3.8/lib/python3.8/site-packages/aiohttp/client.py", line 1012, in aenter
self._resp = await self._coro
File "/home/ubuntu/.cache/pypoetry/virtualenvs/tle-OW8azPf2-py3.8/lib/python3.8/site-packages/aiohttp/client.py", line 504, in _request
await resp.start(conn)
File "/home/ubuntu/.cache/pypoetry/virtualenvs/tle-OW8azPf2-py3.8/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 847, in start
message, payload = await self._protocol.read() # type: ignore # noqa
File "/home/ubuntu/.cache/pypoetry/virtualenvs/tle-OW8azPf2-py3.8/lib/python3.8/site-packages/aiohttp/streams.py", line 591, in read
await self._waiter
aiohttp.client_exceptions.ServerDisconnectedError

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant