Advertisement
basedcount_bot

RequestException: error with request

Dec 16th, 2024
54
0
2 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 3.10 KB | None | 0 0
  1. Traceback (most recent call last):
  2.   File "/home/gmktec/Programming/Bots/basedcount_bot/basedcount_bot.py", line 46, in wrapper
  3.     await func(reddit_instance, mongo_client)
  4.   File "/home/gmktec/Programming/Bots/basedcount_bot/basedcount_bot.py", line 123, in check_mail
  5.     async for message in reddit_instance.inbox.unread(limit=None):  # Message
  6.   File "/home/gmktec/Programming/Bots/basedcount_bot/.venv/lib/python3.11/site-packages/asyncpraw/models/listing/generator.py", line 37, in __anext__
  7.     await self._next_batch()
  8.   File "/home/gmktec/Programming/Bots/basedcount_bot/.venv/lib/python3.11/site-packages/asyncpraw/models/listing/generator.py", line 90, in _next_batch
  9.     self._listing = await self._reddit.get(self.url, params=self.params)
  10.                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  11.   File "/home/gmktec/Programming/Bots/basedcount_bot/.venv/lib/python3.11/site-packages/asyncpraw/util/deprecate_args.py", line 54, in wrapped
  12.     return await _wrapper(*args, **kwargs)
  13.            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  14.   File "/home/gmktec/Programming/Bots/basedcount_bot/.venv/lib/python3.11/site-packages/asyncpraw/reddit.py", line 813, in get
  15.     return await self._objectify_request(method="GET", params=params, path=path)
  16.            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  17.   File "/home/gmktec/Programming/Bots/basedcount_bot/.venv/lib/python3.11/site-packages/asyncpraw/reddit.py", line 570, in _objectify_request
  18.     await self.request(
  19.   File "/home/gmktec/Programming/Bots/basedcount_bot/.venv/lib/python3.11/site-packages/asyncpraw/util/deprecate_args.py", line 54, in wrapped
  20.     return await _wrapper(*args, **kwargs)
  21.            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  22.   File "/home/gmktec/Programming/Bots/basedcount_bot/.venv/lib/python3.11/site-packages/asyncpraw/reddit.py", line 1061, in request
  23.     return await self._core.request(
  24.            ^^^^^^^^^^^^^^^^^^^^^^^^^
  25.   File "/home/gmktec/Programming/Bots/basedcount_bot/.venv/lib/python3.11/site-packages/asyncprawcore/sessions.py", line 383, in request
  26.     return await self._request_with_retries(
  27.            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  28.   File "/home/gmktec/Programming/Bots/basedcount_bot/.venv/lib/python3.11/site-packages/asyncprawcore/sessions.py", line 286, in _request_with_retries
  29.     response, saved_exception = await self._make_request(
  30.                                 ^^^^^^^^^^^^^^^^^^^^^^^^^
  31.   File "/home/gmktec/Programming/Bots/basedcount_bot/.venv/lib/python3.11/site-packages/asyncprawcore/sessions.py", line 192, in _make_request
  32.     response = await self._rate_limiter.call(
  33.                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  34.   File "/home/gmktec/Programming/Bots/basedcount_bot/.venv/lib/python3.11/site-packages/asyncprawcore/rate_limit.py", line 51, in call
  35.     response = await request_function(*args, **kwargs)
  36.                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  37.   File "/home/gmktec/Programming/Bots/basedcount_bot/.venv/lib/python3.11/site-packages/asyncprawcore/requestor.py", line 80, in request
  38.     raise RequestException(exc, args, kwargs) from None
  39. asyncprawcore.exceptions.RequestException: error with request
  40.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement