Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Traceback (most recent call last):
- File "/home/gmktec/Programming/Bots/basedcount_bot/basedcount_bot.py", line 46, in wrapper
- await func(reddit_instance, mongo_client)
- File "/home/gmktec/Programming/Bots/basedcount_bot/basedcount_bot.py", line 263, in read_comments
- async for comment in pcm_subreddit.stream.comments(skip_existing=True): # Comment
- File "/home/gmktec/Programming/Bots/basedcount_bot/.venv/lib/python3.10/site-packages/asyncpraw/models/util.py", line 160, in stream_generator
- [result async for result in function(limit=limit, **function_kwargs)]
- File "/home/gmktec/Programming/Bots/basedcount_bot/.venv/lib/python3.10/site-packages/asyncpraw/models/util.py", line 160, in <listcomp>
- [result async for result in function(limit=limit, **function_kwargs)]
- File "/home/gmktec/Programming/Bots/basedcount_bot/.venv/lib/python3.10/site-packages/asyncpraw/models/listing/generator.py", line 34, in __anext__
- await self._next_batch()
- File "/home/gmktec/Programming/Bots/basedcount_bot/.venv/lib/python3.10/site-packages/asyncpraw/models/listing/generator.py", line 89, in _next_batch
- self._listing = await self._reddit.get(self.url, params=self.params)
- File "/home/gmktec/Programming/Bots/basedcount_bot/.venv/lib/python3.10/site-packages/asyncpraw/util/deprecate_args.py", line 51, in wrapped
- return await _wrapper(*args, **kwargs)
- File "/home/gmktec/Programming/Bots/basedcount_bot/.venv/lib/python3.10/site-packages/asyncpraw/reddit.py", line 785, in get
- return await self._objectify_request(method="GET", params=params, path=path)
- File "/home/gmktec/Programming/Bots/basedcount_bot/.venv/lib/python3.10/site-packages/asyncpraw/reddit.py", line 567, in _objectify_request
- await self.request(
- File "/home/gmktec/Programming/Bots/basedcount_bot/.venv/lib/python3.10/site-packages/asyncpraw/util/deprecate_args.py", line 51, in wrapped
- return await _wrapper(*args, **kwargs)
- File "/home/gmktec/Programming/Bots/basedcount_bot/.venv/lib/python3.10/site-packages/asyncpraw/reddit.py", line 1032, in request
- return await self._core.request(
- File "/home/gmktec/Programming/Bots/basedcount_bot/.venv/lib/python3.10/site-packages/asyncprawcore/sessions.py", line 383, in request
- return await self._request_with_retries(
- File "/home/gmktec/Programming/Bots/basedcount_bot/.venv/lib/python3.10/site-packages/asyncprawcore/sessions.py", line 286, in _request_with_retries
- response, saved_exception = await self._make_request(
- File "/home/gmktec/Programming/Bots/basedcount_bot/.venv/lib/python3.10/site-packages/asyncprawcore/sessions.py", line 192, in _make_request
- response = await self._rate_limiter.call(
- File "/home/gmktec/Programming/Bots/basedcount_bot/.venv/lib/python3.10/site-packages/asyncprawcore/rate_limit.py", line 51, in call
- response = await request_function(*args, **kwargs)
- File "/home/gmktec/Programming/Bots/basedcount_bot/.venv/lib/python3.10/site-packages/asyncprawcore/requestor.py", line 80, in request
- raise RequestException(exc, args, kwargs) from None
- asyncprawcore.exceptions.RequestException: error with request [Errno 104] Connection reset by peer
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement